Unable to delete LVM thinpool snapshot
Issue
LVM shapshot were created when thinpool had space issue, but now they can't be deleted
# lvremove svg/snap_mongodb
Thin pool svg-thinpool-tpool (253:16) transaction_id is 1302, while expected 1303.
Failed to suspend and send message svg/thinpool.
Failed to update pool svg/thinpool.
# lvdisplay svg/snap_mongodb
--- Logical volume ---
LV Path /dev/svg/snap_mongodb
LV Name snap_mongodb
VG Name svg
LV UUID phkRPE-n93h-aQso-g5YU-seVR-7UmR-txgfd
LV Write Access read/write
LV Creation host, time hostname, 2016-08-03 23:32:21 +1000
LV Pool name thinpool
LV Thin origin name mongodb
LV Status NOT available
LV Size 45.00 GiB
Current LE 11520
Segments 1
Allocation inherit
Read ahead sectors auto
Environment
- Red Hat Enterprise Linux 7.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.