/ Documentation / Tests / HDD passthrough
en | ru

HDD passthrough (hdd-passthrough)

Test destroys contents of HDD

HDD passthrough is a stress test that imposes heavy load on main system components. First, it tries to make all HDDs present in the system to appear as separate device nodes – it checks all available RAID controllers, deletes all arrays / disk groups and creates passthrough devices to access individual HDDs if required. Second, it runs badblocks test on every available HDD, running them simulatenously in groups of 8 HDDs by default. Third, it makes a ramdisk filesystem and starts infinite compilation loop in memory, doing so with 16 simultaneous jobs (by default). Test ends successfully after both 1) minimal required stress time passes, 2) all HDDs are checked with badblocks. Test would fail if any bad blocks would be detected on any HDD. Test will usually hang or crash the system on the unstable hardware.

  • Components tested: CPU, HDD, Memory, Mainboard, Disk Controller
  • Variables:
    • DISK_GROUP_SIZE (int, default: 8) — Number of disks per group for testing
    • JOBS (int, default: 16) — Number of parallely running jobs during stress test tree compile
    • MINIMAL_STRESS_TIME (int, default: 600) — Minimal time of stress testing
    • RAMDISK_SIZE (int, default: 400) — Size of memory disk for stress tree building, MB
    • STRESS_TREE (string, default: linux- — Tarball file containing stress test tree