I have a HDD connected to my PVE host, that holds data in various btrfs subvolumes. I would like to access (and ideally manage) them from an unprivileged LXC container.
After reading through several documentation pages and forum posts I attempted the following:
Create a "lxc_mount" group on the host (gid = 1000) and add root to it.
Change owning group of HDD and partition to lxc_mount via udev rule (and add symlinks for better visibility)
Read more
After reading through several documentation pages and forum posts I attempted the following:
Create a "lxc_mount" group on the host (gid = 1000) and add root to it.
Change owning group of HDD and partition to lxc_mount via udev rule (and add symlinks for better visibility)
Code:
SUBSYSTEM=="block", KERNEL=="sd[a-z]"...
Read more