What's going on?
Libvirt has a plugin for the sanlock lock manager which protects your virtual disks from being corrupted by getting accessed from multiple guests. It works nicely, but hot-detaching has a flaw: the current libvirt code will release all sanlock resources (read: when removing 1 disk, protection for all disks get lost)!
I wrote a patch to release only the specific resource that you want to hot-detach. It can be found in the bug report. The patch has not been reviewed yet or approved by the libvirt devs, but for me it works as expected, and it may help others who depend on it...
No comments:
Post a Comment