xfs
[Top] [All Lists]

Re: What are the correct mkfs.xfs parameters for a lying WD-EARS HDD?

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: What are the correct mkfs.xfs parameters for a lying WD-EARS HDD?
From: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>
Date: Mon, 08 Mar 2010 18:55:55 -0500
Cc: Matthias Schniedermeyer <ms@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <4B957E03.9090000@xxxxxxxxxxx> (Eric Sandeen's message of "Mon, 08 Mar 2010 16:45:23 -0600")
Organization: Oracle
References: <20100308221044.GA17830@xxxxxxx> <4B957E03.9090000@xxxxxxxxxxx>
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
>>>>> "Eric" == Eric Sandeen <sandeen@xxxxxxxxxxx> writes:

Eric> Make sure your partitions, if any, are on 4k boundaries.(*) older
Eric> fdisk at least won't do this by default, not sure about parted.

You can use the expert mode in fdisk to ensure that the partition begins
on a 4KB boundary.


Eric> (*)unless the drive has an offset to make 512-sector 63 line up on
Eric> a nice boundary... in which case I guess you could experiment with
Eric> perf both ways to be sure...

EARS is the one that's lying about the physical block size.  It's
zero-aligned unless somebody messed with the jumper.

-- 
Martin K. Petersen      Oracle Linux Engineering

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