[lxc-users] lxc snapshot ... --stateful - "read-only file system"

Tomasz Chmielewski mangoo at wpkg.org
Sat Jan 9 09:58:16 UTC 2016


I'm trying to do a stateful snapshot - unfortunately, it fails:

# lxc snapshot odoo08 "test"  --stateful
error: mkdir /var/lib/lxd/snapshots/odoo08/test/state: read-only file 
system


Does anyone know why? The following log is created:

             lxc 1452328231.622 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 100000 
range 65536
             lxc 1452328231.622 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 100000 
range 65536
             lxc 1452328231.626 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:994 - do_cgm_get exited with error


Running:

ii  liblxc1                             
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64        Linux Containers 
userspace tools (library)
ii  lxc                                 
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64        Linux Containers 
userspace tools
ii  lxc-templates                       
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64        Linux Containers 
userspace tools (templates)
ii  lxcfs                               0.15-0ubuntu2~ubuntu14.04.1~ppa1 
    amd64        FUSE based filesystem for LXC
ii  lxd                                 0.26-0ubuntu3~ubuntu14.04.1~ppa1 
    amd64        Container hypervisor based on LXC - daemon
ii  lxd-client                          0.26-0ubuntu3~ubuntu14.04.1~ppa1 
    amd64        Container hypervisor based on LXC - client
ii  python3-lxc                         
1.1.5-0ubuntu3~ubuntu14.04.1~ppa1   amd64        Linux Containers 
userspace tools (Python 3.x bindings)


# uname -a
Linux srv7 4.3.3-040303-generic #201512150130 SMP Tue Dec 15 06:32:30 
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Tomasz Chmielewski
http://wpkg.org/


More information about the lxc-users mailing list