Quoting Ramez Hanna ([email protected]): > Hi, > > I have started using lxc to setup a pre-production system instead of KVM > at first glance clone seemd to me that it would copy everything to a new roots > but turns out that in case of LVM it will snapshot > AFAIK snapshots are meant more for backup or testing some changes and > discarding them later > do you think it makes sense if I modify the script in this way > if user doesn't specify -s, then a new lv is created and copy all > comtents to it, rather than snapshot which would work if user uses the > -s option?
Yes, I guess I didn't implement that bit yet, but not specifying -s was meant to do a simple copy. You'll probably want to check whether the original was a simple directory tree or an lvm, and only lvcreate if the original was an lvm. (then lxc-convert can offer conversion from one to the other.) -serge ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
