[linux-lvm] Sharing volumes via SAN?

Dave Wysochanski dwysocha at redhat.com
Tue Apr 10 14:40:57 UTC 2007


On Mon, 2007-04-09 at 11:29 -0700, Adam D. Morley wrote:
> Hi,
> 
> I'd like to share LVM volumes hosted on a SAN between two systems.  I do
> not want to mount at the same time (ie: GFS), but rather I just want
> to be able to swap them between hosts.  I'm assuming this is possible
> now by simply assigning SAN LUNs to both systems, but I don't see
> much talk of about a piece of LVM that handles knowing which host
> "owns" a given LV.
> 
> Background: In Solaris, when using Sun's VM, one can create a shared
> diskset which is seen by two hosts, but only one can do IO against the
> volumes at a given time.  Solaris also implements a forcible take
> mechanism which allows the passive host to take the volumes from the
> active host, panicing the active host out.  Regular takes are also
> implemented, to allow the volumes to migrate between hosts if first
> released by the active host.
> 
> It doesn't seem like LVM does this out of the box, probably because it
> lacks a built-in lock manager.  If it does, could someone point me to a
> resource that shows how it works?
> 

See Q#6:
http://sources.redhat.com/lvm2/wiki/FrequentlyAskedQuestions



> In the event LVM doesn't do this, is this something that CLVM will do?
> Was there ever a version of CLVM for the 2.4.x kernel series?

> Thanks!
> 




More information about the linux-lvm mailing list