zero a drive with progress (change 1T to whatever drive size your zeroing):
# dd if=/dev/zero bs=1M | pv -s 1T | dd bs=1M of=/dev/sde
Erase the drive then read back the blocks to check for errors:
# badblocks -svw -t 0x00 /dev/sde
A Project Blog
zero a drive with progress (change 1T to whatever drive size your zeroing):
# dd if=/dev/zero bs=1M | pv -s 1T | dd bs=1M of=/dev/sde
Erase the drive then read back the blocks to check for errors:
# badblocks -svw -t 0x00 /dev/sde