[lxc-users] Container Migration

Tycho Andersen tycho.andersen at canonical.com
Mon Feb 9 09:01:00 UTC 2015


On Sun, Feb 08, 2015 at 05:30:19PM +0100, Thouraya TH wrote:
> Hello all :)
> 
> 
> *Is there a tutorial that specifies the data that will be imported
> during a migration of a container? only CRIU **images?*
> 
> 
> *Tycho: Both the CRIU images and the container disk will be moved; you
> can seethis because there are two calls to do_rsync in the script.*
> 
> 
> I have a question please: if i'd like to calculate to total size
> of data to send to the destination node
> 
> do_rsync $LXCPATH/$name/  (Please, how can i obtain the size of this
> directory ?)

Try the 'du' command.

> do_rsync $checkpoint_dir/  (size of the
>  directory that contains the images of CRIU )
> 
> 
> Thanks a lot.
> 
> Best Regards.

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list