this post was submitted on 01 Jul 2023
7 points (100.0% liked)
Linux
1259 readers
83 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Try mounting them. What is the dd command you’re using?
Now, depending on your threat model maybe a drill and a sledgehammer will be enough. If your threat model is rather high and it is really sensitive data, well you’ll have to spend that money if you can’t get zeros written.
dd if=/dev/zero of=/dev/sdf bs=512 status=progress
Yeah. That should do it. There is also a shred tool you could try.
sudo shred -vfz /dev/sdf
You can also write a zero file to see if the drive is useable. That won’t erase what’s on it, but it will write all free space. If you mount the drive and delete everything on it, a zero file will in theory write zeros to the whole drive.
mount /dev/sdf /media dd if=/dev/zero of=/media/zerofile.tmp
I have a similar threat model. If the disks are indeed bad then a nice sledge and a trip to an e-cycle location should do it.