[lxc-users] lxc-clone not working

Vishnu Kanth crazyvishnu007 at gmail.com
Wed Apr 29 15:40:24 UTC 2015


Hi,

I have created a container say base and I am trying to create a clone of
the base container with backing store as overlayfs. But it always fails
with the following error,

lxc_container: bdev.c: overlayfs_mount: 2237 No such device -
overlayfs: error mounting /var/lib/lxc/base/rootfs onto
/usr/lib64/lxc/rootfs options
upperdir=/var/lib/lxc/s0/delta0,lowerdir=/var/lib/lxc/base/rootfs,workdir=/var/lib/lxc/s0/olwork
clone failed


Am using CentOS Linux release 7.1.1503 and lxc-1.0.7-1.el7.x86_64. I tried
this command, *sudo mount -t overlay -o
lowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/work overlay
/tmp/merged* which is also working fine.

Any idea what could be the issue?

-- 
~VISHNU~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150429/21ccd7d1/attachment.html>


More information about the lxc-users mailing list