Hi!
I am copying an instance from an LXD container (zfs) to another LXD container (lvm). Copied 5.13 GB, then I get an error message:
Error: Failed instance creation: Error transferring instance data: Got error reading migration source: websocket: close 1000 (normal)
LXD containers are connected to a single switch.
Instances with a smaller size, less than one gigabyte is copied without errors.
Please can you try with LXD 5.4 which is currently supported and see if it is still an issue. There have been several migration fixes in versions since LXD 5.1. Thanks
it didn’t help
after the update, when I start copying I get an error:
Error: Failed instance creation: Error transferring instance data: Rsync send failed: foo-big, /var/snap/lxd/common/lxd/storage-pools/default/backup.2103835217/: [exit status 11 read unix @lxd/60bebd6c-29fe-4eb7-96b8-ebd87b56c57d->@: use of closed network connection] (rsync: write failed on "/var/snap/lxd/common/lxd/storage-pools/default/containers/foo-big/rootfs/var/log/journal/7329cb3f52614fe3886b3789bcb46b53/system@725d32be92e447c0b5844ab9686ed7f5-0000000001b2a7e6-0005e57a41151689.journal": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(374) [receiver=3.1.3]
When copying an instance larger than 10GB from ZFS storage to LVM storage, you need to create or edit an existing profile, specifying the size of the instance being copied in it.
Then copy the profile from ZFS to LVM, and only then start copying.
LVM storage immediately reserves the space that is specified in the copied profile, and not 10GB as it is done by default