Re: [mythtv-users] Myth mirroring
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 ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] Myth mirroring
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 ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Myth mirroring
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 Quick and dirty solution is to just use mdadm: mdadm --monitor --mail=[EMAIL PROTECTED] --daemonize /dev/md[01] Just have a look at the mdadm man page... There are some limitations to this style of monitoring, specifically if the daemon should die, how would you know? But a little scripting to respawn should get you around that, if it is happening to you... -poul ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Myth mirroring
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... ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Myth mirroring
On 9/21/05, Reggie Braswell [EMAIL PROTECTED] 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 Maybe this might help: http://gossamer-threads.com/lists/mythtv/users/147745 Change the command that's between the backticks and the remote button to fit your needs. Josh ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users