3
  • OS: Debian 12 (Bookworm)
  • HDD: TOSHIBA MG10AFA22TE (SATA)
  • Firmware Revision: 0102

I've tried to change logical sector size of multiple HDDs, but it doesn't work:

hdparm --set-sector-size 4096 --please-destroy-my-drive /dev/sdX

changing sector size configuration to 4096: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 53 e0 01 21 04 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded

After unplugging and reconnecting the HDD it's still 512 bytes:

hdparm -I /dev/sdX | grep -F Sector

        Logical  Sector size:                   512 bytes [ Supported: 512 4096 ]
        Physical Sector size:                  4096 bytes
        Logical Sector-0 offset:                  0 bytes

Any ideas what's going wrong here? The disk is directly connected to the motherboard.

1 Answers1

2

I have the exact same objective and tried this but I get the following error : "Setting sector size not supported on this device" even using "--force" parameter...

After contacting Toshiba support, they gave me access to a tool called "TSBDRV" (I got access to version 13.09c) and I was able to change the logical sector size of my Toshiba MG10F HDDs.

Little tip, when using the tool :

  • from a Windows machine, use the drive number instead of the volume letter as device parameter
  • from a Linux machine, use only "sdX" instead of "/dev/sdX" as device parameter