P
P
Prosecutorr2021-07-07 10:39:42
linux
Prosecutorr, 2021-07-07 10:39:42

Mount.nfs: access denied by server while mounting ip:/var/nfs/general. Where did you go wrong?

When I try to mount a VPS storage via NFS I get this error:

mount.nfs: timeout set for Wed Jul  7 03:10:22 2021
mount.nfs: trying text-based options 'nfsvers=3,addr=ip'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.114.3.92 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying ip prog 100005 vers 3 prot UDP port 9755
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting ip:/var/nfs/general


cat /etc/exports
/var/nfs/general ip(rw,sync,no_root_squash,no_subtree_check,insecure)


As soon as I try host ip I get this

Host ip.in-addr.arpa. not found: 3(NXDOMAIN)

I have tried different ways. I am using private IPs since the servers are on the same network. Ping works fine since I can also login to the server via "ssh [email protected]".

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question