I copied somebody's NFS server/client setup verbatim and am having trouble making sense of what's going on with it. This is the /etc/exports:
/export *(rw,fsid=0,crossmnt,insecure,async,no_subtree_check,sec=krb5p:krb5i:krb5) /export/home *(rw,insecure,async,no_subtree_check,sec=krb5p:krb5i:krb5)
Client machines use autofs to mount user home directories on demand. Here's auto.home:
* -fstype=nfs4,rw,soft,sec=krb5 192.168.0.2:/home/&
This works and works well. Still, exporting
/export seems unnecessary so I commented that line out of the server config. Now automounting fails on the clients.
- Why does
/exportto also be exported?
- Do the security options for
/export/homehave to be the same?
- Why does auto.home read
192.168.0.2:/export/home/&? It doesn't seem like that should work at all.