thin-provisioning-tools icon indicating copy to clipboard operation
thin-provisioning-tools copied to clipboard

[Question] Is there a way to use the tools on a lvm failed thin-provisioned lvm2 volume?

Open aanno opened this issue 2 years ago • 1 comments

Hello,

for using the tools, you need a the dev path (/dev/mapper/whatever). However, in my case the thin-provisioned pool of the lvm2 volume group has failed. Hence /dev/mapper/whatever is not populated with the lvm2 logical volumes. Is there still anything I could do? Is there a way to 'restore' the (failed) pool volumes for using the tools on them?

Kind regards,

aanno

aanno avatar Dec 24 '23 12:12 aanno

Could you activate the pool metadata device read-only? e.g., lvchange -ay vg1/tp1_tmeta, then you're able to run thin_check on the metadata device (thin_check /dev/mapper/vg1-tp1_tmeta) to see what happenn.

mingnus avatar Dec 27 '23 08:12 mingnus