GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DISKROASTER(8) Multithreaded Disk Testing Utility DISKROASTER(8)

diskroaster - multithreaded disk testing utility that writes and verifies data on a raw disk device

diskroaster [OPTIONS] DISK

diskroaster is a multithreaded disk testing utility designed to stress-test hard drives and SSDs. It divides the disk into sections and writes data in parallel using multiple worker threads, then verifies the written data block-by-block.

It is useful for burn-in testing, quality control, or diagnosing disk reliability.

Print help and exit.
Number of parallel worker threads. Default: 4.
Number of write+verify passes to perform. Default: 1.
Block size for write operations. Default: 4096 bytes. Supports k or m suffixes (e.g., 64k, 1m, 32m).
Write zero-filled blocks instead of random data.

Run 8 parallel workers, writing 32MB zero-filled blocks to /dev/ada1 and verifying them:

diskroaster -w 8 -b 32m -z /dev/ada1

Each worker operates on a separate section of the disk. After writing, it reads back the data and verifies it block by block. Any mismatches or read errors will be reported.

  • This tool overwrites all data on the specified disk.
  • Be absolutely sure the target (e.g., /dev/ada1) is not your system disk or a mounted volume.
  • diskroaster allocates one memory buffer per worker thread. Total memory usage is approximately:
memory_used = num_workers × block_size

Using many threads with a large block size can cause high memory consumption and may lead to out-of-memory (OOM) errors.

Root privileges are required to access raw block devices.

To build and install:

make && make install

Tested on Linux and FreeBSD using standard POSIX make.

Pavel Golubinskiy

dd(1), smartctl(8)

June 2025 v1.1.0

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.