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

Eric Sandeen sandeen at sandeen.net
Mon Mar 8 18:55:45 CST 2010


Martin K. Petersen wrote:
>>>>>> "Eric" == Eric Sandeen <sandeen at sandeen.net> 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.

and use -u to give it sector units ...

> 
> 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.

Ok, that's good.

Thanks Martin!

-Eric




More information about the xfs mailing list