cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX 11.31 NFS server

Tom Wolf_3
Valued Contributor

HP-UX 11.31 NFS server

Hello all.

We have an HP-UX 11.31 NFS server in our environment that exports a file system to many HP-UX NFS clients.

This works fine on all clients with the exception of a few HP-UX 11.31 servers.

On those servers, the following is written to /etc/rc.log:


Start NFS client subsystem
Output from "/sbin/rc2.d/S430nfs.client start":
----------------------------
    Starting NFS CLIENT subsystem

    Starting up nfs4cbd daemon
        /usr/sbin/nfs4cbd
      Starting up nfsmapid daemon
        /usr/sbin/nfsmapid
    Mounting remote NFS file systems ...
nfs mount: mkeadm01: : RPC: Unknown host
FAILURE CODE: 1
    Mount failed!  Possible local filesystem mount.
    If local filesystem, then nfs.server will mount it.


Host mkeadm01 is our HP-UX 11.31 NFS server.

All the HP-UX clients are configured the same so I can't figure why the NFS is not mounting.

It does mount when I issue "mount -a" on the client it just doesn't mount during system startup.

Any thoughts on this?

2 REPLIES
Dennis Handly
Acclaimed Contributor

Re: HP-UX 11.31 NFS server

>nfs mount: mkeadm01: : RPC: Unknown host

 

Is there an entry in /etc/hosts for that server?  Is DNS configured/working?

Does it work if you use an IP address?

Bill Hassell
Honored Contributor

Re: HP-UX 11.31 NFS server

Make sure that all your systems have the same /etc/nsswitch.conf.

Fof production servers, the reliable way to configure nsswitch.conf is:

# /etc/nsswitch.files:

passwd:       files
group:        files
hosts:        files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes:      files [NOTFOUND=continue UNAVAIL=continue] dns
services:     files
networks:     files
protocols:    files
rpc:          files
publickey:    files
netgroup:     files
automount:    files
aliases:      files

 

Then, all important addresses (which will likely never change) are put in /etc/hosts. This removes the major impact on servers when the DNS server goes down. 



Bill Hassell, sysadmin