Operating System - HP-UX
1837650 Members
2919 Online
110117 Solutions
New Discussion

Can't access server using "cd /net/xxx..." with nfs

 
Greg Roberts
Advisor

Can't access server using "cd /net/xxx..." with nfs

I have two new hp9000's series 900 running hp11 with nis and nfs.

I was trying to access them using "cd /net/servername/directory" and I get "not found".

I've always had problems with them booting in that you have to manually stop and start nis&nfs when rebooted. Besides the manual restarting of nfs they work fine, can access automouter, telnet, ftp, etc. Can't find any info on cd /net/.. in any of the books. Any idea's????
8 REPLIES 8
Rick Garland
Honored Contributor

Re: Can't access server using "cd /net/xxx..." with nfs

Are the maps (for NIS and AUTOMOUNT) correct?
Greg Roberts
Advisor

Re: Can't access server using "cd /net/xxx..." with nfs

After thought, I can cd /net/ to another hp server from the new server but I can't cd /net/ to the new servers from another server. I think the maps are right in that we can access all the other automounted disks on other servers.
Rick Garland
Honored Contributor

Re: Can't access server using "cd /net/xxx..." with nfs

Are the nfsd and biod processess running on the new server?
Rick Garland
Honored Contributor

Re: Can't access server using "cd /net/xxx..." with nfs

Another thought, are the nis client and/or server processes running as well?
Greg Roberts
Advisor

Re: Can't access server using "cd /net/xxx..." with nfs

checked to see if biod, nfsd and nis are all running and they are
Rick Garland
Honored Contributor

Re: Can't access server using "cd /net/xxx..." with nfs

Sounds as if there is a config issue with the maps, the nfsd, the biod, or the nsswitch.conf, etc. (It is probably one of these, you can get out but you cannot get in.)
Greg Roberts
Advisor

Re: Can't access server using "cd /net/xxx..." with nfs

I was just comparing the nfsconf file on the new to the old and they are different. The old hp10.2 has a setting to use the "old" automount setting and a mount version, while hp11 does not???? Should I add this to hp11??

# More rpc.mountd configuration. See mountd(1m)
#
# MOUNTD_VER=2 ; start rpc.mountd to only serve PV2
# One can set the default NFS mount version
#
#MOUNT_VER=2 - mount using PV2
# =3 - mount using PV3 then fall back to PV2
# if not available
#NOTE: mount using the -o vers option will overide this
#variable
MOUNT_VER=2

# ; by default rpc.mountd with service both
# ; PV2 and PV3
#
MOUNTD_VER=2
#
#autofs configuration. See automount.1m and automountd.1m
#
#Depending on the variable AUTOFS, either AUTOFS or the old
#automount process will be executed.
#AUTOFS=0 - use the old automount process.
# 1 - use the new AutoFS.
#AUTOMOUNT_OPTIONS= - options to the AutoFS automount command
#AUTOMOUNTD_OPTIONS= - options to the AutoFS automountd daemon
#
# *** NOTE ****
#The AUTOMOUNT flag still needs to be set for either the old
#automount or new AutoFS to be started by the nfs.client script.
#
AUTOMOUNT_OPTIONS=
AUTOMOUNTD_OPTIONS=
AUTOFS=0
Greg Roberts
Advisor

Re: Can't access server using "cd /net/xxx..." with nfs

Found the problem. There was no export file in etc which means nothing was available over net with cd. Thought auto.disk did that, obviously not. Appear that the export file is what controlls which directories are available with "cd /net/servername/..."