User Tools

Site Tools


ubuntu:disk:stress_test

Ubuntu - Disk - Stress test

ALERT: This will wipe data on the disk, so do not use against a disk for which you want to keep the data.

while :
do
  dd if=/dev/zero of=/dev/sdd bs=1048576 seek=1
done

NOTE: This continually writes 1Mb blocks to the disk.


Check the health of the disk

smartctl -a /dev/sdd

NOTE: If smartctl is not installed then:

sudo apt update
sudo apt install smartmontools

References

ubuntu/disk/stress_test.txt · Last modified: 2021/01/29 14:19 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki