On Saturday January 5, [EMAIL PROTECTED] wrote:
Hi all,
I need to monitor my RAID and if it fails, I'd like to call my-script to
deal with the failure.
I did:
mdadm --monitor --program my-script --delay 60 /dev/md1
And then, I simulate a failure with
mdadm --manage --set-faulty
- Message from [EMAIL PROTECTED] -
Date: Sat, 5 Jan 2008 18:11:38 -0800 (PST)
From: Hxsrmeng [EMAIL PROTECTED]
I hope the mdadm monitor function can pass all three command-line
arguments to my-script, including the name of the event, the name of the
md device and the name of
Hi all,
I need to monitor my RAID and if it fails, I'd like to call my-script to
deal with the failure.
I did:
mdadm --monitor --program my-script --delay 60 /dev/md1
And then, I simulate a failure with
mdadm --manage --set-faulty /dev/md1 /dev/sda2
mdadm /dev/md1 --remove /dev/sda2
I hope