mount.nfs: access denied by server

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
samiel60

mount.nfs: access denied by server

Post by samiel60 »

Sorry, but I was unable to post in Networking
I'm trying to set a nfs connection. PING is ok from a to both machines. But if I launch (from client):

Code: Select all

darkstar ~ # mount -t nfs 192.168.1.12:/mnt/remote /mnt/nfs/remote/ 
mount.nfs: access denied by server while mounting 192.168.1.12:/mnt/remote/archive
I put in server side /etc/hosts.allow

Code: Select all

rpcbind:192.168.1.12
and /etc/hosts.deny

Code: Select all

ALLPARANOID
Moreover

Code: Select all

darkstar ~ # showmount -e 192.168.1.12
Export list for 192.168.1.12:
/mnt/remote/archive 192.168.1.1
that's correct
In server I've set /etc/exports as follows

Code: Select all

/mnt/remote 192.168.1.1(rw,nohide,subtree_chech,no_root_squash)
The command showmount seems to me to show all correctly.
Target directory:

Code: Select all

chmod 755 /mnt/nfs/remote
Which is the mistake I don't see?
thanx
s
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Installation & Boot”