Package: lxc
Version: 1:1.0.7-10
Followup-For: Bug #797694
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
From: =?utf-8?q?=C3=89tienne_BERSAC?= <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: lxc-clone fails because overlay filesystem doesn't exist
Message-ID: <144504138922.15698.2958522324542113517.reportbug@longitude>
X-Mailer: reportbug 6.6.5
Date: Sat, 17 Oct 2015 02:23:09 +0200
Package: lxc
Version: 1:1.0.7-10
Followup-For: Bug #797694
Hi,
I also can't get lxc-clone to work with snapshot. aufs-tools is not in stretch
and overlayfs is not working. Note that docker works.
Steps to reproduce:
root@longitude:/t# lxc-create -t download -n original -- -d debian -r wheezy
-a amd64
Using image from local cache
Unpacking the rootfs
---
You just created a Debian container (release=wheezy, arch=amd64,
variant=default)
To enable sshd, run: apt-get install openssh-server
For security reason, container images ship without user accounts
and without a root password.
Use lxc-attach or chroot directly into the rootfs to set a root password
or create user accounts.
root@longitude:/t# lxc-clone -s -B overlayfs original clone
lxc_container: bdev.c: overlayfs_mount: 2237 No such device - overlayfs:
error mounting /var/lib/lxc/original/rootfs onto
/usr/lib/x86_64-linux-gnu/lxc/rootfs options
upperdir=/var/lib/lxc/clone/delta0,lowerdir=/var/lib/lxc/original/rootfs,workdir=/var/lib/lxc/clone/olwork
clone failed
root@longitude:/t#
Note that overlay may be not configured :/
root@longitude:/t# find
.
./w
./l
./m
./u
root@longitude:/t# mount -t overlay overlay -o
upperdir=/t/u,lowerdir=/t/l,workdir=/t/W /t/m/
mount: special device overlay does not exist
root@longitude:/t#
Do you have some clue ?
Regards,
Étienne BERSAC
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lxc depends on:
ii init-system-helpers 1.23
ii libapparmor1 2.10-2+b1
ii libc6 2.19-22
ii libcap2 1:2.24-12
ii liblxc1 1:1.0.7-10
ii libseccomp2 2.2.3-2
ii libselinux1 2.3-2+b1
ii python3 3.4.3-6
Versions of packages lxc recommends:
ii debootstrap 1.0.72
ii openssl 1.0.2d-1
ii rsync 3.1.1-3
Versions of packages lxc suggests:
pn lua5.2 <none>
-- Configuration Files:
/etc/lxc/default.conf changed [not included]
-- no debconf information
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lxc depends on:
ii init-system-helpers 1.23
ii libapparmor1 2.10-2+b1
ii libc6 2.19-22
ii libcap2 1:2.24-12
ii liblxc1 1:1.0.7-10
ii libseccomp2 2.2.3-2
ii libselinux1 2.3-2+b1
ii python3 3.4.3-6
Versions of packages lxc recommends:
ii debootstrap 1.0.72
ii openssl 1.0.2d-1
ii rsync 3.1.1-3
Versions of packages lxc suggests:
pn lua5.2 <none>
-- Configuration Files:
/etc/lxc/default.conf changed [not included]
-- no debconf information