Talk about a total pain to operate. After a reboot, the following is needed:
- modprobe dm_snapshot (if you don’t do this, you get “device-mapper: reload ioctl failed: Invalid argument” in step 6 – a really helpful error message. no dmesg or verbose things gets you any closer)
- some magic foo to scan the md array back
- pvscan
- vgscan
- lvscan
- lvchange -ay FooVG/barLV
- mount
- urgh.
Why this doesn’t just all detect itself on boot who knows. I’m surely not the only one doing this….
Thank You very much for this pointer, one would never think there is lvm activated if booting Ubuntu live-CD but the module is missing in kernel… This is exactly the case of Ubuntu desktop 6.06 (in the alter Ubuntu versions is LVM not present by default in the live-CD).
Thank You very much, we had some problems with the computer using LVM, it could not boot, so we booted with the live-CD to check the situation – it looked so all our logical volumes with snapshots gone…
:-)
Thanks for the superb instructions,LVM on my CF card also has the boot problem.follow your instructions,it works well after I reconfigure it.It turns out I skipped one important step,so…
Yes, thanks for solving that minor headache for me.