Hi!
I am setting up an NFS Server...
Mounting the file system on the server itself for verification...
Code:
[root@nj1 ~]# mount /dev/VolGroup01/mdeapp /var/mdeapp/fund_upload/
[root@nj1 ~]# ls -l /var/mdeapp/fund_upload/
total 16
drwx------. 2 root root 16384 Oct 30 15:04 lost+found
cat /etc/exports:
Code:
/var/mdeapp/fund_upload nj2(rw,sync) nj3(rw,sync)
Code:
[root@nj1 ~]# exportfs
/var/mdeapp/fund_upload
nj2.my.blah
/var/mdeapp/fund_upload
nj3.my.blah
Now when I try to mount the above directory on the NFS client nj2 or nj3, I get the following error:
Code:
[root@nj2 ~]# mount nj1:/var/mdeapp/fund_upload /mnt
mount: wrong fs type, bad option, bad superblock on nj4mdedvapp006:/var/mdeapp/fund_upload,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
I checked on the NFS Server the following (per the documentation here:
http://www.tldp.org/HOWTO/NFS-HOWTO/server.html):
Code:
[root@nj1 ~]# rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100005 1 udp 53126 mountd
100005 1 tcp 54682 mountd
100005 2 udp 54635 mountd
100005 2 tcp 35661 mountd
100005 3 udp 37585 mountd
100005 3 tcp 40359 mountd
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 53802 nlockmgr
100021 3 udp 53802 nlockmgr
100021 4 udp 53802 nlockmgr
100021 1 tcp 39972 nlockmgr
100021 3 tcp 39972 nlockmgr
100021 4 tcp 39972 nlockmgr
[root@nj1 ~]#
I do not see "status" in the output above.
I do not see rpc.lockd and rpc.statd as services or inside /etc/init.d/
If I try to install rpc.statd then yum reports it is already there as part of nfs-utils which I have installed.
I have installed rpcbind on both the clients and the server.
What is missing here?
I have already restarted rpcbind and nfs services several times but nothing has helped me so far.