Fedora and LVM
Fedora and LVM
Posted Oct 31, 2012 18:54 UTC (Wed) by paulj (subscriber, #341)In reply to: Fedora and LVM by paulj
Parent article: Fedora and LVM
If LVM snapshots could be promoted to writeable LVs, this process would be even easier. There doesn't seem be a way though. Since Solaris switched to ZFS and IPS, it does upgrades this way I think - through writeable snapshots.
Posted Oct 31, 2012 20:11 UTC (Wed)
by dtlin (subscriber, #36537)
[Link] (1 responses)
Not sure what you mean by "writable LV" – LVM snapshots are already writable. If you want an wholly independent LV – perhaps you could just copy the snapshot to a new LV.
lvconvert --merge merges a snapshot back into the origin, for when you only want the snapshot's contents and not the origin's anymore.
(Hypothetically, at least. I've not yet tried it myself.)
Posted Oct 31, 2012 22:28 UTC (Wed)
by paulj (subscriber, #341)
[Link]
Thanks :)
Posted Nov 1, 2012 12:10 UTC (Thu)
by Cato (guest, #7643)
[Link] (1 responses)
Seriously, do a lot of testing before you rely on LVM snapshots. Or just use btrfs.
Posted Nov 1, 2012 23:02 UTC (Thu)
by agk (guest, #23332)
[Link]
They are pretty robust nowadays: the last kernel race I can recall that could lead to incorrect data was found a few years ago now.
But they are not designed to be efficient if they grow large or if you have many of them; and make sure they never run out of space (use the snapshot_autoextend* lvm.conf settings / --monitor y / dmeventd).
Fedora and LVM
Fedora and LVM
Fedora and LVM
Fedora and LVM