Skip to content

Python cli to destructively test multiple disks simultaneously

Notifications You must be signed in to change notification settings

justinclift/multi_disk_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESTRUCTIVE (only!) multi-disk testing for new disks

Similar to badblocks, except writes to multiple disks at once

Multi Disk Tester Screenshot

Installation

As this is written in Python, getting the dependencies installed is a bit of a pain:

$ git clone https://github.com/justinclift/multi_disk_tester
$ cd multi_disk_tester
$ python3 -m venv stuff
$ . stuff/bin/activate
$ pip3 install poetry
$ poetry install

Usage:

Because the code doesn't handle sudo at all, you'll need to ensure your user has permission to write to the disk devices first:

$ sudo chmod o+rw /dev/zvol/rpool/disktests1 /dev/zvol/rpool/disktests2
$ ./multi_test.py -d /dev/zvol/rpool/disktests1 -d /dev/zvol/rpool/disktests2

About

Python cli to destructively test multiple disks simultaneously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages