sudo dd if=/dev/zero of=/dev/X bs=512 count=1 status=progress // just MBR delete
sudo dd if=/dev/zero of=/dev/X bs=4M status=progress // complete wipe
sudo dd if=/dev/zero of=/dev/X bs=4M status=progress | od | head
sudo pv -tpreb /dev/X | od | head //fill with zeros
sudo od /dev/X | head // scan for nonzero bytes
sudo badblocks -sv -t 0x00 /dev/X // check zeros
sudo badblocks -svw -t 0x00 /dev/X // check and write zeros
X - disk // sda, sdb, sdc etc
sudo dd if=/dev/zero of=/dev/sdc bs=4M status=progress
4000766230528 bytes (4,0 TB, 3,6 TiB) copied, 42343 s, 94,5 MB/s //started 140 MB/s
dd: error writing '/dev/sdc': No space left on device
sudo sg_raw -r 512 /dev/sdc 08 00 00 00 01 00 //sudo apt install sg3-utils
SCSI Status: Good
Received 512 bytes of data:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
No comments:
Post a Comment