Alignment size?

Michael Tokarev mjt at tls.msk.ru
Mon Aug 16 19:18:28 CDT 2010


13.08.2010 15:39, Dave Chinner wrote:
> On Fri, Aug 13, 2010 at 10:24:46AM +0400, Michael Tokarev wrote:
[]
>> And a related question, -- is there a way to create
>> xfs fs with the right sector size?  The filesystem
>> were ok in years, not only on this machine, and I'm
>> quite afraid to replace it with something else (e.g.
>> ext4) in a hurry without good prior testing.
> 
> # mkfs.xfs -s <size> ....
> 
> if you want to set it manually. YOu shouldn't need to with any
> relatively recent mkfs.xfs...

Um.  It appears that mkfs.xfs ignores -s size=512 on this
raid5 array, and silently creates a filesystem with 4096
sector size, regardless of various -s size=nn and -s log=mm
options.

This is xfsprogs  3.1.2-1 (debian squeeze package).

So the question stands...

Thanks!

/mjt




More information about the xfs mailing list