<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 20, 2017 at 5:11 PM, Andriy Tovstik <span dir="ltr"><<a href="mailto:syswiper@gmail.com" target="_blank">syswiper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, all!<div><br></div><div>Due to hardware failure i loose my system HDD with ubuntu installation. I'm going to reinstall system. Also i have two HDD with ZFS filesystem - lxc pool from this system. </div><div>Could anyone explain me, is it possible to import my containers from this pool to new system after installation?</div><div><br></div></div></blockquote><div><br></div><div>import? kind of.</div><div><br></div><div>If you have BOTH /var/lib/lxd (plus /etc/default/lxd-bridge, if you use lxd 2.0.x) AND the container rootfs storage (lxc pool in your case), it should simply be a case of placing those files/dirs in the new system and starting lxd.</div><div><br></div><div>If you ONLY have lxd pool (without /var/lib/lxd), then you should be able to create a new container, and replace the rootfs with your old one. But that means container-specific settings (e.g. cpu/memory limits, mac address, etc) is reset to the defaults (or in the case of mac, random value). The exception is if you also store the output 'lxc config show container_name' for each container; this can then be used to overwrite the default/random values.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>