How to reformat HDD & SSD to 512B Sector Size

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Sharin

New Member
Apr 21, 2022
1
0
3
I executed the command "sg_format -v --format --size=512 da0" on a Huawei storage TOSHIBA AL14SEB090N 520-format 900G SAS hard drive, and after a long wait, I successfully obtained a 512-format usable hard drive. (DELL R730xd with a HBA330)
Although this operation successfully made the 520 hard drive readable and writable, the actual speed is halved.
A normal 10k 900G drive has a throughput of about 200MB/s using dd if=zero of=/dev/da0 bs=1m, while this drive, reformatted using sg_format, shows only 95MB/s in actual performance.
cannot accept a 50% performance loss, so in the end, I could only change it back to 520 format and plan to sell it.
root@mfsbsd:~ # sg_format -v --format --size=520 da0
TOSHIBA AL14SEB090N 080C peripheral_type: disk [0x0]
PROTECT=0
Unit serial number: X870A24SF4PD
LU name: 50000398f82083e1
mode sense(10) cdb: [5a 00 01 00 00 00 00 00 fc 00]
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=1758174768 [0x68cb9e30]
Block size=512 [0x200]
mode select(10) cdb: [55 11 00 00 00 00 00 00 1c 00]

A FORMAT UNIT command will commence in 15 seconds
ALL data on da0 will be DESTROYED
Press control-C to abort

A FORMAT UNIT command will commence in 10 seconds
ALL data on da0 will be DESTROYED
Press control-C to abort

A FORMAT UNIT command will commence in 5 seconds
ALL data on da0 will be DESTROYED
Press control-C to abort
Format unit cdb: [04 18 00 00 00 00]
Format unit command launched without error

Format unit has started
Format unit in progress, 4.50% done
Format unit in progress, 5.09% done
... ...