On Sun, Mar 15, 2015 at 11:10 PM, Brandon Vincent
On Sun, Mar 15, 2015 at 9:48 PM, Chris Murphy
wrote: Your 512e drive is in a USB enclosure I take it? I'm going to guess that there's something about the bridge chipset that's confusing the kernel, whereas hdparm and smartctl get this information directly (by using SCT commands to query the drive).
Yes. Those USB enclosures can be frustrating.
Mine is a cheapie $5 PUREX. It reports 4096 byte physical sector as 512 bytes. But smartctl works as does hdparm, which is an improvement over a previous $40 enclosure which got all of this stuff wrong (but it could maybe take a bullet, or at least a car could run over it).
Usually I see 512e drives show up with a physical/logical sector size of 512 bytes. Some of them actually report a 4 KiB physical/logical sector size when you connect large capacity drive, to permit using an MBR partitioning to address a drive over 2 TiB on certain proprietary operating systems.
Yeah, what a bad hack. If the drive is removed and directly attached, it's no longer readable. They should just report what the drive reports. -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org