What is a recommended XFS sector size for hybrid (512e) advanced format hard drives?
Chris Murphy
lists at colorremedies.com
Tue Jan 6 13:42:38 CST 2015
On Tue, Jan 6, 2015 at 12:23 PM, Eric Sandeen <sandeen at sandeen.net> wrote:
> 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.
The problem may be that the drive isn't being queried, but rather the
bridge chipset involved. All drives are AF drives in USB 3 enclosures.
But somehow hdparm and smartctl are getting actual drive info from the
drive through this interface; while the kernel appears to be fooled by
bridge.
I don't immediately have a way to directly connect any to SATA. I will
bet dollars to donuts this is what's going on though, because I know
one of these drives when it was connected via SATA was reported by
parted as 512B/4096B but currently it isn't.
--
Chris Murphy
More information about the xfs
mailing list