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
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ 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] 27+ messages in thread

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

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-12 12:35 [gentoo-user] Securely deletion of an HDD Marc Joliet
2015-07-12 12:48 ` Rich Freeman
2015-07-12 14:39   ` Marc Joliet
2015-07-12 19:21     ` Rich Freeman
2015-07-12 19:42       ` Neil Bothwick
2015-07-13 15:03     ` [gentoo-user] " Grant Edwards
2015-07-13 17:20       ` Marc Joliet
2015-07-12 13:00 ` [gentoo-user] " Mick
2015-07-12 13:22   ` Francisco Ares
2015-07-12 16:32 ` Volker Armin Hemmann
2015-07-12 19:14   ` Rich Freeman
2015-07-12 20:43     ` Volker Armin Hemmann
2015-07-12 21:10       ` Rich Freeman
2015-07-12 21:20         ` Volker Armin Hemmann
2015-07-12 21:30           ` Rich Freeman
2015-07-13  8:05             ` Volker Armin Hemmann
2015-07-13 11:03               ` Rich Freeman
2015-07-12 22:22         ` R0b0t1
2015-07-13  0:18           ` Rich Freeman
2015-07-13  1:50             ` Thomas Mueller
2015-07-13  8:09               ` Volker Armin Hemmann
2015-07-13 10:58               ` Marc Joliet
2015-07-14 22:21             ` R0b0t1
2015-07-15 12:29               ` Rich Freeman
2015-07-13 10:54       ` Marc Joliet
2015-07-13 11:04   ` Marc Joliet
2015-07-13  9:53 ` Joerg Schilling

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