Hi. I would like to be able to create ephemeral copies of unprivileged LXD 4 containers in tmpfs on Ubuntu 20.04.2. I attempted the following on a freshly installed system, kernel 5.8.0-53, LXD 4.0.6, but got an error. Are you able to help me troubleshoot?
Error: Create instance from copy: Create instance volume from copy failed: [Rsync send failed: u2004, /var/snap/lxd/common/lxd/storage-pools/u1/containers/u2004/: [exit status 23 read unix @lxd/750cec4f-5311-4c66-9813-0484d03bb26f->@: use of closed network connection] (rsync: rsync_xal_set: lsetxattr(“”/var/snap/lxd/common/lxd/storage-pools/ram/containers/u2004-e/rootfs/var/log/journal/5e4ff19e548b4a8ca830426e6086c9ca/.system.journal.4yAKtH"",“user.crtime_usec”) failed: Operation not supported (95)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
)]
Everything works fine without “-s ram”. It also works with it but without mounting that folder as tmpfs.
Thank you! Now I recall years ago I had to do something with extended attributes for the tmpfs mount point for a similar setup, but for LXC on Ubuntu 16.04.