linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFS client errors with 2.5.74?
@ 2003-07-10 10:30 Michael Frank
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Frank @ 2003-07-10 10:30 UTC (permalink / raw)
  To: jamie; +Cc: linux-kernel

I chewed on that a while ago and was advised not to use "soft" mounts.

My 2.4<>2.4 setup worked with "soft" for ages, but it broke when
running 2.5.6x/7x on the server.

If you are using soft mounts, use "hard,intr" instead. 

Regards
Michael

-- 
Powered by linux-2.5.74-mm3. Compiled with gcc-2.95-3 - mature and rock solid

My current linux related activities:
- 2.5 yenta_socket testing
- Test development and testing of swsusp for 2.4/2.5 and ACPI S3 of 2.5 kernel 
- Everyday usage of 2.5 kernel

More info on 2.5 kernel: http://www.codemonkey.org.uk/post-halloween-2.5.txt
More info on swsusp: http://sourceforge.net/projects/swsusp/


^ permalink raw reply	[flat|nested] 12+ messages in thread
* NFS client errors with 2.5.74?
@ 2003-07-10  5:41 Jamie Lokier
  2003-07-10  6:07 ` Jamie Lokier
  2003-07-10  9:25 ` Felipe Alfaro Solana
  0 siblings, 2 replies; 12+ messages in thread
From: Jamie Lokier @ 2003-07-10  5:41 UTC (permalink / raw)
  To: linux-kernel, trond.myklebust

I'm seeing quite a lot of NFS client errors with 2.5.74, connected to
a server running 2.4.20-18.9 (Red Hat 9's current kernel).

All of the errors that I've observed the form of a write() or close()
returning EIO.  rsync seeems to have a particularly tough time -
could the unusual size of blocks which rsync writes be relevant?

There are some read errors too, as Mozilla failed to find my profile
claiming it couldn't read the file (when I restarted Mozilla, it found
it the second time), and Gnome Terminal was unable to read its
preferences file, but I didn't catch any specific read() errors.

I tried this command to see if the is a protocol error while running
Ethereal:

[jamie@dual jamie]$ cp .mirMail.bjl1/INBOX .mirMail.bjl1/JBOX
cp: closing `.mirMail.bjl1/JBOX': Input/output error

Ethereal shows a long series of NFS WRITEs followed by a single COMMIT
(as expected), and nothing after that.  All of those replies had
status 0, OK - including the reply to the final COMMIT.

Using "md5sum" I checked on both the client and server, and the
contents of "JBOX" have been written correctly despite the
"Input/output error" from "cp".

When I looked at the packets from rsync commands that I saw getting
EIO from write(), I saw that all requests except LOOKUP returned with
status 0 as well, and the LOOKUPs that failed were simply checking
whether a ".nfs..." name exists before renaming another file to that
name.

So as far as I can tell, there is no problem with the packets being
sent and received.  There is, however, a big problem with error
reporting on the client side.

A few extra notes:

  - Running NFS v3.
  - Kernel is vanilla 2.5.74, dual Athlon 1800MP, 768MB RAM
  - Chipset: AMD-760MP/AMD-768.  Board: Asus A7M266-D.

  - I _think_ I noticed this problem once when running 2.4.20-18.9 on
    the client, but generally it is not a problem.  I have been
    mounting my home directory over NFS for weeks with 2.4.20-18.9 as
    client, so I would have noticed networking or server problems.

  - Every so often, the client's kernel log gets:
      kernel: nfs: server 192.168.1.1 not responding, timed out
    I haven't caught one of those with Ethereal to find out what's
    going on the wire.  There are no other regular kernel messages.

    Note!  These are all logged at different times to the EIOs,
    differet as in minutes away.  The EIOs, btw, are reported
    immediately; there is no pause waiting for a response from the
    server.

Any idea about this?  Is it a known problem?

Cheers,
-- Jamie

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-07-13 13:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030710053944.GA27038@mail.jlokier.co.uk>
     [not found] ` <16141.15245.367725.364913@charged.uio.no>
2003-07-10 15:04   ` NFS client errors with 2.5.74? Jamie Lokier
     [not found]   ` <20030710150012.GA29113@mail.jlokier.co.uk>
     [not found]     ` <16141.32852.39625.891724@charged.uio.no>
2003-07-10 15:35       ` Jamie Lokier
2003-07-10 15:45         ` Trond Myklebust
2003-07-10 23:36         ` Trond Myklebust
2003-07-12 15:13           ` Jamie Lokier
2003-07-13 13:23             ` Jamie Lokier
2003-07-10 10:30 Michael Frank
  -- strict thread matches above, loose matches on Subject: below --
2003-07-10  5:41 Jamie Lokier
2003-07-10  6:07 ` Jamie Lokier
2003-07-10 10:15   ` Trond Myklebust
2003-07-10 16:14     ` Frank Cusack
2003-07-10  9:25 ` Felipe Alfaro Solana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).