xfs
[Top] [All Lists]

Re: Advanced Format drive - sectsz question

To: Zdenek Kaspar <zkaspar82@xxxxxxxxx>
Subject: Re: Advanced Format drive - sectsz question
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 14 Oct 2011 09:20:19 -0400
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <j783rh$gn7$1@xxxxxxxxxxxxxxx>
References: <j783rh$gn7$1@xxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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.

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