Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17856

Fun with LVM snapshots

$
0
0

I upgraded a Ubuntu 10.04 Server to version 12.04. Before starting, I set up snapshots of the root, var and usr volumes, just in case things went sour.
The upgrade went (mostly) OK, but after rebooting the system was very inconsistent. After much dpkg-fu, I finished the upgrade.
The thing is, I found out why the system was hosed after rebooting in the first place: somehow Ubuntu mounted the snapshots of the var and usr volumes instead of the true volumes. Weirdly, the correct root volume was mounted.
Now my system is working correctly, but I want to get rid of the snapshots. How do I force the var and usr volumes to get the contents of the snapshots?

submitted by Quazatron
[link][3 comments]

Viewing all articles
Browse latest Browse all 17856

Trending Articles