I’m currently trying to import a virtual machine created with
lxc export. However I’m running into some ZFS-related trouble (I think):
Error: Create instance from backup: Error starting unpack: Failed to run: tar -zxf - --xattrs-include=* -C /var/snap/lxd/common/lxd/storage-pools/storage-pool/virtual-machines/the-vm --strip-components=2 backup/virtual-machine: tar: state: Cannot write: Disk quota exceeded
This seems odd to me as neither my root filesystem, nor my ZFS volume are full:
Filesystem Size Used Avail Use% Mounted on udev 40G 0 40G 0% /dev tmpfs 7.9G 4.5M 7.9G 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 365G 37G 310G 11% /
NAME USED AVAIL REFER MOUNTPOINT storage-pool 2.08T 623G 39.3K /storage-pool storage-pool/k8s 39.3K 623G 39.3K /storage-pool/k8s storage-pool/lxd 384G 623G 39.3K /mnt/tmp/
I dont have a
resreservation set either on any ZFS (sub)volume. The VM’s configured root disk size is 30GB, the backup itself is 2.2GB.
Linux artemis 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
The original export was created with
lxc export on a btrfs filesystem, which wasn’t full either nor does it use quotas.
lxc copy fails with the same error (this is what I initially tried).
Any help would be appreciated. Thanks!