With LXD 3.17 (snap install), my default storage is set on a btrfs subvolume, mounted in /etc/fstab like this:
/dev/sdc /var/snap/lxd/common/lxd/storage-pools/default btrfs subvol=lxd/storage/default,defaults,ssd,discard,noatime 0 1
The ssd was created with mkfs.btrfs /dev/sdc (full btrfs drive)
I have already moved some CT to that storage, and all seemed to work well.
- If I do a “lxc storage info default”, I get this:
Error: block device required
- If I create some new CT “lxc launch images:debian/buster cloud”, I get the same error:
Error: Failed container creation: Create container from image: Failed to mount storage pool: block device required
- I tried to set storage.backups_volume and storage.images_volume into that storage, (like @stgraber showed in LXD 3.17 has been released ), but I get this when I enter
lxc config set storage.backups_volume default/backups Error: Failed to mount storage volume "default/backups": block device required
My storage pool is configured like this:
lxc storage show default config: source: /var/snap/lxd/common/lxd/storage-pools/default volatile.initial_source: /var/snap/lxd/common/lxd/storage-pools/default description: "" name: default driver: btrfs used_by: - /1.0/containers/dev1 - /1.0/containers/dev2-386 - /1.0/profiles/default - /1.0/profiles/publicCT - /1.0/storage-pools/default/volumes/custom/backups - /1.0/storage-pools/default/volumes/custom/images status: Created locations: - none
What’s wrong with my setup and what should I do? I don’t really know how/where to dig in. Thanks for your help or suggestions!