Re: Monitoring for disk failures

2014-01-28 Thread Anand Jain
Without actually trying it here... I believe by default that'd update only when there was an I/O error. Did you try btrfs filesystem show --all-devices? That scans differently. That will show missing with its own probes but kernel does not know that disk is missing. If that doesn't work

Re: Monitoring for disk failures

2014-01-28 Thread Anand Jain
Alin, [bug] its messy when missing device reappears after its been replaced in RAID1 I am aware of it and working on it. I also reported a more critical bug earlier as below. [bug] its messy when missing device reappears after its been replaced in RAID1 We see IO errors when disk goe

Re: Monitoring for disk failures

2014-01-27 Thread Duncan
Alin Dobre posted on Mon, 27 Jan 2014 11:43:33 + as excerpted: > I am trying to create a very simple script that would alert in case of > disk failures from a RAID Btrfs. > > Digging into the code, I have noticed that the "btrfs fi sh" command > should display a warning if there is a missing

Monitoring for disk failures

2014-01-27 Thread Alin Dobre
Hi all! I am trying to create a very simple script that would alert in case of disk failures from a RAID Btrfs. Digging into the code, I have noticed that the "btrfs fi sh" command should display a warning if there is a missing disk. However, testing in a Qemu, I used "drive_del" via QMP to remov