Killed hdd with shred and dd
Hey everyone I was messing around with secure erases and such on my data drive to learn about secure erase. First, Istarted to shred one of the partitions -not so suprisingly- it would take a while so gave up and thought myself that feeding it from urandom via dd would be way faster. So I did but dd showed no progress. I rebooted and bam the disk and partitions etc. were looked destroyed so i had to remove the disk from fstab ( use your nofail boys) to boot again. So everything looked fine but I could not able to partition the disk with fstab, it would get stuck, neither I had zero success writing the disk with zeros dd got stuck. So I thought formatting the disk may solve some issues but mkfs got stuck too. So, anyone have any idea? I can just throw the disk away if it is braindead anyway but saving it would be nice
Edit: I fixed it,the disk was locked so I unlocked it and erased it again. Here are the lessons learnt: Do not use secure-erase on mounted partitions Do not interrupt secure erase
Edited 20 Feb 2021. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 43% up
- Kind
- Text
- ID
- lnrbpp
6 comments
Do you see any errors related to the disk in the kernel log when you try to repartition/-format it?
Kernel logs I always forget about em so I have to check tomorrow. Thanks for your help!
This issue is most likely unrelated to your shredding attempts. Also don't throw the disk away since you've failed to fully erase it.
I wont throw the disk w/o destroying it physically
Secure erase can lock a drive until the erase has been completed. Power up the drive and let it sit for a day or 2, it might come back to life. If you want to check the secure erase status there are commands to do it. Don't remember exactly but the arch wiki should point you in the right direction.
Thanks for your help, I should give it a chance