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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 -...
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/...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.