Problem_wiping

Dernsen <dernsen-S0/[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>
Hi,

I prepared a partition on my hdd (no ssd) as described in cryptsetup FAQ (intel i3 3rd gen. ; 4gb ram):

Test 1. dd urandom direct on partition:

root@pocket-pc:/home/dernsen# dd bs=16M status=progress if=/dev/urandom of=/dev/sda3

55566139392 Bytes (56 GB, 52 GiB) kopiert, 1611 s, 34,5 MB/s

dd: Fehler beim Schreiben von '/dev/sda3': Auf dem Gerät ist kein Speicherplatz mehr verfügbar

3313+0 Datensätze ein

3312+0 Datensätze aus

55574528000 Bytes (56 GB, 52 GiB) kopiert, 1630,73 s, 34,1 MB/s

root@pocket-pc:/home/dernsen#

Test 2. dm-crypt + dd on device-mapper:

root@pocket-pc:/home/dernsen# cryptsetup open --type plain -d /dev/urandom /dev/sda3 to_be_wiped

root@pocket-pc:/home/dernsen# dd bs=16M status=progress if=/dev/zero of=/dev/mapper/to_be_wiped

55566139392 Bytes (56 GB, 52 GiB) kopiert, 1536 s, 36,2 MB/s

dd: Fehler beim Schreiben von '/dev/mapper/to_be_wiped': Auf dem Gerät ist kein Speicherplatz mehr verfügbar

3313+0 Datensätze ein

3312+0 Datensätze aus

55574528000 Bytes (56 GB, 52 GiB) kopiert, 1554,81 s, 35,7 MB/s

root@pocket-pc:/home/dernsen#

There is almost no difference in speed.

1. Did i do any mistake?

2. Is this recommodation still up to date?

Best

Sebastian

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.