Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171654

Block device (btrfs) in unprivileged LXC container

$
0
0
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)
Code:
SUBSYSTEM=="block", KERNEL=="sd[a-z]"...

Read more

Viewing all articles
Browse latest Browse all 171654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>