Stress Test – Burn in test – For hard drives
I have recently purchased some hard drives to easily backup some files. Basic data duplication and then taking it off site. It is a short term solution to our backup needs.
So we got 3 1TB hard drives and I wanted some way to quickly test them.
Update
to list all your devices
/Update
Running Ubuntu there is a few things you can do to test it. The first tests the cache performance.
Be very careful with that command as some of the flags (7/40) are highly destructive to the current operating system and can render the system unusable.
The second method which I am currently using is badblocks. This little app will write and read from every block on the drive, seems to work well.
(This will ERASE ALL data on the drive)
(run without the ‘w’ flag and it shouldn’t erase the data, but check the man badblocks page for confirmation)
Another method is writing random data to the disk at the same time as reading data from it. Should give the heads a workout.
(This will ERASE ALL data on the drive)
dd if=/dev/sdXof=/dev/null & #for me I’m testing sdb, so repace sdX with whatever drive you want to test.
Random Posts
In: Ubuntu Tricks · Tagged with: stress test

