Re: Limitation: Snapshots does not work in cluster enviroment ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 14, 2007 at 04:37:51PM +0200, Daniel Schwager wrote:
> So, i want to use snapshot1 on server1, snapshot2 on server2. The 
> original LV
> (where the snapshot is created from) is not in use (not mounted on any 
> server).
> 
> Is this possible ?

Well the reason you can't use snapshots in a cluster is because writes
cannot be handled correctly when there's more than one machine involved.
If all your writes are local with no impact on LVs in use on other
machines then the current kernel implementation ought to work.
I think the userspace LVM code could be tweaked to support this
configuration.  Until then, you'll need to activate the snapshots
manually using dmsetup directly.


Userspace changes we'd need for the tools to support this:
  Permit a snapshot to be activated without its corresponding origin.
  - requires a snapshot exclusive lock (already supported)
  - requires an origin lock that prevents any node having origin active
(implementation needs more thought but it should be possible)

Alasdair
-- 
agk@redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux