NFS Mount
Hello,
I am new to linux, and am trying to figure out how to connect to NFS mount. This is running on a windows server, I keep getting "unrecognized mount point" makes me think I may be using the wrong command. |
try this on client machine
Code:
#mount -t nfs server ip/location/to/dir /mount/point |
You could also check server nfs export list:
Code:
/usr/sbin/showmount -e <server ip or name> |
NFS Mount
Here is what I get:
[root@cs sbin]# showmount -e 10.67.36.34 Export list for 10.67.36.34: /RF7800N_NFS (everyone) [root@cs sbin]# mount -t nfs 10.67.36.34/location/to/dir /rfcafs24/RF7800N_NFS? mount.nfs: mount point /rfcafs24/RF7800N_NFS? does not exist [root@cs sbin]# |
Code:
mkdir /mnt/tmp |
try creating /rfcafs24/RF7800N_NFS? before mounting
|
[root@cs sbin]# mount -t nfs 10.67.36.34:/RF7800N_NFS /mnt/tmp
mount.nfs: access denied by server while mounting (null) [root@cs sbin]# cd /mnt/tmp bash: cd: /mnt/tmp: Permission denied [root@cs mnt]# cd tmp bash: cd: tmp: Permission denied Is this the server denying? |
I am able to ping the 10. fine. My guess is I am on the domain if i can ping the 10. I am just trying to rule out any issues from the RHEL client end, if this is the server blocking mount.
|
This is strange...
Did you try to cd into the directory when loggued as simple user, just in case ? |
here it is as normal user:
[jweath02@cs /]$ ls bin dev home lost+found misc net proc sbin srv tmp var boot etc lib media mnt opt root selinux sys usr [jweath02@cs /]$ cd mnt [jweath02@cs mnt]$ ls tmp [jweath02@cs mnt]$ cd tmp bash: cd: tmp: Permission denied [jweath02@cs mnt]$ still getting the same regardless if Root or normal user. |
What is the output with ls -al /mnt/tmp ?
Does the windows system administrators say something about how to set up unix account to work with nfs shares ? |
Quote:
first thing I don't get the concept of mounting NFS on /mnt but even if you want to continue using it, I would like to see the permissions on this directory Code:
#ls -l / | grep mnt Code:
#mkdir /NFS Quote:
On the NFS server run this command and show me the output Code:
#exportfs -v |
[jweath02@cs ~]$ ls -l / | grep mnt
drwxr-xr-x. 3 root root 4096 Jan 3 21:29 mnt [jweath02@cs ~]$ ls -l /mnt total 1 drwx------. 2 4294967294 4294967294 64 Jan 4 08:43 tmp [jweath02@cs ~]$ |
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS /NFS
[root@cs /]# ls bin dev home lost+found misc net opt root selinux sys usr boot etc lib media mnt NFS proc sbin srv tmp var [root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS /NFS mount.nfs: access denied by server while mounting (null) First attempt no error, second attempt gets denied. |
have you configured any firewall on server?
show me the output of Code:
#exportfs -v <---------on NFS server Code:
#iptables -L Code:
#service portmap status |
All times are GMT -5. The time now is 10:49 AM. |