clustered lvm volume activation

Peter Krempa pkrempa at redhat.com
Fri Feb 14 15:15:53 UTC 2020


On Fri, Feb 14, 2020 at 11:28:40 +0100, Timm Wunderlich wrote:
> dear all,
> 
> i have a problem with clustered lvm storage and the "logical" storage
> driver, perhaps someone has a suggestion.
> 
> i have a clustered lvm (lvmlockd, not clvm) with 4 hosts running.
> 
> when i start the storage on a host it activates all volumes in the whole
> volume group. then i cannot start the storage on other hosts because all
> volumes are already activated on one host.
> 
> if i then deactivate all volumes in the started pool i can start the
> pool on other hosts. but then i have to manually activate the volume if
> i want to start the domain.
> 
> it would be great if the logical pool driver would only activate the
> volume of a domain at domain start and not on pool start.
> 
> does anybody have a workaround for this or any suggestions for me? do
> you think i should open an issue on it?

That certainly sounds like a worthwhile use case. Please note that
opening an issue/bug does not guarantee that anybody will be motivated
to pick it up any time soon.




More information about the libvirt-users mailing list