Hi,
I've some questions for which I couldn't find good answers online and I'd
like your suggestions.

OS: Linux/Debian 8 Jessie
LXC: 1.0.6-6
Backing store: LVM

It seems that snapshot clones cannot be done online :
"lxc-clone -s"  require the original container to be stopped!
i.e. : << lxc_container: error: Original container (lxc1) is running >>
It actually works when I lxc-stop the container.
==>This means I cannot do a snapshot of a live container.
Does this depends on LVM or the same apply for btrfs and zfs?
BTW, all the online examples I've found regarding "lxc-clone -s" seems to
assume online clone snapshotting !

==>What is the difference between "lxc-clone -s" and "lxc-snapshot" ?
In any case:
lxc-snapshot _doesn't_ work at all (in my configuration)
i.e. :

> root@deb:~# lxc-snapshot -n lxc1 -o /tmp/mylog
> lxc-snapshot: lxc1's backing store cannot be backed up.
> lxc-snapshot: Your container must use another backing store type.
> lxc-snapshot: Error creating a snapshot
>

==>Again, is it a problem of LVM backing store ?
And, can I change the working directory of lxc-snapshot at runtime?

If you have any reference to online resource on this subject (lvm/lxc) is
welcome :)

Regards,
-- Marco
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to