Re: knfsd-980920 xtab / exportfs problems

G. Allen Morris III (gam3@dharma.sehda.com)
Tue, 22 Sep 1998 09:53:01 -0700


>>>Steffen Rheinhold said:
> Hello,
>
> I'm currently trying to get knfsd-980920 up with RH 5.1. I applied the
> patch to 2.1.122, the kernel-daemons run ok. I`m having some
> problems right now:
>
> 1. When exporting from /etc/exports to multiple clients, only the first
> client of an export gets an entry in xtab. Further clients are ignored:
>
> /etc/exports
> /home zeus(rw) iris2(rw) catia1(rw) catia2(rw) catia3(rw)
>
> In this case only zeus will get the mount.

This works for me with knfsd-980915:

/opt chico(ro) harpo(rw)

>
>
>
> 2. Adding entries to xtab looks broken, no matter using hostnames or IP:
>
> [root@achilles nfs]# cat xtab
> /home
> 3.5(ro,sync,wdelay,secure,root_squash,no_all_squash,mapping=identity,anonuid
=-2,anongid=-2)
> /home
> 192.168.3.4(rw,sync,wdelay,secure,root_squash,no_all_squash,mapping=identity
,anonuid=-2,anongid=-2)
>
> The second entry was the first export, the upper line was created with
>
> kexportfs -v 192.168.3.2:/home
>
> When using hostnames, they are messy the same way.
>

Using knfsd-980915 I do not have this problem.

>
> 3. When restarting the NFS server the daemons lose RPC registration.
>
> [root@achilles init.d]# ./rc.nfsd restart
> Restarting NFS services: rpc.kmountd rpc.kstatddone.
> [root@achilles init.d]# showmount
> mount clntudp_create: RPC: Program not registered
>
> After a reboot it works again.

Try rc.nfsd stop followed by rc.nfsd start and see if that works.
There may be a bug in rc.nfsd.

>
> If I could get the knfsd running, I would test serving AIX clients using
> lockd.

---------------------------------
G. Allen Morris III

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