Alternate of LXC File Copy

Hi All,

I have a LXC container using CEPH based storage. I am supposed to copy 2TB worth of data into this container so that it can hold it in the CEPH storage. Currently I am using LXC file push command to copy the same into the LXC container. It is quite slow and only copied 300GB worth of data in 6 hours. Is there a faster way to do the same ?

1 Like

You could try using scp/rsync into the container directly rather than sending the data through LXD.

You could also try lxc file mount to mount the container’s directory locally, but that will still flow through LXD.

Thanks for the reply @tomp

True, LXC file mount is again through lxc. Let me try with rsync then if it is any faster than lxc file push