You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to take a stateful snapshot of an LXD virtual machine. When I use the --stateful parameter, I get an error saying:
Error: Failed initializing state save to "/var/snap/lxd/common/lxd/virtual-machines/a01/state": Migration is disabled when VirtFS export path '/var/snap/lxd/common/lxd/devices/a01/config.mount' is mounted in the guest using mount_tag 'config'
Repro Steps
Launch new LXD VM lxc launch --vm images:alpine/3.18 a01
Set VM config lxc config set config.migration.stateful=true
Set VM config devices.root.size.state: 1GiB
a. NOTE: (copy devices config from lxc config show --extended a01)
Summary
I’m trying to take a stateful snapshot of an LXD virtual machine. When I use the --stateful parameter, I get an error saying:
Repro Steps
a. NOTE: (copy devices config from lxc config show --extended a01)
Original post: https://discuss.linuxcontainers.org/t/error-cant-create-stateful-snapshot-of-lxd-linux-vm/17464
The text was updated successfully, but these errors were encountered: