|
From: | Aleksander Kamenik |
Subject: | Re: [monit] Monitor mounts with monit |
Date: | Tue, 04 Aug 2009 14:34:59 +0300 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Roman wrote:
Hi Eric, This is not that I really need, I need my mount to stay mounted all the time, and if it accidentally unmounts or becomes unavailable I need it remounted back.
I use this, in case the OS looses the connection with the SAN for sec and remounts the mount points as read only (it happened once a few years ago):
if changed fsflags then exec "/bin/mount -o remount /home" This doesn't work when it's unmounted though, but it might come in handy. Regards, -- Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: address@hidden http://www.krediidiinfo.ee/ http://www.experiangroup.com/
[Prev in Thread] | Current Thread | [Next in Thread] |