1 |
Am Sun, 12 Jul 2015 18:32:39 +0200 |
2 |
schrieb Volker Armin Hemmann <volkerarmin@××××××××××.com>: |
3 |
|
4 |
> Am 12.07.2015 um 14:35 schrieb Marc Joliet: |
5 |
> > Hi, |
6 |
> > |
7 |
> > I have to failed drives that I want to give away for recycling purposes, but |
8 |
> > want to be sure to properly clear them first. They used be part of a btrfs |
9 |
> > RAID10 array, but needed to be replaced (with "btrfs replace"). (In the |
10 |
> > meantime I converted the array to RAID1 with only two drives.) |
11 |
> > |
12 |
> > My question is how precisely the disks should be cleared. From various sources |
13 |
> > I know that overwriting them with random data a few times is enough to render |
14 |
> > old versions of data unreadable. I'm guessing 3 times ought to be enough, but |
15 |
> > maybe even that small amount is overly paranoid these days? |
16 |
> > |
17 |
> > As to the actual command, I would suspect something like "dd if=/dev/urandom |
18 |
> > of=/dev/sdx bs=4096" should suffice, and according to |
19 |
> > https://wiki.archlinux.org/index.php/Random_number_generation#.2Fdev.2Furandom, |
20 |
> > /dev/urandom ought to be random enough for this task. Or are cat/cp that much |
21 |
> > faster? |
22 |
> > |
23 |
> > Any thoughts? |
24 |
> > |
25 |
> > Greetings |
26 |
> |
27 |
> actually 1 time is enough. With zeros. Or ones. Does not matter at all. |
28 |
|
29 |
If you look at my initial response to Rich, I already concluded that "one time |
30 |
is enough", although I'm going to stick with whatever random data shred(1) |
31 |
produces. |
32 |
|
33 |
-- |
34 |
Marc Joliet |
35 |
-- |
36 |
"People who think they know everything really annoy those of us who know we |
37 |
don't" - Bjarne Stroustrup |