public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Securely deletion of an HDD
@ 2015-07-12 12:35 Marc Joliet
  2015-07-12 12:48 ` Rich Freeman
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Joliet @ 2015-07-12 12:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]

Hi,

I have to failed drives that I want to give away for recycling purposes, but
want to be sure to properly clear them first.  They used be part of a btrfs
RAID10 array, but needed to be replaced (with "btrfs replace").  (In the
meantime I converted the array to RAID1 with only two drives.)

My question is how precisely the disks should be cleared.  From various sources
I know that overwriting them with random data a few times is enough to render
old versions of data unreadable.  I'm guessing 3 times ought to be enough, but
maybe even that small amount is overly paranoid these days?

As to the actual command, I would suspect something like "dd if=/dev/urandom
of=/dev/sdx bs=4096" should suffice, and according to
https://wiki.archlinux.org/index.php/Random_number_generation#.2Fdev.2Furandom,
/dev/urandom ought to be random enough for this task.  Or are cat/cp that much
faster?

Any thoughts?

Greetings
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-15 21:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <pLoI2-8eV-1@gated-at.bofh.it>
     [not found] ` <pLoRI-8hZ-5@gated-at.bofh.it>
     [not found]   ` <pLqJQ-Y0-19@gated-at.bofh.it>
     [not found]     ` <pLNwK-6AP-35@gated-at.bofh.it>
2015-07-15 18:28       ` [gentoo-user] Re: Securely deletion of an HDD wireless
2015-07-15 19:45         ` Grant Edwards
2015-07-15 21:07           ` James
2015-07-12 12:35 [gentoo-user] " Marc Joliet
2015-07-12 12:48 ` Rich Freeman
2015-07-12 14:39   ` Marc Joliet
2015-07-13 15:03     ` [gentoo-user] " Grant Edwards
2015-07-13 17:20       ` Marc Joliet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox