Advanced Format drive - sectsz question

Zdenek Kaspar zkaspar82 at gmail.com
Fri Oct 14 09:51:39 CDT 2011


Dne 14.10.2011 15:20, Christoph Hellwig napsal(a):
> On Fri, Oct 14, 2011 at 03:38:14AM +0200, Zdenek Kaspar wrote:
>> Hello list, I have hard drive which reports:
>>
>> logical_block_size  ->  512
>> physical_block_size -> 4096
>>
>> Default mkfs.xfs sets sectsz to 512.
>>
>> kernel-2.6.32-131.17.1.el6.x86_64
>> xfsprogs-3.1.1-4.el6.x86_64
>>
>> Is mkfs.xfs -s size=4096 the right way?
> 
> Yes, we probably should default to 4096 bytes sector size for these
> drivers, but still allow 512 byte sector sized filesystems if explicitly
> requested.

Makes sense, thanks for clarification Christoph.




More information about the xfs mailing list