Skip to contentSkip to conversation

Even slower NFS mounting with 2.4.0

DISCUSSION Christian Ullrich 4 participants 5 messages Jan 6, 2001

lore
Share & tools
lore
#0 lore raw

Hello!

About three weeks ago, I complained loudly about very slow NFS mounts involving a 2.2.17 server and a 2.2.18 client.

Today, I complain loudly about *extremely* slow NFS mounts with the very same server and the same client now running 2.4.0.

Using 2.2.18, every mount took about 15 seconds, now, using 2.4.0, every mount takes exactly five minutes, which is way too long.

According to syslog, the server begins and completes its operations related to the mount in under one second, so it seems to me that mount on the client just takes a nap in D state. Although the messages in the client's syslog look critical to me, once the fs is mounted, it works fine.

Syslog on client:

Jan  6 00:18:06 c kernel: portmap: server localhost not responding, timed out
Jan  6 00:19:46 c kernel: portmap: server localhost not responding, timed out
Jan  6 00:19:46 c kernel: lockd_up: makesock failed, error=-5
Jan  6 00:21:26 c kernel: portmap: server localhost not responding, timed out

I called the mount command five minutes before the final message above.

I tried NFS with and without NFSv3 code, with no change at all.

Please help me.

Signature · 7 lines
Christian Ullrich		     Registrierter Linux-User #125183

"Sie können nach R'ed'mond fliegen -- aber Sie werden sterben"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw

Hrm. I'm not seeing this problem on my setups.

Did you send details about your configurationlast time .. Could you resend?

Quoted 30 lines · Christian Ullrich

Hello!

About three weeks ago, I complained loudly about very slow NFS mounts involving a 2.2.17 server and a 2.2.18 client.

Today, I complain loudly about *extremely* slow NFS mounts with the very same server and the same client now running 2.4.0.

Using 2.2.18, every mount took about 15 seconds, now, using 2.4.0, every mount takes exactly five minutes, which is way too long.

According to syslog, the server begins and completes its operations related to the mount in under one second, so it seems to me that mount on the client just takes a nap in D state. Although the messages in the client's syslog look critical to me, once the fs is mounted, it works fine.

Syslog on client:

Jan  6 00:18:06 c kernel: portmap: server localhost not responding, timed out
Jan  6 00:19:46 c kernel: portmap: server localhost not responding, timed out
Jan  6 00:19:46 c kernel: lockd_up: makesock failed, error=-5
Jan  6 00:21:26 c kernel: portmap: server localhost not responding, timed out

I called the mount command five minutes before the final message above.

I tried NFS with and without NFSv3 code, with no change at all.

Please help me.

Signature · 12 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw
In reply to Christian Ullrich

* Christian Ullrich wrote on Saturday, 2000-01-06:

Quoted 2 lines

Using 2.2.18, every [NFS] mount took about 15 seconds, now, using 2.4.0, every mount takes exactly five minutes, which is way too long.

Ok, it's fixed now. Thanks to all of you, and especially the (right now) three people who gave me the helpful hint to start the portmapper on the client as well.

l-k is great!

Signature · 7 lines
Christian Ullrich		     Registrierter Linux-User #125183

"Sie können nach R'ed'mond fliegen -- aber Sie werden sterben"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to Christian Ullrich
Quoted 5 lines · Christian Ullrich

About three weeks ago, I complained loudly about very slow NFS mounts involving a 2.2.17 server and a 2.2.18 client.

Today, I complain loudly about *extremely* slow NFS mounts with the very same server and the same client now running 2.4.0.

In all cases, you need to either:

1. Provide the option "nolock" to turn of NFS file locking (which means that things like elm can't lock mailboxes and will get upset if the mailboxes are on a NFS partition).

2. before running the mount command:
a) make sure the loopback interface is up and running
b) ensure that the portmapper (called portmap or rpc.portmap) is running.
_____

  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        [email protected]      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Christian Ullrich
Quoted 2 lines

I called the mount command five minutes before the final message above. I tried NFS with and without NFSv3 code, with no change at all.

This is caused by 2.3/2.4 changes in the network code error reporting of unreachables with UDP I suspect. It looks like the NFS code hasn't yet caught up with the error notification stuff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/