[OpenAFS] Problems using NFS server on an AFS client

Mariani Dario dmariani@babelps.it
Tue, 10 Feb 2004 11:08:10 +0100


Alle 18:12, mercoled=EC 4 febbraio 2004, Derek Atkins ha scritto:
> Correct, you would _have_ to use the user-space NFS daemon..  And
> you would only get ReadOnly access to AFS.

Yep, i see it.
The kernelspace nfsd doesn't work.
The userland one does.

The problem is, i want to reuse old kickstart scripts, that use the /pub=20
directory.
So i try with a symlink, ln -s /afs/<somedir>/pub /pub
with this line in /etc/exports:
/pub    (ro,sync,insecure,all_squash)

and mounting it on another pc:
mount server:/pub /loop/
mount: server:/pub failed, reason given by server: Permission denied

so i tried with the same line  in exports, but mounting with -o bind:
mount -o bind /afs/<somedir>/pub/  /pub

but the same error again.

Using a /pub directory on the real root  and with some files inside, it=20
works.
The /pub directory is readable by anyone, even without tokens.

Ideas someone? :)