I'm getting a weird issue with cp used with "lxc exec container-name /bin/bash /some/script.sh".

/some/script.sh launches /some/other/script.sh, which in turn may run some other script.
One of them is copying data with cp.

In some cases, cp complains that "Value too large for defined data type", for example:

'/vagrant/scripts/provision/shell/initial_deploy/rootfs/etc/php5/pool.d/phpmyadmin.conf' -> '/etc/php5/fpm/pool.d/phpmyadmin.conf' '/vagrant/scripts/provision/shell/initial_deploy/rootfs/etc/php5/pool.d/www.conf' -> '/etc/php5/fpm/pool.d/www.conf' '/vagrant/scripts/provision/shell/initial_deploy/rootfs/etc/nginx/conf.d/default.conf' -> '/etc/nginx/conf.d/default.conf' cp: '/vagrant/scripts/provision/shell/initial_deploy/rootfs/etc/nginx/conf.d/default.conf': Value too large for defined data type cp: '/vagrant/scripts/provision/shell/initial_deploy/rootfs/etc/nginx/conf.d': Value too large for defined data type


"/vagrant/" is a bind-mount directory within LXD:

  vagrant:
    path: /vagrant
    source: /home/vagrantvm/Desktop/vagrant
    type: disk


Anyone else seeing this?

The files are copied, just the warning is a bit strange.


Tomasz Chmielewski
https://lxadm.com
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to