[lxc-users] Copying/cloning a container between nodes if LXC/LXD is not running

Rahul Rege rahul.rege at sungardas.com
Wed May 4 05:14:14 UTC 2016


Just my 2 cents : I am not following the LXD alot but if it supports live
migration, I believe it does, then it'd be taking care of similar things
(remapping etc) when it resumes the container on another host. You may try
this on another set of hosts and check how that looks may be.

On Wed, May 4, 2016 at 2:32 AM, Ron Kelley <rkelleyrtp at gmail.com> wrote:

> Greetings all,
>
> I updated some packages on my Ubuntu 15.10 server today which (when
> rebooted) caused the bridged networking to no longer work.  As a result,
> the LXD daemon would not start, in turn, preventing me from spinning up
> some containers.  After fixing the networking issue, I realized I don’t
> have an emergency plan/process to recover a container on Node-B if Node-A
> fails.
>
> I am looking for a way to rsync container-1 on Node-A to Node-B if/when
> LXC/LXD is not running on Node-A.  I realized the UID/GID values are
> different between the nodes, thus I need a way to sync the rootfs between
> nodes and remap the UID/GID properly.
>
> Any pointers?
>
> Thanks.
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160504/df3108c6/attachment.html>


More information about the lxc-users mailing list