Problem setting up NAS under Proxmox 5.0-32

Klingon

New Member
Aug 30, 2017
1
0
1
58
Hi,

I've been at this for weeks and cant seem to get the NAS active in Proxmox. Older posts that deal with NAS storage's give instructions with v4 but I cant find nothing anythwere with v5.

If anyone can help with this problem as Im new to Proxmox then that would be fantastic:
"mount error: mount.nfs: access denied by server while mounting 192.168.1.2:/VmVackups/ (500)"

I have a QNap 451 NAS, I managed to add it to Proxmox but the GUI shows it as enabled but not active.

From the command line, pvesm can see the shared folders:
pvesm nfsscan 192.168.1.2
/Public
/Container
/Web
/homes
/VmBackups

pvesm status
mount error: mount.nfs: access denied by server while mounting 192.168.1.2:/VmVackups/
Name Type Status Total Used Available %
NAS1 nfs inactive 0 0 0 0.00%
local dir active 98559220 3100688 90408984 3.15%
local-lvm lvmthin active 4757553152 111802499 4645750652 2.35%

cat /etc/pve/storage.cfg
nfs: NAS1
export /VmVackups/
path /mnt/pve/NAS1
server 192.168.1.2
content backup,images,iso
maxfiles 1
options vers=3 - (changed to 4 but still the same)

Also added in /etc/apparmor.d/lxc/lxc-default
# allow nfs mount everywhere
mount fstype=rpc_pipefs,
mount fstype=nfs,

Please let me know what else I can try, thanks.
 
mount error: mount.nfs: access denied by server while mounting 192.168.1.2:/VmVackups/
Your QNAP doesn't give access. Check the export configuration on your QNAP.