Re: [Linux-cluster] How do I implement an unmount only filesystem resource agent

2010-12-08 Thread Jankowski, Chris
...@redhat.com [mailto:linux-cluster-boun...@redhat.com] On Behalf Of Lon Hohberger Sent: Thursday, 9 December 2010 06:49 To: linux clustering Subject: Re: [Linux-cluster] How do I implement an unmount only filesystem resource agent On Mon, 2010-12-06 at 12:27 +, Jankowski, Chris wrote: > > T

Re: [Linux-cluster] How do I implement an unmount only filesystem resource agent

2010-12-08 Thread Lon Hohberger
On Mon, 2010-12-06 at 12:27 +, Jankowski, Chris wrote: > > To have a foolproof HA service I need to: > > * Check, if the snapshot filesystem is mounted > * If it is, all processes running in it need to be killed > * Then the snapshot filesystem needs to be unmounted. >

[Linux-cluster] How do I implement an unmount only filesystem resource agent

2010-12-06 Thread Jankowski, Chris
Hi, I am configuring a service that uses HA-LVM and XFS filesystem on top of it. The filesystem will be backed up by a separate script run from cron(8) creating an LVM snapshot of the filesystem and mounting it on a mountpoint. To have a foolproof HA service I need to: - Check, if the sna