Search results for query: bindmounts

  1. Lxc with docker: apps do not see/cannot access proxmox bind mount share

    ...docker installed in one of my lxc unpriviledged containers. This container has access to a nfs share in the promox host mounted under mnt/bindmounts/nfs. However, the apps I install in this lxc container/docker, like jellyfin for example, cannot access or do not seem to see this nfs share...
  2. Unprivileged LXC local directory bind mount point not working

    ...unprivileged LXC (Proxmox 7) From this page - Unprivileged LXC containers it seems like all I need to do is to add pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared To the LXC configuration file. I did this: 102.conf arch: amd64 cores: 8 features: keyctl=1,nesting=1 hostname: docker...
  3. Bind mounts and unpriviledged lxc: how to mount share under /mnt/bindmounts "for security reasons, bind mounts should only be established using source directories especially reserved for this purpose, e.g., a directory hierarchy under /mnt/bindmounts." But how do I mound the NFS share under /mnt/bindmounts instead of the current or default /mnt/pve? Thanks.
  4. oguz

    Is it possible to mount a drive to store files to be able to share with Containers.

    hi, yes you can. see bind mounts [0] [0]:
  5. Bind SMB/CIFS mount point or priviliged LXC with CIFS Utils?

    ...not support that content type. You can ignore it, the VMs and containers will boot fine. Maybe I aught to submit a feature request since bindmounts are the preferred/recommended method for CIFS/NFS mounting within unprivileged containers -- these storage types should be permissible for...
  6. dcsapak

    Wie funktionieren Mount point - backed storage

    bin mir gerade nicht sicher welche '3. variante' du meinst, kannst du auf die doku verlinken ? wenn du 'bind mounts' meinst, das beispiel aus der doku ( ist doch ziemlich klar: mp0: /pfad/zum/dir/am/host,mp=/pfad/im/gast
  7. LXC block device direct access and other device/PCI passthrough?

    This is very interesting, thank you. I was not aware that bindmounts could provide direct disk access! All use cases I see both on the forum out off the forum seem to indicate some level of abstraction. Do you have a specific search result where it shows giving direct hardware access to the...
  8. oguz

    LXC block device direct access and other device/PCI passthrough?

    hi, yes, you can do device passthrough with bindmounts [0] searching the forum will land you to some similar setups for sure. [0]:
  9. Container w/ mount point snapshots

    Just an update, until Proxmox changes their mind about bindmounts inside an LXC for causing it to suspend and do a slow zdump (making Proxmox Backup Server real slow), the whole point of PBS is to speed up backups. Only plus side is the smaller backup size. I think going forward, I will make a...
  10. oguz

    LXC or VM to run docker containers

    ...also the container need not be unconfined, a good option for using cifs in your container would be to mount the share on your host instead, and use lxc bindmounts [0] to make it available for the container. hope this helps [0]:
  11. Turnkey File Server permission problems

    Okay, so I think I figured it out (sort of). I am still not sure as to why changes made to the mounted folder inside the container do not show up in the supposedly same mounted folder on the host. What I did was start over and create a new folder and also mounted it in the container (BTW: this...
  12. LXC Containers + Bindmounts + ZFS Snapshots

    If I have a linux LXC container installed on ZFS, with some bindmounts manually added to the configuration (also zfs, but a different dataset on the same pool), I cannot take zfs snapshots any more. Is there a way around this? I don't care about snapshotting the datasets. I'm doing that...
  13. Stefan_R

    Mount point availability and hook script post-start phase

    The hook script does not run inside the container, but on the PVE host. Thus the bindmount will not be visible, as it will only be mounted within the CTs mount namespace. If you need to change something in that directory, you'd have to access it via /mnt/bindmounts/shared in this example.
  14. Mount point availability and hook script post-start phase

    ...debian arch: amd64 cores: 1 memory: 1024 swap: 1024 rootfs: local:100/vm-100-disk-0.raw,size=10G onboot: 0 unprivileged: 1 mp0: /mnt/bindmounts/shared,mp=/root/post-start.d,ro=1 hookscript: local:snippets/ I am trying to execute a command from the container hook script ( at...
  15. Stoiko Ivanov

    [SOLVED] Cluster Updating 5x to 6x

    ...the steps: * zpool import with and alt-root set * bind-mount /proc, /sys, /dev, /dev/pts, into the root * chroot inside * run `dpkg -l |grep -i zfs' * run `dpkg -l |grep <the version of zfsutils-linux` there should be tons of howtos on the internet for the bindmounts and chroot I hope this...
  16. LXC backup doesn't finish

    ...out the problem? LXC config: arch: amd64 cores: 16 cpulimit: 16 features: nesting=1 hostname: os lock: backup memory: 4224 mp0: /mnt/bindmounts/shared2,mp=/shared net0: name=eth0,bridge=vmbr0,firewall=1,gw=,hwaddr=5E:23:43:5C:9D:8F,ip=,type=veth onboot: 1...
  17. zfs vol in a new lxc

    ...want to start anymore, it is because the bind-mounts can't be mounted anymore. Samba shares not mounted yet and so on. You can edit the "/etc/pve/lxc/IdOfYourLXC.conf" (for example /etc/pve/lxc/100.conf) and look at or change the line with the bind-mount: "mp0: /mnt/bindmounts/shared,mp=/shared"
  18. NFS share fstab not mounting automatically, need to always manually get it running again

    Hi, I have a external hard drive that first must mount on a PROXMOX host: mount -t ntfs-3g /dev/sda2 /mnt/bindmounts/shared I then have the NFS-Server running on this host. The fstab has the following in it: /dev/sda2 /mnt/bindmounts/shared auto nosuid,nodev,nofail 0 0 I would've assumed this...
  19. [SOLVED] Shared Storage

    I setup the export on a proxmox host, with the host IP. On a host of another node I installed the client: mount /mnt/nfs_clientshare It just sits there with no errors. I turned off the firewall, I am not getting any errors, it just hangs?
  20. oguz

    Bluetooth dongle not working with LXC

    that's just an example to bindmount a directory. you need to type the path to the usb bus device like /dev/bus/usb/001/002 or similar. yes, you also need to allow the mount entry according to major:minor of the device. for example to pass device on /dev/bus/usb/001/002 first run ls -l...


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 your own in 60 seconds.

Buy now!