Advertisement
Guest User

Untitled

a guest
Jun 8th, 2017
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.74 KB | None | 0 0
  1. $ sudo cryptsetup open --type plain --cipher aes-xts-plain64 /dev/sdb cryptodisk
  2. Enter passphrase:
  3.  
  4. $ shred -n 0 -z -v /dev/mapper/cryptodisk
  5. shred: /dev/mapper/cryptodisk: failed to open for writing: Permission denied
  6.  
  7. $ sudo shred -n 0 -z -v /dev/mapper/cryptodisk
  8. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...
  9. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...18MiB/15GiB 0%
  10. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...40MiB/15GiB 0%
  11. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...77MiB/15GiB 0%
  12. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...114MiB/15GiB 0%
  13. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...151MiB/15GiB 1%
  14. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...188MiB/15GiB 1%
  15. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...225MiB/15GiB 1%
  16. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...262MiB/15GiB 1%
  17. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...299MiB/15GiB 1%
  18. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...336MiB/15GiB 2%
  19. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...373MiB/15GiB 2%
  20. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...410MiB/15GiB 2%
  21. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...446MiB/15GiB 2%
  22. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...483MiB/15GiB 3%
  23. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...520MiB/15GiB 3%
  24. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...557MiB/15GiB 3%
  25. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...594MiB/15GiB 3%
  26. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...631MiB/15GiB 4%
  27. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...668MiB/15GiB 4%
  28. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...705MiB/15GiB 4%
  29. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...742MiB/15GiB 4%
  30. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...779MiB/15GiB 5%
  31. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...816MiB/15GiB 5%
  32. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...852MiB/15GiB 5%
  33. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...889MiB/15GiB 5%
  34. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...927MiB/15GiB 6%
  35. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...964MiB/15GiB 6%
  36. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1000MiB/15GiB 6%
  37. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.0GiB/15GiB 6%
  38. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.1GiB/15GiB 7%
  39. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.2GiB/15GiB 8%
  40. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.3GiB/15GiB 8%
  41. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.4GiB/15GiB 9%
  42. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.5GiB/15GiB 10%
  43. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.6GiB/15GiB 10%
  44. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.7GiB/15GiB 11%
  45. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.8GiB/15GiB 12%
  46. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...1.9GiB/15GiB 12%
  47. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.0GiB/15GiB 13%
  48. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.1GiB/15GiB 14%
  49. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.2GiB/15GiB 14%
  50. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.3GiB/15GiB 15%
  51. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.4GiB/15GiB 16%
  52. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.5GiB/15GiB 16%
  53. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.6GiB/15GiB 17%
  54. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.7GiB/15GiB 18%
  55. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.8GiB/15GiB 19%
  56. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...2.9GiB/15GiB 19%
  57. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.0GiB/15GiB 20%
  58. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.1GiB/15GiB 21%
  59. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.2GiB/15GiB 21%
  60. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.3GiB/15GiB 22%
  61. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.4GiB/15GiB 23%
  62. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.5GiB/15GiB 23%
  63. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.6GiB/15GiB 24%
  64. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.7GiB/15GiB 25%
  65. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.8GiB/15GiB 25%
  66. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...3.9GiB/15GiB 26%
  67. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.0GiB/15GiB 27%
  68. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.1GiB/15GiB 27%
  69. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.2GiB/15GiB 28%
  70. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.3GiB/15GiB 29%
  71. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.4GiB/15GiB 29%
  72. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.5GiB/15GiB 30%
  73. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.6GiB/15GiB 31%
  74. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.7GiB/15GiB 31%
  75. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.8GiB/15GiB 32%
  76. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...4.9GiB/15GiB 33%
  77. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.0GiB/15GiB 33%
  78. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.1GiB/15GiB 34%
  79. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.2GiB/15GiB 35%
  80. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.3GiB/15GiB 36%
  81. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.4GiB/15GiB 36%
  82. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.5GiB/15GiB 37%
  83. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.6GiB/15GiB 38%
  84. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.7GiB/15GiB 38%
  85. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.8GiB/15GiB 39%
  86. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...5.9GiB/15GiB 40%
  87. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.0GiB/15GiB 40%
  88. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.1GiB/15GiB 41%
  89. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.2GiB/15GiB 42%
  90. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.3GiB/15GiB 42%
  91. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.4GiB/15GiB 43%
  92. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.5GiB/15GiB 44%
  93. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.6GiB/15GiB 44%
  94. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.7GiB/15GiB 45%
  95. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.8GiB/15GiB 46%
  96. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...6.9GiB/15GiB 46%
  97. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.0GiB/15GiB 47%
  98. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.1GiB/15GiB 48%
  99. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.2GiB/15GiB 48%
  100. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.3GiB/15GiB 49%
  101. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.4GiB/15GiB 50%
  102. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.5GiB/15GiB 50%
  103. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.6GiB/15GiB 51%
  104. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.7GiB/15GiB 52%
  105. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.8GiB/15GiB 53%
  106. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...7.9GiB/15GiB 53%
  107. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.0GiB/15GiB 54%
  108. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.1GiB/15GiB 55%
  109. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.2GiB/15GiB 55%
  110. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.3GiB/15GiB 56%
  111. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.4GiB/15GiB 57%
  112. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.5GiB/15GiB 57%
  113. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.6GiB/15GiB 58%
  114. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.7GiB/15GiB 59%
  115. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.8GiB/15GiB 59%
  116. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...8.9GiB/15GiB 60%
  117. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.0GiB/15GiB 61%
  118. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.1GiB/15GiB 61%
  119. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.2GiB/15GiB 62%
  120. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.3GiB/15GiB 63%
  121. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.4GiB/15GiB 63%
  122. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.5GiB/15GiB 64%
  123. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.6GiB/15GiB 65%
  124. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.7GiB/15GiB 65%
  125. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.8GiB/15GiB 66%
  126. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...9.9GiB/15GiB 67%
  127. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...10GiB/15GiB 67%
  128. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...11GiB/15GiB 74%
  129. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...12GiB/15GiB 81%
  130. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...13GiB/15GiB 88%
  131. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...14GiB/15GiB 95%
  132. shred: /dev/mapper/cryptodisk: pass 1/1 (000000)...15GiB/15GiB 100%
  133.  
  134. $ sudo cmp /dev/zero /dev/mapper/cryptodisk
  135. /dev/zero /dev/mapper/cryptodisk differ: byte 36801537, line 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement