kernel-nfs messing up a few things

Harald Kirsch (kir@iitb.fhg.de)
Thu, 11 Mar 1999 14:37:32 +0100


We have a setup with diskless clients running kernel-nfs at kernel
2.2.3. In particular

/
/usr
/var
/tmp
/etc

and so on are mounted via nfs, some read-only some, like /, /tmp and
/etc are mounted read-write. The problem we have manifests with the
following messages on the client:

Mar 11 13:12:21 neptun kernel: __nfs_fhget: inode 49316 busy, i_count=2, i_nlink=1
Mar 11 13:12:21 neptun kernel: nfs_free_dentries: found bin/rxvt, d_count=5, hashed=0
Mar 11 13:12:21 neptun kernel: __nfs_fhget: inode 49316 still busy, i_count=2
Mar 11 13:12:21 neptun kernel: __nfs_fhget: killing bin/rxvt filehandle
Mar 11 13:12:21 neptun kernel: __nfs_fhget: inode 917613 busy, i_count=2, i_nlink=1
Mar 11 13:12:21 neptun kernel: nfs_free_dentries: found .X11-unix/X0, d_count=13, hashed=0
Mar 11 13:12:21 neptun kernel: __nfs_fhget: inode 917613 still busy, i_count=2
Mar 11 13:12:21 neptun kernel: __nfs_fhget: killing .X11-unix/X0 filehandle

In particular `killing .X11-unix/X0 filehandle' is uncool, because
afterwards it is no longer possible to start X clients. No connection is
possible to the X-server anymore.

Similar things happen for lpd. It stops working after we find the
following messages:

Mar 10 15:49:11 jupiter kernel: __nfs_fhget: inode 762321 busy, i_count=2, i_nlink=1
Mar 10 15:49:11 jupiter kernel: nfs_free_dentries: found dev/printer, d_count=1, hashed=0
Mar 10 15:49:11 jupiter kernel: __nfs_fhget: inode 762321 still busy, i_count=2
Mar 10 15:49:11 jupiter kernel: __nfs_fhget: killing dev/printer filehandle

For reference, here are the fstab-entries from the client:

pandora:/tftpboot/neptun / nfs noauto,rsize=4096,wsize=4096,ro 0 0
pandora:/bin /bin nfs rsize=4096,wsize=4096,ro 0 0
pandora:/lib /lib nfs rsize=4096,wsize=4096,ro 0 0
pandora:/opt /opt nfs rsize=4096,wsize=4096,ro 0 0
pandora:/root--clients /root nfs rsize=4096,wsize=4096,ro 0 0
pandora:/sbin /sbin nfs rsize=4096,wsize=4096,ro 0 0
pandora:/usr /usr nfs rsize=4096,wsize=4096,ro 0 0
pandora:/var/lib/rpm /var/lib/rpm nfs rsize=4096,wsize=4096,ro 0 0
pandora:/var/lib/texmf /var/lib/texmf nfs rsize=4096,wsize=4096,rw 0 0

Do we have a wrong setup or is it a bug somewhere.

Harald Kirsch

-- 
-------------------------------------------------+------------------
Harald Kirsch, kir@iitb.fhg.de, +49 721 6091 369 | Now I rebooted.
FhG/IITB,      Fraunhoferstr.1, 76131 Karlsruhe  |     --- Jerry Pournelle

- 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/