Re: Please test knfsd-980920

David Fries (dfries@umr.edu)
Mon, 21 Sep 1998 19:48:37 -0500


On Sun, Sep 20, 1998 at 05:18:14PM -0700, H.J. Lu wrote:
> All known knfs bugs are fixed. I made quite a few changes. Please
> check it out. When you report a bug, please tell me exactly how
> to reproduce the bug. Please don't assume anything.
>
> Thanks.
>
> H.J.

This is the first time I had tried the knfsd, I had always been using the
standard user level program. I can comment about the speed, I hadn't make
tests before and after, but it works! I was useing the 2.1.122 on the
remote system and 2.1.121 on the host with "Universal NFS Server 2.2beta34"
and I couldn't even make it through a compile on the remote system before
it would have nfs problems, and I would kill rpc.nfsd, and restart and it
would have nfs access again. After switching to the knsfd, I haven't had
any of those problems, although I'm getting a lot of
"nfs_lookup_revalidate: //bin fh changed" on the remote system.

when I did a kexportfs -a it would not use my /etc/exports file, unless I
removed the squash_uids and squash_gids. My current /etc/exports is listed
below. With that file if I type kexportfs -a, I would get the error,
"exportfs: syntax error in exports file (line 71): bad uid/gid list"
Well there isn't 71 lines in the /etc/exports file. If I comment out the
one like that has squash_uids and squash_gids it does not complain.

---------------------------
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).

#/bin SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
/bin SlowPoke.frieshouse.net(ro)
/dev SlowPoke.frieshouse.net(ro)
/etc SlowPoke.frieshouse.net(ro)
/home SlowPoke.frieshouse.net(rw)
/lib SlowPoke.frieshouse.net(ro)
/sbin SlowPoke.frieshouse.net(ro)
/mnt/hda1 SlowPoke.frieshouse.net(ro)
/mnt/sda3 SlowPoke.frieshouse.net(ro)
/mnt/sdb1 SlowPoke.frieshouse.net(rw)
/mnt/cdrom SlowPoke.frieshouse.net(ro)
#/tftpboot/192.168.0.60 Homer.frieshouse.net(rw,no_root_squash)
/tftpboot/192.168.0.200 SlowPoke.frieshouse.net(rw,no_root_squash)
/tmp SlowPoke.frieshouse.net(ro)
/usr SlowPoke.frieshouse.net(ro)
/var/lib/dpkg/methods/ftp/debian SlowPoke.frieshouse.net(ro)
/var/lib/games SlowPoke.frieshouse.net(ro)
/var/backups SlowPoke.frieshouse.net(ro)

/bin SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/dev SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/etc SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/home SlowPoke.frieshouse.net(rw,squash_uids=0-100,squash_gids=0-80)
#/lib SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/sbin SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/mnt/hda1 SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/mnt/sda3 SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/mnt/sdb1 SlowPoke.frieshouse.net(rw,squash_uids=0-100,squash_gids=0-80)
#/mnt/cdrom SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/tftpboot/192.168.0.60 Homer.frieshouse.net(rw,no_root_squash)
#/tftpboot/192.168.0.200 SlowPoke.frieshouse.net(rw,no_root_squash)
#/tmp SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/usr SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/var/lib/dpkg/methods/ftp/debian SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/var/lib/games SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
#/var/backups SlowPoke.frieshouse.net(ro,squash_uids=0-100,squash_gids=0-80)
-------------------

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

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