[linux-lvm] [PATCH 00/10] Enhancements to a clustered logical volume activation

Vladislav Bogdanov bubble at hoster-ok.com
Tue Mar 19 13:32:40 UTC 2013


When using volumes in clustered volume groups, there is a need to convert
cluster locks between shared and exclusive.
Shared lock is needed to be able to perform live VM migration,
exclusive lock is needed to take LV shapshot (and just for safety).

Also, to use clvm as a locking mechanism for libvirt/qemu, there is a need to
be able to perform LV lock conversion on a remote node (because last phase
of live VM migration, when 'source' qemu process is actually killed and LV
becomes not opened, is performed on a migration source node and there is no
event available on a destination node to do local shared->exclusive conversion).

Vladislav Bogdanov (10):
  lvchange: Allow cluster lock conversion
  clvmd: Fix buffer size
  clvmd: Allow node names to be obtained from corosync's CMAP
  clvmd: fix positive return value is not an error in csid->name
    translation
  clvmd: use correct flags for local command execution
  clvmd: additional debugging - print message bodies
  locking: Allow lock management (activation, deactivation, conversion)
    on a remote nodes
  lvchange: implement remote lock management
  man: document --force option to lvchange, provide examples
  man: document --node option to lvchange




More information about the linux-lvm mailing list