Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two nodes connected to a SAN, and I want to be able to mount an ext3 partition on node B when node A goes down.

I know I could use a shared filesystem, but for simplicity and performance I would like to find a way not to, considering I don't actually need to have my filesystem simultaneously mounted on both nodes.

I can think of a dummy script on node B that would try to mount filesystem, only if it detects it is not already mounted by A. But how can B know that?

Is there a way to make lvchange automatically activate and deactivate a logical volume?

share|improve this question
up vote 0 down vote accepted

I think you need a cluster software, you can manage the ext3 filesystem as a resource in high availability. There are many software cluster with different prices and supports, for instances: Cluster Suite, Linux-HA,Serviceguard.

share|improve this answer
Thanks, Pacemaker using Filesystem ocf resource answer my need. – john.doe Dec 8 '11 at 14:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.