LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-13-2006, 03:27 AM   #1
guarriman
Member
 
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
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.
 
Old 12-13-2006, 08:23 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
 
Old 12-13-2006, 08:24 PM   #3
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
What does (and how fast) rpcinfo -p myserver say?
 
Old 12-14-2006, 03:08 AM   #4
guarriman
Member
 
Registered: Nov 2004
Posts: 101

Original Poster
Rep: Reputation: 15
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
 
Old 12-14-2006, 07:26 PM   #5
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
Then NFS mount should be as fast...

See if the versions are matching (a wild guess), and take out nfsvers=2 option.
 
  


Reply

Tags
fedora, hang, mount, ubuntu


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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 03:34 AM
NFS hangs at mounting d00bid00b Slackware 5 07-01-2006 10:49 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
NFS install hangs tmorton Slackware 2 08-27-2003 06:03 PM


All times are GMT -5. The time now is 11:21 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