[mythtv-users] Myth mirroring

Alan Hagge ahagge at wbfa.com
Wed Sep 21 19:13:44 UTC 2005


Reggie Braswell wrote:

> Taking the plunge and moving up to FC4. This time around I chose to go 
> the software mirror path with two 80GB SATA disks. Carved it up with 
> /boot on md0 and the rest via LVM as md1. Question I have for the 
> group is the machine is sitting in an entertainment center with 
> mythfrontend running all the time. Any tools or plugins for myth to 
> monitor /proc/mdstat or something of that nature to check to see if 
> you lost a drive etc... or is it that if you lost a drive the box is 
> going to tank anyway so you will know no matter what? I have simulated 
> a failed disk by powering off and unplugging the cable from the 
> primary sata drive and it boots up fine from the secondary, but am a 
> little leary to just yank power to one of the drives to see how Linux 
> responds. Thanks... Regg
>
>  
>
If I understand you correctly, the FC4 mdadm package already has a 
tool.  Check out /etc/rc.d/init.d/mdmonitor (which uses mdadm 
--monitor).  It sends e-mail, but you could probably tweak things to use 
wall & friends to pop up something...



More information about the mythtv-users mailing list