[mythtv-users] Myth mirroring

David myth at dgreaves.com
Fri Sep 23 06:20:03 UTC 2005


Alan Hagge wrote:

> 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...
>
and you could also use monit.

I installed festival and have it speak to me if it's unwell...

"Myth is down"
"The server known as copper is down"
"Copper is OK"

All delivered in a nice scottish brogue.

David


More information about the mythtv-users mailing list