Hi,
I have a nextstation that is the NetInfo server. On this machine I have two exported NFS shares. One of them is the directory containing the users home directories. I am then importing those shares on the root domain, so they were all mounted on another three nextstations, and when I telneted into each of them, I would get my home directory that is on the NetInfo server.
Yesterday, I had to reboot the NetInfo server machine, and now the shares are not mounted anymore. I tried deleting the shares (which gave me a dialog box with an error, but deleted it anyway) and re-creating them, but the command "showmount -a" on the server still does not print anything.
I telneted into one of the machines and ran "showmount -a" on the client (don't know if that makes any sense) and it resulted in a "RPC : Program not registered". Don't know if it related.
On the NetInfo server I tried telneting to the nfs port as shown in "rpcinfo -p" (it shows port 2049) and i got a "connection refused". I did a "ps aux | grep nfs" and got several processes running so nfsd is running (I think).
One thing that happened when I rebooted the NetInfo server was that the disk where one of the shares was, was corrupted and the OS ran chkdsk on it. I saw a line in the messages logfile of a client machine saying the exported directory was not available at that time. But doesn't nfsd check periodically for the availability of the shared directories ?
If I do the command "autonfsmount" on the client, I can see in the messages log file "Master yp map: args to yp function are bad". How do I fix this ?
thanks,
Regards
Learned of the exportfs command which was returning nothing (showmount -e did return the shares), did a "exportfs -a", and now it works.
Glad you got that one sorted. I was wondering about it myself.