Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Update: failed, with an error message (run as root): hdparm --set-sector-size 4096 /dev/sd resulted in The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device. READ_LOG_EXT(0,0) failed: Invalid argument READ_LOG_EXT(SECTOR_CONFIGURATION) failed: Unknown error -2. Thoughts?
    – HappyDog
    Commented Nov 6, 2020 at 18:39
  • Sorry, no other ideas. It sounds like it needs a newer kernel than the one you're using Commented Nov 6, 2020 at 18:48
  • Kernel version is Linux 5.4.0-52-generic, which is the latest LTS version, and Ubuntu is 20.04, which is also the latest LTS version. There are later versions of each, but I'm hesitant to upgrade to a non-LTS distro or to mix-and-match kernal and OS.
    – HappyDog
    Commented Nov 6, 2020 at 19:07
  • That odd error just likely means your USB-HD3.5 enclosure isn't passing the commands. So if you want to go down this road you better try to figure out what usb bridge it employs (the smartmontools guys are pretty crafty in figuring out per-controller workarounds) or just temporarily connect your drive to some "native" internal SATA port. But if your disk isn't 4Kn, going through sector translation twice seems just a waste, and I'd rather just rebuild the partition table.
    – mirh
    Commented Jan 13, 2021 at 19:17
  • I've finally found some time to do a bit more digging with this. It turns out that you were right and that the above error was related to the USB drive enclosure. I put the drive inside the machine via a direct SATA connection to the motherboard, and that particular error message resolved itself...
    – HappyDog
    Commented Aug 2, 2021 at 10:52