Why do I get read-only when trying to create a new pool?

lxc storage create pool2 btrfs source=/mnt/vol2/lxd-data

error: mkdir /mnt/vol2: read-only file system

lxc storage create pool2 dir source=/mnt/vol2/lxd-data

error: mkdir /mnt/vol2: read-only file system

/mnt/vol2 isn’t mounted read only. It works fine. And I have created pool1, thus:
lxc storage create pool1 btrfs source=/dev/nbd2
(After LXD formatted the drive I mounted in fstab in the normal way)

Its just that LXD has put all is dirs in the root, and I would have preferred in a subdir like lxd-data

ls /mnt/vol2/

containers custom images snapshots

snap --version

snap 2.29.3
snapd 2.29.3
series 16
ubuntu 16.04
kernel 4.4.100-mainline-rev1

lxc --version

2.20

lxd --version

2.20

I wonder if we’re missing some snap handling logic for storage somehow, I’ll have to test this.

Reproduced the problem here, looking into it.

Should take care of this.