[lxc-users] lxc-snapshot with btrfs on debian 8.1

Matthias Leopold matthias at leopold.priv.at
Thu Jun 11 13:19:03 UTC 2015


Hi,

i'm very new to lxc and btrfs. i'm just playing around and can't use 
lxc-snapshot like it's being described.

error looks like this

root at debian:~# lxc-snapshot -n c001
lxc_container: failed getting pathnames for cloned storage: 
/var/lib/lxc/c001/rootfs
lxc_container: Error copying storage
lxc_container: clone of /var/lib/lxc:c001 failed
lxc_container: Error creating a snapshot

some questions below. i admit to having rtfm'ed only quickly ;-)

do /var/lib/lxc and /var/lib/lxcsnaps have to reside on the _same_ btrfs 
filesystem for lxc-snaphot to work? currentyl i have two separate btrfs 
filesystems

is /var/lib/lxcsnaps used at all when doing snapshots on a btrfs 
/var/lib/lxc?

do btrfs snapshots have to reside below the snapshotted root?

is this related to 
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1414771 ?

thx
matthias





More information about the lxc-users mailing list