This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Proxmox Backup Server LXC mount NFS #3852
Unanswered
jlai79
asked this question in
Help Needed
Replies: 2 comments 7 replies
-
You need to add the mount in the PBS shell - not the host. |
Beta Was this translation helpful? Give feedback.
6 replies
-
Goto tutorial for mounting shares in unprivileged LXCs: https://forum.proxmox.com/threads/tutorial-unprivileged-lxcs-mount-cifs-shares.101795/ |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just installed PBS and am now trying to mount an NFS share on my Synology NAS. I'm still new to Proxmox, but I found out that restricted LXC containers cannot mount NFS unless explicitly enabled.
So I mounted my /volume1/backup to /mnt/nasbackup on the Proxmox host and added this to my lxc config:
lxc.mount.entry = /mnt/nasbackup/ nfs mnt/nasbackup/ none bind 0 0
/mnt/nasbackup is chown backup:backup and chmod 775
On start I get this error:
mount_entry: 2213 No such file or directory - Failed to mount "/mnt/backup/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/nfs"
lxc_setup: 3915 Failed to setup mount entries
do_start: 1273 Failed to setup container "107"
sync_wait: 34 An error occurred in another process (expected sequence number 3)
__lxc_start: 2114 Failed to spawn container "107"
startup for container '107' failed
What's wrong here? Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions