Fedora This forum is for the discussion of the Fedora Project.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
12-13-2006, 03:27 AM
#1
Member
Registered: Nov 2004
Posts: 101
Rep:
NFS mount hangs
Hi.
Working with Fedora Core 6 on server and Ubuntu 6.0.6 on client, I want
to mount --via NFS-- a directory on the client from the server.
I try:
mount -o nfsvers=2 myserver:/home/foo /home/user/myserver-foo -o nfsvers=2
But it hangs 120 seconds before mounting it, and it's not very comfortable.
Does anyone know what it's happening?
I stopped iptables on server and with FC2 as client it works ok.
Thank you very much.
12-13-2006, 08:23 PM
#2
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
I don't know about nfsvers=2 but, it could also be that using a name instead of ip address is where the delay comes from.
This is the command I use...
mount -t nfs -o ro 192.168.0.1:/mnt/backup/fedora /mnt/local
12-13-2006, 08:24 PM
#3
Member
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254
Rep:
What does (and how fast) rpcinfo -p myserver say?
12-14-2006, 03:08 AM
#4
Member
Registered: Nov 2004
Posts: 101
Original Poster
Rep:
PC with Ubuntu -FAST-
Code:
[root@pcfedora]# /usr/sbin/rpcinfo -p myserver
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 737 status
100024 1 tcp 740 status
100011 1 udp 659 rquotad
100011 2 udp 659 rquotad
100011 1 tcp 662 rquotad
100011 2 tcp 662 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100021 1 tcp 47939 nlockmgr
100021 3 tcp 47939 nlockmgr
100021 4 tcp 47939 nlockmgr
100005 1 udp 674 mountd
100005 1 tcp 677 mountd
100005 2 udp 674 mountd
100005 2 tcp 677 mountd
100005 3 udp 674 mountd
100005 3 tcp 677 mountd
PC with Fedora -FAST TOO-
Code:
root@pcubuntu:~# rpcinfo -p myserver
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 737 status
100024 1 tcp 740 status
100011 1 udp 659 rquotad
100011 2 udp 659 rquotad
100011 1 tcp 662 rquotad
100011 2 tcp 662 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100021 1 tcp 47939 nlockmgr
100021 3 tcp 47939 nlockmgr
100021 4 tcp 47939 nlockmgr
100005 1 udp 674 mountd
100005 1 tcp 677 mountd
100005 2 udp 674 mountd
100005 2 tcp 677 mountd
100005 3 udp 674 mountd
100005 3 tcp 677 mountd
12-14-2006, 07:26 PM
#5
Member
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254
Rep:
Then NFS mount should be as fast...
See if the versions are matching (a wild guess), and take out nfsvers=2 option.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 05:42 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News