<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br></div>I've some questions for which I couldn't find good answers online and I'd like your suggestions.<br><br></div>OS: Linux/Debian 8 Jessie<br></div>LXC: 1.0.6-6<br></div>Backing store: LVM<br><br></div>It seems that snapshot clones cannot be done online :<br>"lxc-clone -s"  require the original container to be stopped!</div>i.e. : << lxc_container: error: Original container (lxc1) is running >><br></div><div>It actually works when I lxc-stop the container.<br></div>==>This means I cannot do a snapshot of a live container. <br>Does this depends on LVM or the same apply for btrfs and zfs? <br>BTW, all the online examples I've found regarding "lxc-clone -s" seems to assume online clone snapshotting !<br><br></div>==>What is the difference between "lxc-clone -s" and "lxc-snapshot" ?<br></div><div>In any case:<br></div>lxc-snapshot _doesn't_ work at all (in my configuration)<br></div><div>i.e. :<br></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">root@deb:~# lxc-snapshot -n lxc1 -o /tmp/mylog<br>lxc-snapshot: lxc1's backing store cannot be backed up.<br>lxc-snapshot: Your container must use another backing store type.<br>lxc-snapshot: Error creating a snapshot<br></blockquote><br></div>==>Again, is it a problem of LVM backing store ?<br>And, can I change the working directory of lxc-snapshot at runtime?<br><br></div>If you have any reference to online resource on this subject (lvm/lxc) is welcome :)<br><br></div>Regards,<br></div>-- Marco<br><div><div><div><br></div></div></div></div>