Re: Please try knfsd-981022

David Fries (dfries@umr.edu)
Thu, 22 Oct 1998 18:55:27 -0500


--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=mutta00692

What does a 'Stale NFS file handle' mean, why am I getting them and how do
I get rid of them?

I'm trying to export and mount directories on my system 2.1.125 so I can
have what looks like a solid directory to make a cdrom from.

I am using a fresh 2.1.125 kernel with the knfs 981022 patches, any
suggestions?

AeroSpace:/usr/lib# knfsstat
Server rpc stats:
calls badcalls badauth badclnt xdrcall
17944 633 0 633 0
Server nfs v2:
null getattr setattr root lookup readlink
0 0% 281 1% 116 0% 0 0% 15541 86% 350 1%
read wrcache write create remove rename
862 4% 0 0% 251 1% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 1 0% 1 0% 521 2% 20 0%

Client rpc stats:
calls retrans authrefrsh
17944 633 0
Client nfs v2:
null getattr setattr root lookup readlink
0 0% 50 2% 0 0% 0 0% 1923 91% 0 0%
read wrcache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 108 5% 20 0%

I'm getting errors like this,

AeroSpace:/mnt/sdb1/tmp/cd-directory# du > /tmp/file-list
du: ./home/david/programming/old-c++: Stale NFS file handle
du: ./home/david/info: Stale NFS file handle
du: ./home/david/kernel: Stale NFS file handle
du: ./home/david/public_html: Stale NFS file handle
du: ./home/david/school: Stale NFS file handle
du: ./home/david/backup: Stale NFS file handle
du: ./home/david/hp48: Stale NFS file handle
du: ./usr/lib/gus: Stale NFS file handle

and the log messages from the kernel,
nfs_statfs: statfs error = 116

nfs_revalidate_inode: /// getattr failed, ino=176129, error=-116
NFS: bad fh
c7a5b6c00002b00100028c0100000813000008130002b0010000000000000000
RPC: garbage, retrying 7318
RPC: garbage, retrying 7318
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=196609, error=-116
NFS: bad fh
c794a480000300010002a0490000080300000803000300010000000000000000
RPC: garbage, retrying 15146
RPC: garbage, retrying 15146
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=134182, error=-116
NFS: bad fh
c794af0000020c2600030c01000008130000081300020c260000000000000000
RPC: garbage, retrying 15148
RPC: garbage, retrying 15148
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=257335, error=-116
NFS: bad fh
c794ad800003ed3700030c0100000813000008130003ed370000000000000000
RPC: garbage, retrying 15150
RPC: garbage, retrying 15150
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=147491, error=-116
NFS: bad fh
c794a1800002402300030c010000081300000813000240230000000000000000
RPC: garbage, retrying 15152
RPC: garbage, retrying 15152
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=179229, error=-116
NFS: bad fh
c794a2800002bc1d00030c0100000813000008130002bc1d0000000000000000
RPC: garbage, retrying 15154
RPC: garbage, retrying 15154
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=58537, error=-116
NFS: bad fh
c79171000000e4a900030c0100000813000008130000e4a90000000000000000
RPC: garbage, retrying 15156
RPC: garbage, retrying 15156
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=180231, error=-116
NFS: bad fh
c79355200002c0070002a04900000803000008030002c0070000000000000000
RPC: garbage, retrying 15158
RPC: garbage, retrying 15158
RPC: garbage, exit EIO
NFS: lookup failed, error=-5
nfs_revalidate_inode: /// getattr failed, ino=217170, error=-116
NFS: bad fh
c7fdaee0000350520000d0010000081300000813000350520000000000000000
RPC: garbage, retrying 15160
RPC: garbage, retrying 15160
RPC: garbage, exit EIO
NFS: lookup failed, error=-5

