I have been using Incus with the BTRFS default storage pool on a 2nd drive (ie NOT the Incus Host drive)
Old storage path:
/mnt/incus-storage-pool
Due to the Incus Host’s disk failing I had to reinstall the Incus Ubuntu Host OS & Incus.
When I executed “incus admin init” I did not specify creating/configuring a new storage pool as I wanted to use the previous Incus install’s pool because it contains all of my working Containers & VMs and I’d rather not have to recreate/configure them all again from scratch!
$ incus admin init
Would you like to use clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]: no
then after the Incus admin Init was done I executed the following but got an error due to the previous Incus’s storage pool already containing the Containers and VMs from the previous Incus install & use.
$ incus storage create incus-pool btrfs source=/media/bmullan/incus-storage-pool
Error: Requested btrfs subvolume exists but is not empty
The Incus documentation says:
Use the existing Btrfs file system at
/some/path
forpool2
:incus storage create pool2 btrfs source=/some/path
Isn’t there a way to “re-use” a previous incus install’s storage pool & contents?
My goal is to set the new Incus install to use the previous Incus’s /mnt/incus-storage-pool
and again be able to use all of my previous Incus Containers & VMs?