Search results for query: lxc.mount.entry

  1. leesteken

    LXC - Remount mountpoint without rebooting Container

    I use lxc.mount.entry: /dev/dvb dev/dvb none bind,create=dir 0 0, which sometimes disappears on host and gets recreated. A reboot of the container (afterwards) works fine. Have you tried using a hookscript to make sure the host mount is done pre-start and umount done post-stop? EDIT: I think it...
  2. M

    Proxmox LXC mount point permissions

    Good day, I have one particular container where I run an apache web browser. Under /srv I have added a ZFS mount point in Proxmox for the data directory. For this to work properly, of course apache needs the permissions for /srv, so I did chown www-data:www-data /srv and it worked fine for...
  3. S

    LXC suddenly wont start after the node crashed

    ...debian rootfs: local:105/vm-105-disk-0.raw,size=8G startup: order=1 swap: 0 unprivileged: 1 lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file The systlog complains about not being able to mount the filesystem but fsck shows that there are...
  4. F

    [SOLVED] Wireguard and DNS within LXC Container

    BTW- all that business is outdated I believe since, what ? 8.something ? PVE kernel has wg built-in so no need to install stuff in the host (sounds like you've got that going, but if you did install wireguard-dkms on the PVE host, maybe that's messing with your config ?) To deploy for example...
  5. S

    Ownership changes for bind mounts after recent update

    ...defaults,bind 0 0" >> /etc/fstab systemctl daemon-reload mount /mnt/bind-mounts/storage-server Mount the directory via an "lxc.mount.entry" in the corresponding /etc/pve/lxc/*.conf. (Using an "mpX:" entry does not work because the "rbind" option is not supported there.) Example...
  6. S

    LXC Fails to start when using read-only Mountpoint

    ...swap: 0 tags: production unprivileged: 1 lxc.cgroup.devices.allow: c 10:200 rwm lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net dev/net none bind,create=dir lxc.mount.entry: /dev/dri/by-path dev/dri/by-path none rbind,create=dir 0 0
  7. D

    LXC container no USB input (passthrough) in container GUI (GBM)

    ...swap: 512 lxc.apparmor.profile: unconfined lxc.cap.drop: lxc.mount.auto: proc:rw sys:rw lxc.cgroup2.devices.allow: c *:* rwm lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir lxc.mount.entry: /dev/dma_heap dev/dma_heap none bind,optional,create=dir lxc.mount.entry: /dev/video0...
  8. S

    Ownership changes for bind mounts after recent update

    Hello Everyone! :) My Homeserver runs Debian 13.3 (Trixie) with Proxmox (no Enterprise subscription) installed. A few days ago I installed the available Updates like i always do. I run a bunch of privleged containers with bind mounts. Since I installed the updates the ownership of all root...
  9. 3

    No spin-down via hd-idle after upgrade to 9.1.5

    Hi, this morning I upgraded to PVE 9.1.5 and kernel 6.17.9-1 on a small DXP2800 NAS. I had initial problems starting one lxc container with a read-only bind-mount but was able to workaround that by removing the read-only flag. A few hours ago, however I noticed that my hard drives were not...
  10. D

    [SOLVED] Wireguard and DNS within LXC Container

    Hey everyone, I've been trying to figure this out for the better part of the day. I've got a commercial VPN subscription and I want to have my containers send their traffic through wireguard which I've set up on the host. I get an error when running wg-quick up wg0: Truth be told, I don't know...
  11. B

    LXC containers not startting after Proxmox update

    ...onboot: 1 ostype: ubuntu rootfs: local-lvm:vm-514-disk-0,size=32G swap: 512 tags: community-script;media timezone: Europe/London unprivileged: 1 lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
  12. S

    LXC - Remount mountpoint without rebooting Container

    ...is actually an NFS Mount (could also be CIFS/SSHFS/...). I then bind-mount (bind or rbind) inside the LXC Container in the Form of lxc.mount.entry: /mnt/<container_name> data/ none rbind,create=dir 0 0 I devised my own little Script (NOT specific to Proxmox VE, also used on general-purpose...
  13. K

    [SOLVED] QEMU USB Passthrough: No /dev/serial/by-id, and device still listed on host?

    On PVE 9.1.4, I'm trying to pass a Z-wave USB dongle to a QEMU VM (Ubuntu 25.04): The device is seen by both the host and VM, via lsusb : Host: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID...
  14. 3

    [SOLVED] virtiofs directory mapping does not mount exec in guest vm

    Hi everyone, I'm trying out a virtiofs directory mapping from a mounted HDD ("Vapordisk") to a guest VM (cachyos) and despite being mounted and read-writeable in the guest VM, I cannot get the drive mounted exec. My ultimate goal is to mount this virtiofs mapping in Steam on the cachyos VM as...
  15. M

    bindmount ZFS dataset and children to unprivileged LXC

    ...mp1: /Data/Nas/Documents,mp=/mnt/Data/Docuements mp2: /Data/Nas/Pictures,mp=/mnt/Data/Pictures or specify a lxc mount entry: lxc.mount.entry: /Data/Nas Data none rbind 0 0 in /etc/pve/lxc/<yourid>.conf References * man 5 lxc.container.conf lxc.mount.entry option * man mount search for...
  16. Z

    OpenVPN-AS LXC w/ DCO module loaded

    ...module issues with the LXC after a restore, appending the following to the end of the lxc.conf resolved the issue. lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net dev/net none bind,create=dir credit: https://pve.proxmox.com/wiki/OpenVPN_in_LXC...
  17. P

    Getting ntsync in LXC

    ...ostype: debian rootfs: local-zfs:subvol-131-disk-0,mountoptions=noatime,size=8G swap: 512 unprivileged: 1 lxc.cgroup2.devices.allow: c 10:122 rwm lxc.mount.entry: /dev/ntsync dev/ntsync none bind,optional,create=file # pveversion pve-manager/9.1.1/42db4a6cf33dac83 (running kernel: 6.14.11-4-pve)
  18. leesteken

    Getting ntsync in LXC

    I think you have a / too many in your lxc.mount.entry. Have you tried the much easier way, using the recent way in the Proxmox web GUI, by adding a Device Passthrough to the container (instead of the low-level lxc lines)?
  19. P

    Getting ntsync in LXC

    ...a GPU, USB, etc. but it is not showing up inside of the LXC. Here what I put into the .conf lxc.cgroup2.devices.allow: c 10:261 rwm lxc.mount.entry: /dev/ntsync /dev/ntsync none bind,optional,create=file lxc.hook.pre-start: sh -c "chown 100000:100000 /dev/ntsync" Host Linux 6.17.4-2-pve...
  20. M

    LLMs auf Proxmox mit AMD AI CPUs (Strix): iGPU funktioniert – NPU aktuell nicht

    ...\ --unprivileged 0 --- GPU & NPU in den Container durchreichen Datei: /etc/pve/lxc/3300.conf # AMD GPU (DRM / Vulkan) lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir lxc.cgroup2.devices.allow: c 226:* rwm # AMD NPU (XDNA) lxc.mount.entry: /dev/accel/accel0...