I want to wipe the HDD with either Secure Erase or KillDisk but I'm concerned the drive will lock if I do that. How can I prevent that from happening?
-
Jump to SECURE ERASE if you want to do a secure erase that recovers write speeds on the SSD. If you want to clean your personal data from the drives, you can use almost any wiping tool or the following command, that does not lock up your SSDs.
Caution! Destroys all data stored at /dev/sdx (replace x with a,b,c,d etc.) by overwriting the entire space with (pseudo-)random numbers. Practically, there is no way to recover your data once the command was executed.Code:time dd if=/dev/urandom of=/dev/[B]sdx[/B]
--------------------------------------------------------
SECURE ERASE
In short: break your RAID and fire up a linux live dist and secure erase each ssd where you will have /dev/sda and /dev/sdb on a dual-ssd setup and sda-sdd on a quad respectively.
You need basic linux knowledge.
Use following commands (short version) or follow the guide here (long version):
With this command you can always check the drive state. Before and after the following safely erase procedure, it should show "not enabled" under "Security". After enabling the security mode (next command), it will show "enabled".Code:hdparm -I /dev/[B]sdx[/B]
this command sets security mode with the password being "password". Replace sdx with the drive that you want to secure erase. Security mode is required for the safe erase action to work.Code:hdparm --user-master u --security-set-pass password /dev/[B]sdx[/B]
Now this is the security erase command that we send to the drive. It should say "Issuing SECURITY_ERASE command". This process should take a few seconds to complete. After the command has finished, the security mode gets disabled and the drive unlocked automatically. You can check that with the first command. Now go on to the next drive until you are done with all. Then rebuild your RAID array in the RST console.Code:time hdparm --user-master u --security-erase password [B]/dev/sdx[/B]
Successfully tested on my 512GB Z11 with Samsung SSDs. Works like a charm. -
for me, i just break the raid setup and then run dban on every drive, but i never got a problem with the drive being locked up?
-
It's HDD not SSD. (Vaio Z from 2008)
-
lovelaptops MY FRIENDS CALL ME JEFF!
Sorry, I don't know the answer - though someone will.
On behalf of my extremely well intended and knowledgeable colleague, Pyro, I offer a resounding: "never mind."
(I thought he meant Z1 too, lol.)
-
cant you unlock the HDD first before wiping?
Secure wipe 1st gen Z HDD without causing drive to lock?
Discussion in 'VAIO / Sony' started by led20719, Dec 8, 2011.