LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
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

Tags used in this thread
Popular LQ Tags , , , , , , ,

Reply
 
Thread Tools
Old 08-03-2008, 07:50 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 213
Thanked: 1
Unable to mount NFS Share [RPCPROG_MNT: RPC: Timed out]


[Log in to get rid of this advertisement]
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 07:52 AM..
paragkalra is offline  
Tag This Post , , , , , , ,
Reply With Quote
Old 08-03-2008, 12:55 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,511
Thanked: 4
Are you root when you execute the mount?
Mr. C. is offline     Reply With Quote
Old 08-03-2008, 02:23 PM   #3
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 213
Thanked: 1

Original Poster
YUP...I am root....
paragkalra is offline     Reply With Quote
Old 08-03-2008, 02:42 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,511
Thanked: 4
Add -t nfs to your mount command.

You haven't changed any standard NFS ports, have you?
Mr. C. is offline     Reply With Quote
Old 08-04-2008, 01:38 AM   #5
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 213
Thanked: 1

Original Poster
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.
paragkalra is offline     Reply With Quote
Old 02-12-2009, 07:03 AM   #6
deadeyes
Member
 
Registered: Aug 2006
Posts: 260
Thanked: 3
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.
deadeyes is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 06:32 AM
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 03:14 AM
RPC timed out - NFS server geetha_sg Linux - Enterprise 1 09-30-2006 02:04 PM
RPC timed out - NFS server geetha_sg Linux - Enterprise 1 09-29-2006 06:13 PM


All times are GMT -5. The time now is 10:50 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration