One of our colleague faced below issue while mounting NFS file system on Exadata.
[root@nfsclient /]# mount -t nfs 192.168.100.11:/nfs_server /nfs_client
mount: 192.168.100.11:/nfs_server failed, reason given by server: Permission denied
Solution:
NFS_Server IP - 192.168.100.11
NFS_Client IP - 192.168.100.10
Go to NFS Server. In our case NFS server is 192.168.100.11
ssh 192.168.100.11
Check the /etc/exports file
#cat /etc/exports
/nfs_server 192.168.100.*(*)
Edit /etc/exports file
#vi /etc/exports
/nfs_server 192.168.100.10 (rw,sync)
Restart the NFS services.
#service nfs restart
Now check on NFS Client server which is 192.168.100.10
ssh 192.168.100.10
#Service nfs restart
#Service portmap restart
#showmount -e nfsclient ----Here nfsclient is the server name
output:/nfs_server 192.168.100.10
Now mount the nfs filesystem
[root@nfsclient /]# mount -t nfs 192.168.100.11:/nfs_server /nfs_client
Now it has been mounted successfully.
[root@nfsclient /]# mount -t nfs 192.168.100.11:/nfs_server /nfs_client
mount: 192.168.100.11:/nfs_server failed, reason given by server: Permission denied
Solution:
NFS_Server IP - 192.168.100.11
NFS_Client IP - 192.168.100.10
Go to NFS Server. In our case NFS server is 192.168.100.11
ssh 192.168.100.11
Check the /etc/exports file
#cat /etc/exports
/nfs_server 192.168.100.*(*)
Edit /etc/exports file
#vi /etc/exports
/nfs_server 192.168.100.10 (rw,sync)
Restart the NFS services.
#service nfs restart
Now check on NFS Client server which is 192.168.100.10
ssh 192.168.100.10
#Service nfs restart
#Service portmap restart
#showmount -e nfsclient ----Here nfsclient is the server name
output:/nfs_server 192.168.100.10
Now mount the nfs filesystem
[root@nfsclient /]# mount -t nfs 192.168.100.11:/nfs_server /nfs_client
Now it has been mounted successfully.
Hi,
ReplyDeleteI was having same issue. Your blog has saved my lots of time. Thank you very much.
Cheers...!!
Aron