What is a recommended XFS sector size for hybrid (512e) advanced format hard drives?

Eric Sandeen sandeen at sandeen.net
Tue Jan 6 13:23:42 CST 2015


On 1/6/15 1:05 PM, Chris Murphy wrote:
> On Tue, Jan 6, 2015 at 10:02 AM, Eric Sandeen <sandeen at sandeen.net> wrote:
>> however, some drives lie about these sizes, and then mkfs.xfs can't know.
>> Try the blockdev command above to see.
> 
> blockdev and parted seem to get this wrong for a device for which
> smartctl and hdparm get correct

I don't think they get it wrong, they are just reporting what the
drive says over that interface.

I ... don't actually know where smartctl/hdparm get the values, vs.
the values exported to blockdev.  Is the drive reporting different
values over different query interfaces?  Hrm.

mkfs.xfs uses the same interface as used by blockdev.

-Eric



More information about the xfs mailing list