wipe -q ETA 12w 2d ?!? Why so long?
I've a 1.5 WD Green HD that failed SMART tests, has 21 or so bad sectors and is basically about to die.
I've reformatted it using GPARTED but wanted to wipe it before getting rid of it. It's hooked up via a USB2 ext HD case... but even on a SATA connection, it was labouriously slow. So I've typed sudo wipe -q /dev/sdg1 answered YES and the drive is being wiped... but it's going to take over 12 weeks! Is there a faster way to do this -- I'm even using the -q option for a quick wipe! |
When a drive is failing with SMART, wiping is usually an "indefinite" process.
Instead of wiping, which is unnecessary on modern disks, zero it out: Code:
dd if=/dev/zero of=/dev/whatever Code:
dd if=/dev/urandom of=/dev/whatever |
Thanks... trying the dd command now....
frandom looks faster but installing things into the kernel is somewhat above me... Will stick with the urandom even though its longer. Thanks. |
Anyway, the reason why it's so slow is that the drive is failing.
dd may not be faster, if so try dd_rescue, which ignores block errors and just continues. |
Giving dd_rescue a try with
sudo dd_rescue -v -A -z -M /dev/sdg1 Don't know if I should have added a RandSeed interger after the -z. But after this, I think I'll try taking my torex screwdrivers to it and see what it looks like inside. |
See also Secure Erase:
Quote:
|
Moved: This thread is more suitable in the Linux Software forum (not a security issue) and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 01:22 PM. |