Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo cryptsetup open --type plain --cipher aes-xts-plain64 /dev/sdb cryptodisk
- Enter passphrase:
- $ shred -n 0 -z -v /dev/mapper/cryptodisk
- shred: /dev/mapper/cryptodisk: failed to open for writing: Permission denied
- $ sudo shred -n 0 -z -v /dev/mapper/cryptodisk
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...18MiB/15GiB 0%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...40MiB/15GiB 0%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...77MiB/15GiB 0%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...114MiB/15GiB 0%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...151MiB/15GiB 1%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...188MiB/15GiB 1%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...225MiB/15GiB 1%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...262MiB/15GiB 1%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...299MiB/15GiB 1%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...336MiB/15GiB 2%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...373MiB/15GiB 2%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...410MiB/15GiB 2%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...446MiB/15GiB 2%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...483MiB/15GiB 3%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...520MiB/15GiB 3%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...557MiB/15GiB 3%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...594MiB/15GiB 3%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...631MiB/15GiB 4%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...668MiB/15GiB 4%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...705MiB/15GiB 4%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...742MiB/15GiB 4%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...779MiB/15GiB 5%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...816MiB/15GiB 5%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...852MiB/15GiB 5%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...889MiB/15GiB 5%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...927MiB/15GiB 6%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...964MiB/15GiB 6%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1000MiB/15GiB 6%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.0GiB/15GiB 6%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.1GiB/15GiB 7%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.2GiB/15GiB 8%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.3GiB/15GiB 8%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.4GiB/15GiB 9%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.5GiB/15GiB 10%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.6GiB/15GiB 10%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.7GiB/15GiB 11%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.8GiB/15GiB 12%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.9GiB/15GiB 12%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.0GiB/15GiB 13%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.1GiB/15GiB 14%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.2GiB/15GiB 14%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.3GiB/15GiB 15%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.4GiB/15GiB 16%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.5GiB/15GiB 16%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.6GiB/15GiB 17%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.7GiB/15GiB 18%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.8GiB/15GiB 19%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.9GiB/15GiB 19%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.0GiB/15GiB 20%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.1GiB/15GiB 21%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.2GiB/15GiB 21%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.3GiB/15GiB 22%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.4GiB/15GiB 23%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.5GiB/15GiB 23%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.6GiB/15GiB 24%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.7GiB/15GiB 25%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.8GiB/15GiB 25%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.9GiB/15GiB 26%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.0GiB/15GiB 27%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.1GiB/15GiB 27%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.2GiB/15GiB 28%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.3GiB/15GiB 29%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.4GiB/15GiB 29%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.5GiB/15GiB 30%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.6GiB/15GiB 31%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.7GiB/15GiB 31%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.8GiB/15GiB 32%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.9GiB/15GiB 33%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.0GiB/15GiB 33%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.1GiB/15GiB 34%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.2GiB/15GiB 35%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.3GiB/15GiB 36%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.4GiB/15GiB 36%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.5GiB/15GiB 37%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.6GiB/15GiB 38%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.7GiB/15GiB 38%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.8GiB/15GiB 39%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.9GiB/15GiB 40%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.0GiB/15GiB 40%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.1GiB/15GiB 41%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.2GiB/15GiB 42%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.3GiB/15GiB 42%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.4GiB/15GiB 43%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.5GiB/15GiB 44%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.6GiB/15GiB 44%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.7GiB/15GiB 45%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.8GiB/15GiB 46%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.9GiB/15GiB 46%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.0GiB/15GiB 47%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.1GiB/15GiB 48%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.2GiB/15GiB 48%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.3GiB/15GiB 49%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.4GiB/15GiB 50%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.5GiB/15GiB 50%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.6GiB/15GiB 51%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.7GiB/15GiB 52%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.8GiB/15GiB 53%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.9GiB/15GiB 53%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.0GiB/15GiB 54%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.1GiB/15GiB 55%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.2GiB/15GiB 55%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.3GiB/15GiB 56%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.4GiB/15GiB 57%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.5GiB/15GiB 57%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.6GiB/15GiB 58%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.7GiB/15GiB 59%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.8GiB/15GiB 59%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.9GiB/15GiB 60%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.0GiB/15GiB 61%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.1GiB/15GiB 61%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.2GiB/15GiB 62%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.3GiB/15GiB 63%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.4GiB/15GiB 63%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.5GiB/15GiB 64%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.6GiB/15GiB 65%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.7GiB/15GiB 65%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.8GiB/15GiB 66%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.9GiB/15GiB 67%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...10GiB/15GiB 67%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...11GiB/15GiB 74%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...12GiB/15GiB 81%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...13GiB/15GiB 88%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...14GiB/15GiB 95%
- shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...15GiB/15GiB 100%
- $ sudo cmp /dev/zero /dev/mapper/cryptodisk
- /dev/zero /dev/mapper/cryptodisk differ: byte 36801537, line 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement