Quoting Scott Moser (smo...@ubuntu.com):
> On Tue, 5 Mar 2013, Papp Tamas wrote:
> 
> > On 03/05/2013 05:27 AM, Scott Moser wrote:
> > >
> > > I wrote the btrfs clone stuff, I just cloned the rootfs directory as it
> > > was the only thing I thought would be of any significant size.  The other
> > > things I think just get copied).
> > >
> > > Its probably me thats missing something obvious, but whats the benefit to
> > > having all of $lxc_path/$lxc_name ?
> >
> > They belong to each other.
> > If a user wants to backup a container, everything have to be saved and the
> > same is true, if the container has to be relocated.
> > If it's cloned as a template, maybe the config and fstab files are useless,
> > but I guess it's OK, if they are there, they can be removed or even used as
> > template config.
> 
> Nah, it sounds reasonable.  I hadn't thought about backing up, or
> persistent snapshots, that does make sense.  I can't think of anything
> that would hurt from the additional handful of small text files.
> 
> My driving purpose was only fast cloning.

Thanks guys.

So the only trick will be we'll need some code (at least in lxc-clone)
to make sure that we detect older sites where only the rootfs is on the
subvolume, and do the right thing.

thanks,
-serge

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to