How to reformat HDD & SSD to 512B Sector Size

Fritz

Well-Known Member
Apr 6, 2015
2,828
861
113
68
Code:
sg_format --format --size=512 pdx
Where x is the drive #. The only time I've had the above fail it turned out to be a bad HD. The format would start then stall out at 4.5%.

EDIT : Also make sure running as administrator.
 

biffa

New Member
Jun 18, 2022
3
0
1
Late to the party here but my initial schoolboy error was not opening my cmd prompt with administrator rights…

Also I could not get it to work on a HP Z840 running Windows 11, but another identical PC running Windows 10 does work so gave up trying to track down the issue since I know it works and just extends the time to get through 24 drives to 4 a day…
 

yemencit

New Member
Jun 17, 2022
24
0
1
I tried. This is command show


Unit serial number: HLK04EEJ0000822150Z3
LU name: 5000c500a181e568
mode sense (10) cdb: [5a 00 01 00 ee de ee de fe ee]
lode Sense (block descriptor) data, prior to changes:
Number of blocks=3637089792 [@xd8c99600]
Block size=528 [0x210]
mode select (10) cdb: [55 11 00 00 00 00 00 de 10 00]
node select (10):
ixed format, current; Sense key: Illegal Request
Idditional sense: Invalid field in parameter list
Field replaceable unit code: 17
Sense Key Specific: Error in Data parameters: byte 13 bit 7
ry MODE SELECT again with SP-@ this time
mode select (10) cob: [55 10 00 00 de de 00 00 1c 00]
ode select (10):
ixed format, current; Sense key: Illegal Request
dditional sense: Invalid field in parameter list
Field replaceable unit code: 17
Sense Key Specific: Error in Data parameters: byte 13 bit 7
ODE SELECT command: Illegal request, type: sense key, apart from Invalid opcode
Code:
sg_format --format --size=512 pdx
Where x is the drive #. The only time I've had the above fail it turned out to be a bad HD. The format would start then stall out at 4.5%.

EDIT : Also make sure running as administrator.
 

yemencit

New Member
Jun 17, 2022
24
0
1
Late to the party here but my initial schoolboy error was not opening my cmd prompt with administrator rights…

Also I could not get it to work on a HP Z840 running Windows 11, but another identical PC running Windows 10 does work so gave up trying to track down the issue since I know it works and just extends the time to get through 24 drives to 4 a day…
I tried with windows 10 seem problem sp=0
 

Fritz

Well-Known Member
Apr 6, 2015
2,828
861
113
68
I'd say next step is to look into flashing the firmware to another flavor. There's a thread on her somewhere dedicated to this topic. It could also be a vendor locked drive in which case we're pissing in the wind.
 
  • Like
Reactions: bandit8623

Fritz

Well-Known Member
Apr 6, 2015
2,828
861
113
68
The board search function and google are your friends. The info you seek isn't hard to find.
 
  • Like
Reactions: bandit8623

Fritz

Well-Known Member
Apr 6, 2015
2,828
861
113
68
I have good news I have Seagate netapp working and format from 520 to 512.
But another model ibm Seagate can’t change scoter from 528 to 512 can help me for this
Thank you
Are you getting an error message?