[OpenAFS-devel] AFS/NFS help
Deon George
deon@wurley.net
Mon, 19 Jun 2006 14:33:52 +1000
Hi,
I am trying to export my AFS tree /afs via NFS so that I can have some NFS
clients use the same file system repository.
I dont want to have NFS clients run any AFS commands - they will essentially
use AFS as system:anyuser.
I have successfully installed AFS and its running well.
I included /afs in my /etc/exports - my afs line is below:
/afs MYFSCLIENTNAME(ro,no_root_squash,insecure)
and run exportfs -av - no problems there
NFS is running (this server is RHEL4)
On my NFS client (also Linux), I attempt to mount the AFS with:
> mount -t nfs 10.1.0.1:/afs /afs
However I get "permission denied" as the failed response.
> mount: 10.1.0.1:/afs/mel.tivoli.ibm failed, reason given by server:
Permission denied
My NFS server (AFS Server) shows this in syslog:
> rpc.mountd: authenticated mount request from MYFSCLIENTNAME:791 for /afs (/afs)
This is supposed to work right?
(Just for the curious, I have successfully mounted /home from this same NFS
server to the same client - which is an EXT3 filesystem. So I know my NFS is
setup and working correctly.)
Additionally, this command also fails:
[root@myhost ~]# fs exportafs -type nfs -submounts on
Sorry, the nfs-exporter type is currently not supported on this AFS client
(I have logged into AFS with my admin account.)
--