Re: knfsd problem

Riley Williams (rhw@MemAlpha.CX)
Mon, 31 May 1999 01:43:26 +0100 (GMT)


Hi Karsten.

> I have a prob with the kernel-nfs. I'm using Redhat 6.0 (well,
> almost), Kernel 2.2.9 (with nfsd-2.2.8-1.patch from
> knfsd-1.3.2). knfsd-1.3.2 is installed.

> my /etc/exports:

> Q> / 10.72.2.0/24(rw,no_root_squash)

> now, if I mount it:

> Q> mount -t nfs dollerup:/ /mnt/xx/

> syslog says:

> Q> May 30 08:10:34 dollerup mountd[414]: authenticated mount
> Q> request from lola.kapet.vpn:784

> and I can correctly access / and everything that is on the same
> volume. but if I try to get into the homes (mounted separately)
> it does not work, instead syslog tells me:

> Q> May 30 08:10:40 dollerup kernel: fh_verify: //home permission
> Q> failure, acc=4, error=1

> hm. well. WTF???

> the curious thing is, if I mount it directly:

> Q> mount -t nfs dollerup:/home/ /mnt/xx/

> I can access all homes without any problems. so it seems to me,
> there is a bug in knfsd, which makes it impossible for me to go
> across mountpoints, or am I totally dumb today?

My reading of the nfsd instructions implies that anything listed in
/etc/exports refers only to that part of the directory tree that's in
the same physical partition, and one has to list the root of every
partition that one wishes to consider for exporting separately.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

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