does XFS support block sizes other than 512 bytes?

Linda A. Walsh xfs at tlinx.org
Tue Jul 28 20:31:41 CDT 2009



Russell Cattelan wrote:
>> But at least 1K might be a reasonable tradeoff?  Been quite a while since
>> I tried it and don't even know if the SAS drives allow it (if they do,
>> I wonder if the newer SATA drives do?)
> Yes
> XFS can support any power of 2 sector size up to the page size of your
> system.
> And it is recommend that on things like raid5 devices that the sector
> size be
> set to the same size as the filesystem block size.
> 
>> thanks more... :-)
>> -linda
---
	Just tried a 146GB-15K Seagate Cheetah SAS.  It didn't like anything other than 512bytes.  Any larger size ended up with a 528 byte sector size which really miffed the linux kernel so bad, it wouldn't expose it as a device
in /dev.  If you don't know mknod and the correct dev num, it would
make for a very interesting time formatting it back down.  ;-)

Do you know what brands might allow resizing?  You say SATA might
allow...just a WAG...but maybe a Seagate SATA might not? ;^)

Also, I wonder what might happen with a HW RAID card -- if it would
deal with 4K block sizes.  It deals with up to 1MB stripe sizes...so
you'd think it'd handle 4K block sizes...???  

Thanks for the fun times so far...;^)






More information about the xfs mailing list