LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 08-03-2008, 06:50 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
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 !

Last edited by paragkalra; 08-03-2008 at 06:52 AM.
 
Old 08-03-2008, 11:55 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Are you root when you execute the mount?
 
Old 08-03-2008, 01:23 PM   #3
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
YUP...I am root....
 
Old 08-03-2008, 01:42 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Add -t nfs to your mount command.

You haven't changed any standard NFS ports, have you?
 
Old 08-04-2008, 12:38 AM   #5
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
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.
 
Old 02-12-2009, 06:03 AM   #6
deadeyes
Member
 
Registered: Aug 2006
Posts: 605

Rep: Reputation: 78
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.
 
  


Reply

Tags
freebsd, nfs, parag, paragkalra, rpc, timed


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: RPC: Timed out NFS RHEL4 ajaz_javeed Linux - Software 4 04-11-2007 05:32 AM
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM
RPC timed out - NFS server geetha_sg Linux - Enterprise 1 09-30-2006 01:04 PM
RPC timed out - NFS server geetha_sg Linux - Enterprise 1 09-29-2006 05:13 PM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration