xfs
[Top] [All Lists]

Re: 4k sector drives

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: 4k sector drives
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 24 Jul 2010 16:07:03 -0500
Cc: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20100724084751.GA32006@xxxxxxxxxxxxx>
References: <201007211333.48363.eye.of.the.8eholder@xxxxxxxxx> <201007230809.28111@xxxxxx> <20100723095832.GA23174@xxxxxxxxxxxxx> <201007231259.11714@xxxxxx> <20100724084751.GA32006@xxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
Christoph Hellwig wrote:
> On Fri, Jul 23, 2010 at 12:59:07PM +0200, Michael Monnerie wrote:
>> On Freitag, 23. Juli 2010 Christoph Hellwig wrote:
>>> -b size=4096 is the default anyway, for 4k sector drivers you also
>>>  want -s size=4096, which you do not want for 512 byte sector disks.
>> Thanks for clarification. Should I use "-s size=4096" despite the drive 
>> saying 512b sectors? It's a "hidden" 4K sector drive, so maybe declaring 
>> it extra for XFS helps performance? Or does it not matter at all?
> 
> If it really is one using -s size=4096 is the right thing to do.

Haven't read the whole thread so maybe this is redundant, but make
sure all partitions (if any) are 4k aligned as well (unless it has
the secret-handshake sector 63 offset...)

-Eric

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