mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: linux-kernel@vger.kernel.org
Subject: nfs_lookup_validate and dud inodes
Date: Tue, 30 Oct 2001 20:53:28 +0100	[thread overview]
Message-ID: <m3zo68rjk7.fsf@quimbies.gnus.org> (raw)

I have an nfs server and a diskless client, both running 2.2.19 under
Debian.  If I update files on the server, sometimes the client gets
confused about some files, and stays confused.  For instance:

[larsi@sparky ~]$ ls -l /lib/libe2*
ls: /lib/libe2p.so.2: Input/output error
-rw-r--r--    1 root     root        13400 Sep 22 17:15 /lib/libe2p.so.2.3

This is what it looks like on the server:

[larsi@quimbies ~]$ ls -l /tftpboot/sparky/lib/libe2p.so.2*
lrwxrwxrwx    1 root     root           13 Oct 30 20:23 /tftpboot/sparky/lib/libe2p.so.2 -> libe2p.so.2.3
-rw-r--r--    1 root     root        13400 Sep 22 17:15 /tftpboot/sparky/lib/libe2p.so.2.3

So the error message is when trying to access the symlink.

If I tell the nfs client to output debug messages:

# echo 65535 > /proc/sys/sunrpc/nfs_debug

I then get the following output:

nfs_lookup_validate: lib/libe2p.so.2 has dud inode
NFS: put_inode(1/1912607313)
NFS: lookup(lib/libe2p.so.2)
NFS call  lookup libe2p.so.2
NFS reply lookup: 0
NFS: nfs_fhget(lib/libe2p.so.2 fileid=1912607313)
NFS: __nfs_fhget(1/1912607313 ct=0)
NFS call  lookup n
NFS reply lookup: 0

(I think this is the relevant part; it spews out quite a lot of data.)

There are no error messages in any of the log files on the server.

Is this a known bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen

             reply	other threads:[~2001-10-30 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-30 19:53 Lars Magne Ingebrigtsen [this message]
2001-10-30 22:05 ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zo68rjk7.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®