xfs
[Top] [All Lists]

irregular mkfs.xfs results on identical HW

To: xfs@xxxxxxxxxxx
Subject: irregular mkfs.xfs results on identical HW
From: "Gamel Anton J." <anton.gamel@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Sep 2014 22:01:08 +0200
Delivered-to: xfs@xxxxxxxxxxx
Delivery-date: Thu, 25 Sep 2014 22:01:11 +0200
Organization: Universität Freiburg
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
Dear all,

servers with identical disk setup (HW RAID0 H310a):

Disk /dev/sda: 598.9 GB, 598879502336 bytes
/dev/sda1               1       49152   394813439+  82  Linux swap / Solaris
/dev/sda2           49153       50176     8225280   83  Linux
/dev/sda3            6399       72809   533446357+  44  Unknown

mkfs.xfs creates on 28 of them:
meta-data=/dev/sda3              isize=256    agcount=16, agsize=8335099 blks
         =                       sectsz=512   attr=1, projid32bit=0
data     =                       bsize=4096   blocks=133361584, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

but on four out of them:
meta-data=/dev/sda3              isize=256    agcount=4, agsize=33340398 blks
         =                       sectsz=512   attr=2, projid32bit=0
data     =                       bsize=4096   blocks=133361589, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=65117, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

I did not find a way to add mkfs.xfs options to get the identical
filesystem setup on all nodes, e.g.
# mkfs.xfs -d agcount=16 -b size=4096 /dev/sda3 -f
meta-data=/dev/sda3              isize=256    agcount=16, agsize=8335100 blks
         =                       sectsz=512   attr=2, projid32bit=0
data     =                       bsize=4096   blocks=133361589, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=65117, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

The only way it worked was to dump nodeA:/dev/sda3 to nodeB:/dev/sda3
Is there an explanation? May be I missed something ... hints?

Cheers and thanks in advance

Anton


--
Beste Gruesse

Anton J. Gamel

HPC und GRID-Computing
Physikalisches Institut
Abteilung Professor Schumacher

c/o Rechenzentrum der Universität Freiburg
Arbeitsgruppe Dr. Winterer
Hermann-Herder-Straße 10
79104 Freiburg

Tel.: ++49 (0)761 203 -4670

--
Es bleibt immer ein Rest - und ein Rest vom Rest.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>