brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: test every Unraid drive with the DiskSpeed container

Unraid
~/tips/tip-unraid-diskspeed-container

cat ~/tips/tip-unraid-diskspeed-container.md

Runs read tests across the surface of each drive and draws heat maps that show slow zones.

A quick hdparm test gives you one number per drive. If a drive is slow only in some part of its surface, that one number will miss it.

The Unraid docs point to DiskSpeed for the thorough version. It used to be a script from the forum and is now a package you install from Community Applications: open the Apps tab and search for DiskSpeed.

According to the docs it reads at several linear offsets across the disk, writes CSV data and draws performance heat maps. That helps you spot zones of poor performance, which can hint at failing hardware or at a drive using SMR.

  • The docs list the cases where a read benchmark pays off: very slow parity builds or parity checks, slow transfers from one specific disk, and mismatched speeds after adding or replacing disks.
  • It also helps when a drive shows reallocated sectors or UDMA CRC errors.
  • Run it while the server is idle, because the tests compete with other disk activity.

Caveat: the hard drive tests only read. The docs warn that SSD benchmarks may write temporary files, so read DiskSpeed’s guidance before you test an SSD.

Further reading: Unraid docs: Capture diagnostics and logs, testing drive read performance

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override grep -i "Memory cgroup out of memory" /var/log/syslog All Unraid tips (77) All topics

Link