LWN.net Logo

Fedora and LVM

Fedora and LVM

Posted Nov 2, 2012 7:45 UTC (Fri) by Cato (subscriber, #7643)
In reply to: Fedora and LVM by paulj
Parent article: Fedora and LVM

I would far prefer to avoid buggy LVM snapshots, and the fragility of root on LVM that others have mentioned.

There's a simple non-LVM approach I've used a lot, which is to create two root FS partitions - install your current distro on one, then do 'rsync -avH' from one to the other, boot into that one, and do the upgrade there.

Or simply use a good backup tool to make a backup first - a 2TB drive is not much over $100 these days, just use rsnapshot or your preferred backup tool. If you run rsnapshot daily, it will complete very quickly on a root FS that doesn't change very much, and you can then easily do file-restores and inter-day comparisons of config files (not quite as nice as etckeeper but pretty good).

Once btrfs is more mature, its snapshots look really nice, and much faster than LVM's. Of course, backups are a really good idea either way.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds