Re: [PATCH 0/7] Permit filesystem local caching and NFS superblocksharing [try #13]

From: Andrew Morton
Date: Fri Sep 01 2006 - 22:47:47 EST


On Fri, 01 Sep 2006 13:00:44 -0400
Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:

> On Fri, 2006-09-01 at 09:34 -0700, Andrew Morton wrote:
>
> > nfs automounter submounts are still broken in Trond's tree, btw. Are we stuck?
>
> You mean autofs indirect maps?

I don't know that that is.

> I'll see if I can't get my hands on an selinux setup like yours in order
> to do some debugging. AFAICS, the non-selinux case works fine, though.

It doesn't appear to be related to selinux.

On a stock, mostly-up-to-date FC5 installation:

echo 0 > /selinux/enforce
service autofs stop
service nfs stop
service nfs start
service autofs start


sony:/home/akpm> ls -l /net/bix/usr/src
total 0

sony:/home/akpm> showmount -e bix
Export list for bix:
/ *
/usr/src *
/mnt/export *


The automounter will mount bix:/ on /net/bix. But I am unable to get it to
mount bix's /usr/src on /net/bix/usr/src.

On bix we have

bix:/home/akpm> mount
/dev/sda2 on / type ext3 (rw,noatime)
/dev/sdb1 on /usr/src type ext3 (rw,noatime)
...


Without git-nfs applied, /net/bix/usr/src mounts as expected.

iirc, we decided this is related to the fs-cache infrastructure work which
went into git-nfs. I think David can reproduce this?

--
VGER BF report: H 1.91513e-14
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/