Closed bazaah closed 4 years ago
lxc config device override NAME root raw.mount.options=user_subvol_rm_allowed
Does that do what you want?
You can also set it globally on your entire pool, that part should work just fine:
lxc storage set <pool> volume.block.mount_options user_subvol_rm_allowed
The override didn't work but the global setting did. Thanks.
You can also set it globally on your entire pool, that part should work just fine:
lxc storage set <pool> volume.block.mount_options user_subvol_rm_allowed
Is this for lxd or for lxc? Because I don't understand yet were to set this option in my unprivileged lxc setup.
Is it to be configured in e.g. /home/lxc/.config/lxc/default.conf
?
This is for LXD only.
See https://linuxcontainers.org/lxd/docs/master/howto/storage_pools/#configure-storage-pool-settings
Required information
Issue description
I am no longer able to set
block.mount_options: user_subvol_rm_allowed,<others>
inside a container volume, when the underlying storage is ceph, with a btrfs rbd. I see no way in the configuration options to set ceph btrfs rbd(s) to useuser_subvol_rm_allowed
. This is a regression for me, as I used to be able to do this in 3.17.Did I miss documentation of an updated method for achieving this somewhere?
Steps to reproduce
lxc storage volume edit/set <pool> <container> block.mount_options=user_subvol_rm_allowed
Error: Not supported