On Mon, Aug 29, 2011 at 4:19 PM, Serge Hallyn <[email protected]> wrote: > 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 >
I did implemet that patch submitted yesterday, would appreciate any comments ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
