Skip to content

Add workaround for lvmcluster pool removal - #3369

Merged
stgraber merged 1 commit into
lxc:mainfrom
presztak:fix_lvmcluster_delete
May 20, 2026
Merged

stgraber merged 1 commit into
lxc:mainfrom
presztak:fix_lvmcluster_delete

Conversation

@presztak

Copy link
Copy Markdown
Member

Before removing a shared VG, perform lockstop and change the VG lock type to none. This avoids relying on lvmlockd/sanlock during VG removal.

In lvmlockd 2.03.31(2) (2025-02-27), VG removal may fail due to an inconsistent state between sanlock and lvmlockd, resulting in lock-related errors.

Closes: #3342

@presztak
presztak requested a review from stgraber as a code owner May 20, 2026 16:13
@presztak presztak changed the title Add workaround for shared VG removal failures Add workaround for lvmcluster pool removal May 20, 2026
Before removing a shared VG, perform lockstop and change the
VG lock type to `none`. This avoids relying on lvmlockd/sanlock
during VG removal.

In lvmlockd 2.03.31(2) (2025-02-27), VG removal may fail due to
an inconsistent state between sanlock and lvmlockd, resulting in
lock-related errors.

Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
@presztak
presztak force-pushed the fix_lvmcluster_delete branch from cb12a11 to a05163c Compare May 20, 2026 16:20
@stgraber
stgraber merged commit ade7985 into lxc:main May 20, 2026
55 of 56 checks passed
@presztak
presztak deleted the fix_lvmcluster_delete branch May 21, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Unable to delete a lvmcluster storage pool

2 participants