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

Martin K. Petersen martin.petersen at oracle.com
Mon Mar 8 17:55:55 CST 2010


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


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




More information about the xfs mailing list