LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Unable to mount NFS Share [RPCPROG_MNT: RPC: Timed out] (https://www.linuxquestions.org/questions/%2Absd-17/unable-to-mount-nfs-share-%5Brpcprog_mnt-rpc-timed-out%5D-660084/)

paragkalra 08-03-2008 06:50 AM

Unable to mount NFS Share [RPCPROG_MNT: RPC: Timed out]
 
Configuring NFS Sever has never been such a difficult task. But on FreeBSD I am still not being able to mount NFS share.

I have two FreeBSD Machines:
1.] NFS Server
2.] NFS Client

Settings of NFS Server:

# cat /etc/exports | grep -i exports
Quote:

/exports -alldirs -maproot=root -network 10.222.111.0 -mask 255.255.254.0
# cat /etc/rc.conf | grep -i -e portmap -e nfs -e rpc -e mount
Quote:

portmap_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
mountd_flags="-r"
# showmount -e
Quote:

Exports list on localhost:
/exports 10.222.111.0
Settings on Client:
# cat /etc/rc.conf | grep -i nfs
Quote:

nfs_client_enable="YES"
When I trying to mount the NFS share on the client, I get following error:
# mount -v 10.222.111.213:/exports /mnt
Quote:

[udp] 10.222.111.213:/exports: RPCPROG_MNT: RPC: Timed out
(On Server: 10.222.111.213)
# tail /var/log/messages | grep -i mount
Quote:

Aug 3 16:40:26 ports mountd[580]: mount request from 10.222.111.210 from unprivileged port
Aug 3 16:40:41 ports mountd[580]: mount request from 10.222.111.210 from unprivileged port
Please advice !

Mr. C. 08-03-2008 11:55 AM

Are you root when you execute the mount?

paragkalra 08-03-2008 01:23 PM

YUP...I am root....

Mr. C. 08-03-2008 01:42 PM

Add -t nfs to your mount command.

You haven't changed any standard NFS ports, have you?

paragkalra 08-04-2008 12:38 AM

The problem continues to haunt me:

# mount -t nfs 10.222.111.213:/exports /mnt
Quote:

[udp] 10.222.111.213:/exports: RPCPROG_MNT: RPC: Timed out
Just to additional info I am being able mount the same locally i.e on the NFS Server following command works but it simply doesn't work on the client.
Quote:

mount -t nfs 10.222.111.213:/exports /mnt

No I haven't changed any standard NFS ports.

deadeyes 02-12-2009 06:03 AM

The freebsd nfs guide will probably tell what is wrong.

If you do showmount -e do you get any output on the server?
Is rpcbind running?

I have this in my rc.conf.
However, when I start manually I do:
rpcbind; nfsd -u -t -n 4; mountd -r;

rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_enable="YES"
mountd_flags="-r"

http://www.freebsd.org/doc/en/books/...twork-nfs.html

I know that this thread is a long time inactive, but maybe it will help someone else.


All times are GMT -5. The time now is 06:52 AM.