[lxc-devel] lxc-copy isn't operable in '--snapshot' mode + LVM thin provisioning

Vitaliy Baskoff v-baskoff at baks-lab.org.ua
Wed Apr 13 12:16:31 UTC 2016


Hi All,

ENV: OracleLinux 7.2 + rpm built using .spec from source tarball
sudo lxc-copy --version
2.0.0

lxc-copy fails to copy base container on top of LVM thin provisioned volume.

---------------

STR:
0. sudo lxc-create --name=template --bdev=lvm --vgname=lxdata
--thinpool=lxpool --fssize=15G --template=./template/lxc-lxsys.sh --
--target-mr=55.0 --storage-url=ftp://md.intra/
1. sudo lxc-copy --name='template' --newname='config+log' --snapshot -B lvm
--logpriority='DEBUG' --logfile='./copy.log'

Logical volume "config+log" created.
lxc-copy: bdev/bdev.c: mount_unknown_fs: 780 failed to determine fs type
for '/dev/lxdata/config+log'
File descriptor 4 (/run/lxc/lock/var/lib/lxc/.config+log) leaked on
lvremove invocation. Parent PID 7448: lxc-copy
  Logical volume "config+log" successfully removed
clone failed

---------------
Please advice.

-- 
Best regards,
Vitaliy Baskoff
Baks'-Laboratory, Founder/System Administrator
baks-lab.org.ua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160413/a3600ac5/attachment.html>


More information about the lxc-devel mailing list