]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-clone: maintain size of lvm snapshot
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 31 Jul 2012 14:01:28 +0000 (16:01 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 31 Jul 2012 14:01:28 +0000 (16:01 +0200)
commit93f292149ea555a61cf043acf760ce2520b43472
treed4c662ad0a4a67c50c1d3fc129001155ac91d0c7
parent96bd45c823a8b8aaf1d684ccc8ad063ac411a0f4
lxc-clone: maintain size of lvm snapshot

When creating a container as lvm snapshot, use the original size unless
user explicitly overrides it.
It's all well and good to day "use lvextend if you run out of space", but
in the meantime applications may become corrupted...

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-clone.in