Operating System - HP-UX
1832848 Members
3737 Online
110047 Solutions
New Discussion

Re: cold install, nfs.client failed at booting

 
jane zhang
Regular Advisor

cold install, nfs.client failed at booting

Hi all,
I just installed os 10.20 in a 9000/785/c180 machine from CD ( 10.20, 1999).
the box rebooted right after the cold install and give me rc.log error on nfs.client executing. fail code 1.
I continued to configure the network including NIS and Automounter and load all the support plus patches and moved /home and /opt away from /vg00.

Booting is fine except this nfs mounting fail error.

I tried to manually stop the client by
# cd /sbin/init.d
.# . ./nfs.client stop // the window just dispeared ???
Same thing happened with when I executed
# ./nfs.client start
the window disapeared too.

I can ping the DNS server as well as NFS server and alreay added the box to the netgroup map.

Any idea???

Thanks,


4 REPLIES 4
OneNeck UNIXSA
Frequent Advisor

Re: cold install, nfs.client failed at booting

On the NFS server ensure that the NFS are exported to your nfs server.
showmount -e

also
ps -ef | grep -e nfs -e mountd

On the NFS client do:
ps -ef | grep -e biod -e nfs

If no biod process are running. Edit /etc/rc.config.d/nfsconf and then do a
cd /sbin/rc2.d
for serv in $(ls S*nfs* )
do
./$serv start
done


harry d brown jr
Honored Contributor

Re: cold install, nfs.client failed at booting


What do you mean the window disappeared? What window?

To stop the client you either 'cd" to the /sbin/init.d directory and type in

./nfs.client stop

and not the

. ./nfs.client stop

NOTE the DOT (.) SPACE before the "./nfs.client stop" you posted (maybe a typo????)

or

/sbin/init.d/nfs.client stop

But better yet, turn the NFS client OFF in /etc/rc.config.d/nfs.conf

NFS_CLIENT=0

live free or die
harry
Live Free or Die
jane zhang
Regular Advisor

Re: cold install, nfs.client failed at booting

Hi,
Thanks for the response.
The . before ./nfs.client is a typo. please ignore the window dispear issue.

Still the NFS client automounter did not get started even though in the server, the user need to use the NFS to access the files in our NIS domain.

root@DCSSW: ps -aef | grep biod
root 692 1 0 Feb 19 ? 0:21 /usr/sbin/biod 4
root 693 1 0 Feb 19 ? 0:23 /usr/sbin/biod 4
root 691 1 0 Feb 19 ? 0:25 /usr/sbin/biod 4
root 690 1 0 Feb 19 ? 0:26 /usr/sbin/biod 4

# ./nfs.client stop
killing biod
# ./nfs.client start
starting NFS CLIENT networking

starting up the portmapper
portmap already started, using pid: 588
starting up the BIO daemons
/usr/sbin/biod 4
starting up the Status Monitor daemon
/usr/sbin/rpc.statd
starting up the Lock Manager daemon
/usr/sbin/rpc.lockd
starting up the Automount daemon
/usr/sbin/automount -m -f /etc/auto_master.fs
mounting remote NFS file systems ...
mount: /dev/vg02/lvol2 is not in the : format
FAILURE CODE: 1
Mount failed! Possible local filesystem mount.
If local filesystem, then nfs.server will mount it.

I checked the /etc/fstab the homes entry is
/dev/vg02/lvol2 /homes hfs rw,suid 0 2


Thanks,
Jane



jane zhang
Regular Advisor

Re: cold install, nfs.client failed at booting

Hi,
I changed nsfconf automount options and also /etc/fstab and maybe some other places. The error is fixed, rebooting without nfs failure.

Thanks,
Jane