this post was submitted on 16 Dec 2023
56 points (95.2% liked)

Selfhosted

37923 readers
465 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
56
Proper HDD clear process? (poptalk.scrubbles.tech)
submitted 7 months ago* (last edited 7 months ago) by scrubbles@poptalk.scrubbles.tech to c/selfhosted@lemmy.world
 

Usually my process is very... hammer and drill related - but I have a family member who is interested in taking my latest batch of hard drives after I upgraded.

What are the best (linux) tools for the process? I'd like to run some tests to make sure they're good first and also do a full zero out of any data. (Used to be a raid if that matters)

Edit: Thanks all, process is officially started, will probably run for quite a while. Appreciate the advice!

you are viewing a single comment's thread
view the rest of the comments
[–] MonkderZweite@feddit.ch 14 points 7 months ago* (last edited 7 months ago) (5 children)

# cat /dev/zero > /dev/your-disk

If you want progress bar, use pv instead of cat.

[–] Cupcake1972@mander.xyz 5 points 7 months ago (1 children)

Or # dd if=/dev/zero of=/dev/your-disk status=progress

[–] MonkderZweite@feddit.ch 4 points 7 months ago (1 children)
[–] Cupcake1972@mander.xyz 2 points 7 months ago (1 children)
[–] MonkderZweite@feddit.ch 1 points 7 months ago

Well, at least add blocksize.

load more comments (3 replies)