[Novalug] LVM Snapshots

James Ewing Cottrell 3rd JECottrell3 at Comcast.NET
Sat Dec 18 14:25:04 EST 2010


  Is it OK to run off a snapshot? Let me clarify.

I installed some big software package and figured I'd take a snapshot to 
save the starting configuration. It wanted me to do a reboot, and my 
grub and fstab does mount points by label: root=LABEL=myrootlabel. Well, 
I forgot to relabel the snapshot via e2label
and I believe that somehow the snapshot was the one that was booted 
onto. I became suspicious later when things disappeared out of my /root 
directory. Interestingly enough, I didn't find them in the other /root 
directory either.

I had another case where I did something similar. I wanted to create 
several variants of the Ubuntu distro: regular, KDS, and LXDE.
So I installed a text only version, added what I thought was a bunch of 
cool stuff, and made a snapshot for each of the variants. That time I 
actually did re2label the snapshots, and even changed the UUIDs, and did 
the equivalent of a tasksel on each variant.

It worked for awhile, but at some point I couldn't get any of the 
variants to boot or even the original text only version.

Any thoughts? SELinux was off on all systems.

JIM



More information about the Novalug mailing list