Hi, I’m a bit puzzled by incus admin init
: I have multiple btrfs filesystems and want to create a new subvolume in one of them (just not in /var which is on my rather small root partition). But the init command won’t let me:
$ sudo 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]:
Name of the new storage pool [default=default]:
Name of the storage backend to use (dir, btrfs) [default=btrfs]:
Would you like to create a new btrfs subvolume under /var/lib/incus? (yes/no) [default=yes]: no
Create a new BTRFS pool? (yes/no) [default=yes]:
Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]:
Size in GiB of the new loop device (1GiB minimum) [default=19GiB]:
I’ve set up LXD/incus multiple times in the past, often with non-default storage, so I’m wondering if there has been a change in the init command or if I’m simply misremembering things.
Anyway I’d like to suggest that the init
command should also ask if I want to use a new subvolume of an existing btrfs filesystem. Neither /var nor a loop device seem appropriate on my host. (I’ll probably proceed with the default /var and add a second pool, but it seems a bit inelegant to leave the /var pool to be orphaned.)