Operating System - HP-UX
1833871 Members
1656 Online
110063 Solutions
New Discussion

Re: Server hangs while running bdf command

 
Adithyan
Frequent Advisor

Server hangs while running bdf command

Hi,

When ever issuing a bdf command the server hangs. The scenario i that, There was a NFS mount file system in the server and the server where NFS file system was exported is no more.

The entries are there in the fstab and mnnttab. We have tried commenting the entry from fstab and tried again but it didn't help. We have renamed the mnnttab and ran mount -a. But still the entries are there in the mnnttab.

Pls help
Keen to learn HP UX
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Server hangs while running bdf command

Shalom,

Fix /etc/fstab so it no longer mounts the non-existant filesystems.

Make sure automounter service is not trying to mount the drives.

Playing with mnttab is useless its a status file the system creates on the fly.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Adithyan
Frequent Advisor

Re: Server hangs while running bdf command

Hi Steven,

The automounter service is already stopped. And the entries in the /etc/fstab is remarked, We have deleted the entry and then also the result is same.

Is there anything else we can give a try ?
Keen to learn HP UX
V. Nyga
Honored Contributor

Re: Server hangs while running bdf command

Hi,

umount this file system.
If your server can't handle it, you should reboot it.
Else you could configure another ws like this no longer existing server. When the mount is ok again, then you've no problem to umount it.

Volkmar
*** Say 'Thanks' with Kudos ***
san.sa
Advisor

Re: Server hangs while running bdf command


Hi Adithyan,

1. Check the old nfs entry is there on /etc/mnttab.

2. If entry exists , find the process /usr/sbin/syncer (ps -ef syncer) and kill syncer process.

3.Modify /etc/mnttab - remove the nfd entries.

4. restart syncer daemon
syncer -s

I hope this helps

Regards

Anish