General
cancel
Showing results for 
Search instead for 
Did you mean: 

implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

study unix
Regular Advisor

implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

implement command "bdf " then to be halted, what happened ? please help me how to deal with it! thanks!
root@know:/ # bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 331160 711848 32% /
/dev/vg00/lvol1 1835008 199280 1623032 11% /stand
/dev/vg00/lvol8 8912896 8151608 755528 92% /var
/dev/vg00/lvol7 4554752 3101080 1442360 68% /usr
/dev/vg00/lvol4 1048576 231296 811704 22% /tmp
/dev/vg00/lvol6 7782400 5216376 2546040 67% /opt
DevFS 11 11 0 100% /dev/deviceFileSystem
/dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001
4021966 4021966 0 100% /njl
13 REPLIES
Bill Hassell
Honored Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

bdf is listing all the filesystems that are mounted. When it stops, it is hung (not progressing). You may have some NFS mounts that are failing (the NFS server is broken) or possibly a USB device is not working.


Bill Hassell, sysadmin
Anshumali
Esteemed Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

+ 1 on Bill.
You can also check for possible clues in syslog.log and dmesg
One of your mounted file system is having issues for sure and that is the reason bdf getting hung.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
study unix
Regular Advisor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

Hi All,
thanks for your full reply,
moreover, how to check NFS status ?
Anshumali
Esteemed Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

did you check anything unusual in syslog.log. Usually there will be few lines saying NFS server not responding if NFS is an issue.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Bill Hassell
Honored Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

> moreover, how to check NFS status ?

Post a copy of /etc/fstab and we can tell what you are mounting.


Bill Hassell, sysadmin
Hakki Aydin Ucar
Honored Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

There are some commands to check nfs ;

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1279182396991+28353475&threadId=236268

Besides on nfs server socket overflow indicates your nfs performance :

# netstat -sp udp
study unix
Regular Advisor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

Hi All,
Thanks for all replies,
1./etc/fstab as below:
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/myswap /myswap swap defaults 0 0
2.use command "showmount" error is
showmount: ora: RPC: Program not registered

anyhow, bdf is still halted!
chris huys_4
Honored Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

/home is not showing up in the bdf output.

Bill Hassell
Honored Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

fstab shows no NFS mountpoints, so it appears that you may have a bad disk. A few suggestions back said to look at dmesg and syslog. Run these commands:

dmesg
tail -100 /var/adm/syslog/syslog.log

Yoy may have a bad disk that is causing bdf (and other processes) to hang.


Bill Hassell, sysadmin
study unix
Regular Advisor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

Hi Bill,
Thanks for your response,
I don't find error from syslog,
but, if you can give some example regarding to find bad disk, or what indicator can indentify bad disk!
Thanks again!
Steven E. Protter
Exalted Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

Shalom,

grep lbolt /var/adm/syslog/syslog.log

Use mstm,cstm or xstm to test disks.

You might have a stale, former nfs mount.

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop

/sbin/init.d/nfs.client start
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start

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
Bhadresh
Trusted Contributor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

Abid Iqbal
Regular Advisor

Re: implement command "bdf " then to be halted, what happened ? please help me how to deal with it!

Hi,
Share the /etc/fstab and /etc/mntab
Check for any stale mounts.