Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdadm check & repair tool

mdck is a Python app that checks and repairs mdadm arrays.

Running

Requirements

Running

MDADM_DEVICE=md0 python .

Callback execution

mdck can run a callback script for each status update (including the percentage completion). The relevant update data is passed as the first call argument, in JSON format.

Example:

#!/bin/bash

# Location: "callback.sh" in current directory.
# This will log each received update in a "mdck.log" file.

echo "[$(date)] $1" >> mdck.log
MDADM_DEVICE=md0 MDADM_UPDATES_CALLBACK_PATH=callback.sh python .

Changelog

  • 0.0.1
    • Initial release: check & repair, callback script execution

About

mdadm check & repair tool

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages