bind mount

  1. G

    [LXC] PVE device mount via extreme tmpfs trickery

    GETTING STARTED INFO : You may know [ but better not to, you will sleep better ] that PVE have `device mount` support in `LXC` which was made not by classic `lxc.mount.entry = /from /to none bind,create=dir 0 0` + all known `lxc.cgroup2.devices.allow` but rather , yes , by all known...
  2. S

    Starting LXC Container with bind mount changes the owner of that mount on the filesystem

    Hello all, I have the following configuration (and similar like it) for a lot of my LXC containers: ./209.conf:mp0: /mnt/glusterfs/hub-volume/andrewcz-org/firefly-importer_uploads,mp=/var/lib/firefly-importer/data/storage/uploads ./209.conf:mp1...
  3. F

    UID/GID mapping breaking in-container UID/GIDS?

    hi all, i am migrating to jellyfin as a kodi replacement, and for this i intended to use the following setup: a jellyfin LXC backend (naturally), installed via community scripts a "NAS" container to manage my files via web / SMB / ... ... both accessing the same files on the host via bind...
  4. P

    Plex doesn't see file in mounted folder

    Hi, I've a LXC container with a plex installation in it. The container has a bindmount to a media folder (directory type on host) which contains two other folders (music and video). For the LXC console I can see and browse all folder and files inside it but when I connect to the Plex web...
  5. V

    Using ZFS commands inside LXC container

    Hi, I am trying to set up a debian 13 LXC container on Proxmox 9.0.11 from which I can manage ZFS pools. I managed to bind the ZFS storage to the container, however, now I am struggling to get ZFS commands to work inside the container. When I try to use a ZFS command, I get zpool status Failed...
  6. F

    Bind-mount in LXC container – seltsamer Effekt

    Hallo liebes Forum, ich habe mir als Ablöse für Kodi einen Jellyfin LXC container mit dem Community-Script erstellt. Das klappt super. Jetzt wollt ich meine Media-USB-Platte in diesen Container einhängen. Hier gehen die Probleme los: Das Einhängen an sich funktioniert: mp0...
  7. V

    LXC Container directories owned by nobody nogroup

    Hello all Been banging my head a bit and I know there are 100s of threads, I've read most I can get hold of. My issue is not the bind mount, that works. Issue is that /lost+found, /proc and /sys inside the container is owned by nobody nogroup after all my fiddling. Figured I'd ignore the...
  8. P

    [SOLVED] Files in bind mount not visible

    Hello, recently, I decided to change how my NAS should work (VM with OMV ---> LXC with Cockpit) to make better use of the shared folders/files/mount because I wanted an arr-Stack. I found these awesome Tutorials Tutorial bind mounts and ZFS bind mounts. I got it to work except for the Tdarr...
  9. O

    Bind mount confusion

    I am hoping somebody here can help, I have been trying to work this out for what seems like weeks. I have a ProxMox host with a 1tb SSD drive setup on it as /mnt/drive1, when I do ls -l I get this output drwxr-xr-x 7 root root 4096 Dec 8 01:25 drive1 I have an unprivileged container called...
  10. J

    Mounting disk to unprivileged container

    Sorry for what I'm sure is an exceedingly stupid question, but is this an insecure way to mount an external disk to an unprivileged container? I added this to /etc/fstab, the disk mounts at boot, and I have rwx permissions as the user with ID 101000 in the container: UUID=XXXX-XXXX /mnt/files...
  11. E

    Best / safest storage solution for OMV LXC with Proxmox residing on 1 SSD?

    Hello, I am new to proxmox but quite familiar with linux (not an expert though). So I have some questions for my new Proxmox home-server for using with OMV LXC as a NAS system. I installed Proxmox on 1 SSD with 1TB (931.5GB) with standard storage system (lvm-thin / ext4). No external disks...
  12. N

    [SOLVED] possible bug: bindmount into running container no longer works

    Since 2022, I can bind-mount into a running comtainer (see this post). While this still worked in January 2024, it's no longer working now. root@pve:/# pct set 104 -mp1 /media/tmp,mp=/media/usb,replicate=0 400 Parameter verification failed. mp1: unable to hotplug mp1: failed to move 'mp2' into...
  13. P

    Bind Mount Permissions in Unprivledged Container

    Going around in circles trying to configure a NFS bind mount for my Nextcloud container. I've added a NFS share to my host via the Proxmox GUI and from the host I can access the folder and the contents fine. I've been following numerous guides on this forum and this one too...
  14. B

    Unprivileged_LXC_containers bind mounts

    Hey there, I try to pass a NFS folder from a NAS through the pve into an container. I'm able to acces the folder on the host (and edit it) but in my Container I just can see it but get the notorious acces denied error. I was using this as a guide on how to set things up. From what I read around...
  15. J

    Safely sharing host directory amongst multiple LXC containers

    A quick validation question for the gurus here: Is it possible to bind mount a host directory to multiple LXC containers and not run into disk write conflicts? Let's say there is a folder [or entire drive] on the host at /mnt/ssd/myfolder. And I have multiple unprivileged LXC containers, say...
  16. P

    LXC bind mount permissions for user accounts

    I'm new to Proxmox and really just wanting to see how well it handles video encoding with an Intel Arc GPU. 2 LXC containers (plex and jellyfin) 1 VM running Debian Docker services installed New user created and added to the docker group Docker is running a samba container Bind mounts...
  17. M

    Restoring LXC with shared bind mount

    I have a container with a bind mount which is not included in the backups. When I try to restore the container, I get this error: The size of the disk in the GUI is listed as 32.99TB so, would I change my config line from mp0: btank:subvol-115-disk-0,mp=/tank to mp0...
  18. M

    PCT without bind size in config and backups

    Hi there, Here is my scenario maybe you can suggest a better method or solution. First, I use multiple LXCs, and each has a bind mount to a single volume so that they can share data. this was done by adding mp0: btank:subvol-115-disk-0,mp=/tank to each container's config. One issue is that the...
  19. L

    Proxmox hangs after transmitting large amount of data over sshfs

    I have an LXC container that has a bind mount to a host folder. That host folder is a mount itself to a folder on a raspi over an sshfs connection. I am running a backup script every night that writes data to the mounted folder in the container so that it is written to the Pi. This worked...
  20. E

    Help needed with UID remapping for bind mounts

    After remapping UID, my container errors out during reboot. I got the following error message: lxc_map_ids: 3701 newuidmap failed to write mapping "newuidmap: uid range [0-3002) -> [100000-103002) not allowed": newuidmap 1395810 0 100000 3002 3002 3002 1 3003 103003 62533 lxc_spawn: 1788 Failed...