Can you launch new VMS of the same image in the new storage pool. Trying to work out if the vm itself and the source image on the original pool are corrupt or whether its something else on your system.
I created it on the new storage in my previous message (storage is attached to my profile):
$ lxc launch images:ubuntu/focal/cloud ubuntu-focal --vm --target=rpi01 --console -p test1
Creating ubuntu-focal
The instance you are starting doesn't have any network attached to it.
To create a new network, use: lxc network create
To attach a network to an instance, use: lxc network attach
Starting ubuntu-focal
To detach from the console, press: <ctrl>+a q
BdsDxe: loading Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)
error: file `/boot/' not found.
error: no such device: /.disk/info.
error: no such device: /.disk/mini-info.
[ 242.666848] INFO: task sfdisk:338 blocked for more than 120 seconds.
[ 242.675632] Not tainted 5.4.0-70-generic #78-Ubuntu
[ 242.681203] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
How did you solve the btrfs dmesg issue?
I did this (twice):
nsenter -t $(pgrep daemon.start) -m -- umount /var/snap/lxd/common/lxd/storage-pools/default
nsenter -t $(pgrep daemon.start) -m -- /snap/lxd/current/bin/btrfs check --repair /dev/mmcblk0p3
nsenter -t $(pgrep daemon.start) -m -- /snap/lxd/current/bin/btrfs quota rescan /var/snap/lxd/common/lxd/storage-pools/default
Your VM size looks a bit small, have you tried specifying a larger size, say 10gb?
I recreated my pool with 10GB and it stills the same:
$ lxc launch images:ubuntu/focal/cloud ubuntu-focal --vm --target=rpi01 -p test1 -s test1 --console
Creating ubuntu-focal
The instance you are starting doesn't have any network attached to it.
To create a new network, use: lxc network create
To attach a network to an instance, use: lxc network attach
Starting ubuntu-focal
To detach from the console, press: <ctrl>+a q
BdsDxe: loading Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)
BdsDxe: starting Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)
error: file `/boot/' not found.
error: no such device: /.disk/info.
error: no such device: /.disk/mini-info.
$ lxc profile show test1
config: {}
description: ""
devices:
root:
path: /
pool: test1
type: disk
name: test1
used_by:
- /1.0/instances/ubuntu-focal
$ lxc storage info test1 --target=rpi01
info:
description: ""
driver: btrfs
name: test1
space used: 4.39GB
total space: 10.00GB
used by:
images:
- 0b37fd286f09bfba70ffb9c9a7ba020a779945fd94dc3d29e326c4f3a47753ca
instances:
- ubuntu-focal
profiles:
- test1