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

Thomas Tanaka thomas.tanaka at oracle.com
Wed Apr 13 17:50:02 UTC 2016


Hi Vitaliy,

Which kernel are you using with OL7.2 ?

On 4/13/2016 5:16 AM, Vitaliy Baskoff wrote:
> 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 <http://baks-lab.org.ua>
>
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Regards,

Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160413/75093cef/attachment.html>


More information about the lxc-devel mailing list