I have read many Post about NFS Mount Problem on previous version.
I have already follow those comment but still cannot mount NFS in lxc.
It's always appear "mount.nfs: access denied by server while mounting ......"
How i gonna solve this case ??!
Current my Proxmox version is 5.2-5 ( lasted )
i already follow this comment
https://www.reddit.com/r/homelab/comments/53hmpr/proxmox_and_nfs_shares/
and
https://forum.proxmox.com/threads/enable-nfs-mount-on-lxc-container.26868/
seem didn't help (may be it's a different version.)
I try on
#add config on proxmox host
mount fstype=nfs,
#to /etc/apparmor.d/lxc/lxc-default-with-mounting
mount fstype=nfs*,
#to /etc/apparmor.d/lxc/lxc-default
#Then reload apparmor
apparmor_parser -r /etc/apparmor.d/lxc-containers
service apparmor reload
After than i have ssh on lxc then command with
mount -t nfs xxx.xxx.xxx.xxx:/mnt/KetStorage/vestacpX /usr/local/path
it still error "mount.nfs: access denied by server while mounting xxx.xxx.xxx.xxx:/mnt/KetStorage/vestacpX"
Any Proxmox Staff Member
Help me Please !!!!!!
I have already follow those comment but still cannot mount NFS in lxc.
It's always appear "mount.nfs: access denied by server while mounting ......"
How i gonna solve this case ??!
Current my Proxmox version is 5.2-5 ( lasted )
i already follow this comment
https://www.reddit.com/r/homelab/comments/53hmpr/proxmox_and_nfs_shares/
and
https://forum.proxmox.com/threads/enable-nfs-mount-on-lxc-container.26868/
seem didn't help (may be it's a different version.)
I try on
#add config on proxmox host
mount fstype=nfs,
#to /etc/apparmor.d/lxc/lxc-default-with-mounting
mount fstype=nfs*,
#to /etc/apparmor.d/lxc/lxc-default
#Then reload apparmor
apparmor_parser -r /etc/apparmor.d/lxc-containers
service apparmor reload
After than i have ssh on lxc then command with
mount -t nfs xxx.xxx.xxx.xxx:/mnt/KetStorage/vestacpX /usr/local/path
it still error "mount.nfs: access denied by server while mounting xxx.xxx.xxx.xxx:/mnt/KetStorage/vestacpX"
Any Proxmox Staff Member
Help me Please !!!!!!