Skip to content

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.

0 points6 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 43% up
Kind
Text
ID
lnrbpp

Author

1
posts
14
comments
0
media
View profile

6 comments

Do you see any errors related to the disk in the kernel log when you try to repartition/-format it?

2 points

Kernel logs I always forget about em so I have to check tomorrow. Thanks for your help!

1 points

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.

2 points

I wont throw the disk w/o destroying it physically

2 points

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.

2 points

Thanks for your help, I should give it a chance

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.