+---------------------------------+
| David Fries |
| dfries@umr.edu |
+---------------------------------+

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sdb3 / ext2 defaults 0 1
/dev/sda3 /mnt/sda3 ext2 defaults 1 2
/dev/sdb1 /mnt/sdb1 ext2 defaults 1 2
#/dev/hdc1 /mnt/hdc1 ext2 defaults,ro 1 2
/dev/hda1 /mnt/hda1 ext2 defaults 1 2
/dev/sda2 none swap sw 1 2
/dev/sdb2 none swap sw 1 2
/dev/scd0 /mnt/scd0 iso9660 defaults 1 2
/dev/scd1 /mnt/scd1 iso9660 defaults 1 2
#/dev/scd0 /mnt/scd0 iso9660 noauto 1 2
#/dev/scd1 /mnt/scd1 iso9660 noauto 1 2
proc /proc proc defaults 0 0

localhost:/home/david/backup/ /mnt/sdb1/tmp/cd-directory/home/david/backup nfs ro,addr=localhost 0 0
localhost:/mnt/sda3/home/david/c++ /mnt/sdb1/tmp/cd-directory/home/david/programming/old-c++ nfs ro,addr=localhost 0 0
#localhost:/home/david/tmp/x2-upgrade/ /mnt/sdb1/tmp/cd-directory/home/david/programming/old-c++/other/x2-upgrade nfs ro,addr=localhost 0 0
localhost:/usr/lib/gus /mnt/sdb1/tmp/cd-directory/usr/lib/gus nfs ro,addr=localhost 0 0
localhost:/home/david/hp48 /mnt/sdb1/tmp/cd-directory/home/david/hp48 nfs ro,addr=localhost 0 0
localhost:/home/david/school/ /mnt/sdb1/tmp/cd-directory/home/david/school nfs ro,addr=localhost 0 0
localhost:/home/david/public_html/ /mnt/sdb1/tmp/cd-directory/home/david/public_html nfs ro,addr=localhost 0 0
localhost:/home/david/kernel /mnt/sdb1/tmp/cd-directory/home/david/kernel nfs ro,addr=localhost 0 0
localhost:/home/david/info/ /mnt/sdb1/tmp/cd-directory/home/david/info nfs ro,addr=localhost 0 0
localhost:/var/lib /mnt/sdb1/tmp/cd-directory/var/lib nfs ro,addr=localhost 0 0

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=exports

# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#/bin SlowPoke.frieshouse.net(ro,async,squash_uids=0-100,squash_gids=0-80)

/bin SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async) *.localtjclc.net(ro,async)
/etc SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
/home SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async) 127.0.0.1(ro,async,no_root_squash)
/lib SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async) *.localtjclc.net(ro,async)
/sbin SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async) *.localtjclc.net(ro,async)
/mnt/hda1 SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async)
/mnt/sda3 SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async) 127.0.0.1(ro,async,no_root_squash)
/mnt/sdb1 SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async)
/tmp SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
/usr SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(rw,async) *.localtjclc.net(ro,async) 127.0.0.1(ro,async,no_root_squash)
#/var/lib/games SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async)
/var/lib 127.0.0.1(ro,async,no_root_squash) SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
/var/backups SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)

/tftpboot/192.168.0.200 SlowPoke.frieshouse.net(rw,async,no_root_squash)
#/mnt/cdrom SlowPoke.frieshouse.net(ro,async)
#/tftpboot/192.168.0.200/lib/modules SlowPoke.frieshouse.net(rw,async,no_root_squash)

#/bin SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
#/etc/alternatives SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async) *.localtjclc.net(ro,async)
#/etc/alternatives SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
#/lib SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
#/sbin SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
#/usr/local/games SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async)
#/usr/lib/games SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async)
#/usr SlowPoke.frieshouse.net(ro,async) SpacedOut.frieshouse.net(ro,async)
#/usr SlowPoke.frieshouse.net(rw,async) SpacedOut.frieshouse.net(rw,async)

#/home/david 127.0.0.1(ro,async,no_root_squash)
#/mnt/sda3 127.0.0.1(ro,async,no_root_squash)
#/usr/lib 127.0.0.1(ro,async,no_root_squash)

--n8g4imXOkfNTN/H1--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/