Le Sigh…
Last night a couple of my infrastructure VMs suffered some catastrophic problems due to an unexpected power issue. This brings a couple of notable postables to mind:
Make sure you backup even your development work. The 2 VMs that got corrupted for me were development VMs that I was testing software and configs on, therefor I reasoned that I really didn’t need to back them up. Well, I was wrong.
The second is how to mount an LVM partition from a rescued disk. I had to dig around, but this is the first time this has ever happened to me:
lvm vgscan -v
lvm vgchange -a y
lvm lvs โall
mount /dev/vgname/lvname /mnt/somewhere
Now off to see what all I can rescue from my configs and data ๐