xfs
[Top] [All Lists]

Re: Advanced Format drive - sectsz question

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Advanced Format drive - sectsz question
From: Zdenek Kaspar <zkaspar82@xxxxxxxxx>
Date: Fri, 14 Oct 2011 16:51:39 +0200
In-reply-to: <20111014132019.GA4711@xxxxxxxxxxxxx>
References: <j783rh$gn7$1@xxxxxxxxxxxxxxx> <20111014132019.GA4711@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
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.

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