Locked HGST drives: Difference between revisions

520-byte sector changes
(fixed formatting stuffs)
(520-byte sector changes)
 
(2 intermediate revisions by the same user not shown)
This is a very common problem with decommissioned enterprise SAS drives and also typically very easy to fix.
 
All you need is a "true" HBA in the server that is reformatting the disks. Dell PERC cards and HP Smart Array controllers cannot communicate with 520-byte sector disks whatsoever, even when put into "HBA mode".
 
Dell PERC cards and HP Smart Array controllers cannot communicate with 520-byte sector disks whatsoever, even when put into "HBA mode".
The cards inside the [[Servers|Kurisu and Okabe]] servers have been flashed with the "IT mode" firmware, as their PERC cards were old enough to be flashed using [https://fohdeesha.com/docs/perc.html a script]).
 
The cards inside the [[Servers|Kurisu and Okabe]] servers have been flashed with the "IT mode" firmware, as their PERC cards were old enough to be flashed using [https://fohdeesha.com/docs/perc.html a script]).
 
The sector size of a disk can be reformatted to 512 bytes using <code>sg3utils</code> with the command below:
<code>sg_format -v --format --size=512 --six /dev/sgX</code>
 
Of note, formattingneeding to format with the ten-byte variant of <code>MODE SENSE</code>+<code>MODE SELECT</code> (the default) versus the six-byte variant (toggled with <code>--six</code>) will depend on what brand of disk you're using.
 
* Netapp needs ten-byte
* NetappOur needs ten-byte, while ourHGST drives should need six-byte (based on a comment from someone in a ServeTheHome thread, find the link for this)
* We probably won't know for sure until we unlock the firmware ourselves though.
 
== Problem 2: (Hitachi VSP firmware) ==
There is a Russian dude who, for the price of ~$10/drive, will RDP into a Windows environment and flash the drives for you. [https://forum.hddguru.com/viewtopic.php?f=22&t=39927&sid=121a6e12d2d1fdaf816fe00eedac1745]
 
He runs a custom script he made that uses WD Niagara (an internal Western Digital tool intended OEMs for advancedOEMs HDDlike operationsDell/HP) to unlock the drives, then uses Niagara's built-in "firmware download" to flash the firmware.
 
He has uploaded a video of the process to YouTube [https://www.youtube.com/watch?v=mAhS_sk3wKE]
 
So the hardware route is a dead-end :(
 
__FORCETOC__
__NOEDITSECTION__