On Sun, 9 Jul 2006, Nathan Scott wrote:
On Sat, Jul 08, 2006 at 02:21:30PM -0400, Brian Davis wrote:
...
localhost ~ # mkfs.xfs -f -d sunit=128,swidth=256 /dev/sda1
meta-data=/dev/sda1 isize=256 agcount=32, agsize=4578992
blks
= sectsz=512 attr=0
data = bsize=4096 blocks=146527744, imaxpct=25
= sunit=16 swidth=32 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
Why does the output display the sunit=16 and swidth=32 when I wanted it
configured with 128 and 256 respectively? It looks like the output is
displaying the fs block size (4096) rather than 512 blocks specified on
the command line and the man page.
Is this correct?
Thats correct. Odd, isn't it? Dunno why it was done this way (waay
before my time) ... its been like that forever though.
cheers.
--
Nathan
You have to subtract/divide the units by a certain number, the PAGE SIZE
or something, I do not have the docs in front of me but that is why it
converts it, also, I have found mkfs.xfs default options automatically
optimize for the number of drives in the raid (at least with SW raid).
Justin.
|