[linux-lvm] Backup of ROOT Partition.

Bryan Kadzban bryan at kadzban.is-a-geek.net
Tue Jul 1 11:03:26 UTC 2008

Hash: RIPEMD160

Jean-Philippe Villeneuve wrote:
> I would like to know if I can backup all my system partitions(ROOT 
> included) using a snapshot?

Depends on what you mean by "backup [...] using a snapshot".

If you mean taking a snapshot, then mounting it somewhere and pointing
your backup software to that mount point, then unmounting and deleting
the snapshot after the backup is done, then yes, it should work fine.

If you mean taking a snapshot and leaving it around forever *as* the
backup, then that will work -- but the more backups you have, the slower
LVM gets (currently).  This is because of the copy-on-write code: every
time the root logical volume changes, all of the snapshots need to be
updated.  If you only have one or two snapshots, this isn't so bad, but
if you had (say) 20, writing to your real root LV would slow to a crawl.

There is some code hanging around somewhere that I *think* is supposed
to handle this better, but I don't know the status...
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the linux-lvm mailing list