How to reformat HDD & SSD to 512B Sector Size

error00242

New Member
Mar 19, 2020
4
0
1
I've tried that method though. It seems that its not working as well... my SSD drives are PM1633a Samsung.

UPDATE : -
Apparently, when I tried to run sg_sanitize --overwrite --zero /dev/sg1
The failed message was " Sanitize failed: Data Protect"

I'm not sure if it's because previously I did this "Secure erase, cryptographic erase" with my dell server. Therefore it has some kind of encryption? ....my drives are all SEDs, however when I tried using the sedutil, my drive wasn't detected...
Need some help here.
Thanks!
 
Last edited:

Erokitsune

New Member
Mar 9, 2020
2
0
1
I was able to do it through freenas with the camcontrol cmd when sg_utils didn't work. I have the drives in a zfs pool now and works just fine.
 

Jason Antes

Member
Feb 28, 2020
62
17
8
Twin Cities
When I had a couple get locked up like that I had to get the manufacture's utilities to force it out of that state. Seagate had them available for download, don't know about others.
 

Fritz

Well-Known Member
Apr 6, 2015
2,080
457
83
66
Just wanted to say thanks to all you peeps. I bought a 900GB 2.5 SAS HITACHI HCBRE0900GBAS10K off eBay that was 520 bytes. I had no idea how to proceed until I stumbled upon this thread using Google (LOL). Got the drive functioning normally and am copying data to it as I type. :)
 

Milos

New Member
Feb 22, 2018
21
1
3
Black hole with internet
Hello , just to be sure after reading this post
IBM 600GB 2.5“ 10K 6G SAS HDD 45W7734 for DS8000 Storage
can be used in Dell R520 an HP dl360 G6 server after you format them in 512 bytes using metods in first posts?
Sorry for asking,
I need to be sure before buying since there are 24 pieces in the package.


Thanks
 

i386

Well-Known Member
Mar 18, 2016
1,935
504
113
31
Germany
I tried sg3_utils on windows and could succesfully format 4x HUSMM8020ASS200 (oem branded, probably netapp) from 512 to 4096 byte logical block size.

I put them in a hardware raid 10 and 5 for testing and so far they work without problems.
 
  • Like
Reactions: Fritz

BlackCrow

New Member
May 18, 2020
1
0
1
My server HPDL380p with 2 array controllers p420i and p420, the p420i came in the server and is hosting 6 drives, I had 2 available slots, then I added an additional drive bay for 8 more drives, and added the second controller. I got everything in, installed everything, the card is recognized, but when I go to the array controller during bootup, neither one sees any of the NETAPP drives.

I can't format what I can't see... Again, the original card is running 6 drives that came with my server, and when I add 2 additional drives, they are not recognized. and the second card, and all 8 drives are also not seen by the array controllers... Got new SAS cables, swapped drives around in different slots, tried additional card in different slot, etc. no joy.

***UPdate***
After Re-Reading this, am I to understand it is the RAID Cards that are restricting my ability to see the drives? I need to get a non-raid HBA card to do this format, then could go back to the HP cards if I desired?
 
Last edited:

i386

Well-Known Member
Mar 18, 2016
1,935
504
113
31
Germany
I used an adaptec raid controller (3162-8i) in hybrid mode under windows for formatting some oem hgst ssds.
 

Tourman

New Member
Nov 24, 2016
21
17
3
38
You can switch one of the P420 controllers to HBA mode to reformat these disks. Depending on your OS, Smart Storage Administrator CLI (ssacli) is your friend.
P420 has performance issues under HBA mode, and at least with HP firmware, you can't boot off drives attached to it if it's in HBA mode as well. It's a shitty limitations.
 

lte

Member
Apr 13, 2020
42
17
8
DE
it works nicely with the LSI2008 and LSI2308 Controllers, didn't had luck with my ASR71605.
Some drives after successfully completing the reformatting, automatically appear in the disks section with their capacity, other however report "No Media". Any idea what to change to fix this?
 

_root

New Member
Jun 7, 2020
3
0
1
same problem with Micron P400m (EMC firmware) :(
I tried any tools that you guys mentioned in this topic, but no Success
any suggestion?
 

Fritz

Well-Known Member
Apr 6, 2015
2,080
457
83
66
And another thanks. I was able to root out the proper Windows command from this thread. Couldn't find it anywhere on the web via Google. Without the proper syntax, a command line utility is useless. :confused:
 
  • Like
Reactions: _root

_root

New Member
Jun 7, 2020
3
0
1
And another thanks. I was able to root out the proper Windows command from this thread. Couldn't find it anywhere on the web via Google. Without the proper syntax, a command line utility is useless. :confused:
which one plz?
 

lian

New Member
Nov 14, 2016
4
0
1
30
Hi, i have DKS5E-J600SS SAS 600GB 2.5 ST600MM006 - Seagate already formatted with 512b, but they drop from my array as soon as I try to format them... I wonder if they were 520b before.. Can't format under Windows with Disk Management I/O ERROR ? Do you have solutions?
 
Last edited:

Fritz

Well-Known Member
Apr 6, 2015
2,080
457
83
66
Hi, i have DKS5E-J600SS SAS 600GB 2.5 ST600MM006 - Seagate already formatted with 512b, but they drop from my array as soon as I try to format them... I wonder if they were 520b before.. Can't format under Windows with Disk Management I/O ERROR ? Do you have solutions?
Sounds like it's not formatted to 512b.

Admin command prompt -

sg_scan.exe (Make not of the PD # of offending disk then)

sg_format.exe --format --size=512 PD# (# = whatever the PD of the disk is)
 

lian

New Member
Nov 14, 2016
4
0
1
30
Hi, disk is reformatted to 512b, size is 600GB, can read, but the writes on the disk gives errors?
 

itronin

Active Member
Nov 24, 2018
376
232
43
Denver, Colorado
Hi, i have DKS5E-J600SS SAS 600GB 2.5 ST600MM006 - Seagate already formatted with 512b, but they drop from my array as soon as I try to format them... I wonder if they were 520b before.. Can't format under Windows with Disk Management I/O ERROR ? Do you have solutions?
you may want to take a look at this thread and especially the last few posts. The drive model number smells suspiciously of Hitachi VSP'ness. The symptoms you describe are consistent with trying to reuse a drive loaded with VSP firmware.