bind mount

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. P

    yet another lxc bind mount dump question

    Hi friends hope you're doing well. After reading this very usefull (not enough for my dumb person) explanation on bind mounts for unprivileged containers on proxmox ( + this ) i got this silly question. i always need a real life example. Hope some cool person will kindly give me a hint. I...
  13. E

    rbind-ing a zfs mountpoint for LXC containers not working as expected

    Greetings folks, I've been trying to get a Samba share set up through an unprivileged Alpine LXC container. I have a ZFS storage pool that I would like to share with this (and other) containers. Thing is I want to do this with a recursive bindmount so that I can have other containers use the...
  14. M

    [SOLVED] Filesystem type for disk bind-mounted on PBS LXC

    Hi, I have a test PVE environment at home (built on Intel NUC) where I've installed PBS in an LXC container (I don't have performance problems so I've decided to go this way instead of installing PBS packages on PVE host) that is backing up PVE VMs on an external NFS mount. Now I've got a 2TB...
  15. A

    Help needed regarding bind mount/NFS permissions.

    I recently switched to using Proxmox as my OS of choice and installed OMV inside a VM. I passed through my already existing 4TB drive and everything is good so far. Now I learned that in Proxmox if I use unprivilged LXC container, I need to mount either NFS or SMB share to Proxmox and then bind...
  16. V

    Pass hard disk to container - startup problem

    Hello, I'm trying to pass two mounted hard disks to container (103) when I start it I get:lxc_map_ids: 3672 newuidmap failed to write mapping "newuidmap: uid range [1000-1001) -> [1000-1001) not allowed": newuidmap 458165 0 100000 1000 1000 1000 1 1001 101001 64530 lxc_spawn: 1791 Failed to set...
  17. I

    How do I mount network share AFTER TrueNAS VM starts?

    I'm using a TrueNAS VM for network shares and some of my containers use network folders in that VM. So I mount the shares in Proxmox and bind mount & remap uid/gid's in my unprivileged containers. This works fine unless I reboot. Proxmox fails to mount these folders since the VM hasn't started...
  18. S

    [SOLVED] safe_mount: 1200 Invalid argument

    Running proxmox 7.1-8, Last night all my containers were working fine, this morning I rebooted the server and got this on all of them: safe_mount: 1200 Invalid argument - Failed to mount "/media/hdd" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/media/hdd" mount_entry: 2406 Invalid argument -...
  19. L

    Yet Another mounting a USB3 hard drive for guest use question.

    I am having conceptual trouble with mounting a usb hard drive for use with an LXC guest. Version is: ~$ pveversion pve-manager/7.1-8/5b267f33 (running kernel: 5.13.19-2-pve) The main references I'm using are: https://forum.proxmox.com/threads/mount-external-hdd-in-lxc-container.50897/...
  20. C

    Moving Served Files From Host to Container

    Hey guys, I just updated the BIOS and Proxmox to the latest version for each, and wanted to tackle one more issue. I've been hosting a couple network drives on my Proxmox host, basically just a network directory for music and one for torrents. I play music SOMETIMES from this directory, but...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!