Reinstalled my Ubuntu 22.04 host - used lxd-init to define storage as a btrfs block device using an existing 2TB NVME SSD

After LXD init my 2TB NVME SSE was identified as “default” LXD storage

I then used grsync to copy my old system’s LXD storage “default” files/directories to the new LXD init’d “default” storage … NVME 2TB SSD

As root I can see all the LXD Containers and VMs images etc on the NVME 2TB SSD.

Rebooted but…

$ lxc ls

Lists nothing. No LXD containers or VMs.

$ lxc storage list

Does show the correct NVME disk as "default “storage”

Is there some step I left out here?

Thanks for any quidance…

brian

Hi @bmullan

Try this command “lxd recover”

https://linuxcontainers.org/lxd/docs/master/backup/

Hope that helps
Regards.

I had just become aware of that command. Unfortunately in my case 1 of the containers or vm had its original .ISO directory removed so the LXD recover stopped at that point.

Its okay. I can always recreate everything again.

Thanks tho’
Brian

1 Like