Visit Our UNIX and Linux User Community


bdf hangs


 
Thread Tools Search this Thread
Operating Systems HP-UX bdf hangs
# 1  
Old 01-14-2012
bdf hangs

hi,

bdf command hangs but before it, it lists all the fstab content, so i cannot find the reason...

could anybody give me any clue??

thanks a lot for your attention.

regards

Pablo

i attach syslog
Code:
Jan 14 16:30:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:30:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:31:34 sv23  above message repeats 9 times
Jan 14 16:35:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:35:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:37:03 sv23  above message repeats 9 times
Jan 14 16:40:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:40:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:43:50 sv23  above message repeats 9 times
Jan 14 16:45:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:45:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d
Jan 14 16:46:57 sv23  above message repeats 9 times
Jan 14 16:50:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d


Last edited by Scott; 01-14-2012 at 01:20 PM.. Reason: Please use code tags
# 2  
Old 01-14-2012
Please post the output from:
Code:
type bdf
cat /etc/fstab
cat /etc/mnttab
mount

Any context or buildup? Have you have been manually editing /etc/fstab or making other changes? Any recent hardware failures?
# 3  
Old 01-14-2012
Code:
cat /etc/fstab
# 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 hfs defaults 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/lvcrash /var/adm/crash vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvapps /apps vxfs delaylog 0 2
/dev/vg00/lvproducts /products vxfs delaylog 0 2
/dev/vg00/lvlogs /logs vxfs delaylog 0 2
/dev/vg00/lvtools /tools vxfs delaylog 0 2
/dev/vg00/lvtransfer /transfer vxfs delaylog 0 2
/dev/vg00/lvoracle /oracle vxfs delaylog,nodatainlog 0 2
/dev/vg00/lvbte /bte vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/lvlocal /local vxfs delaylog 0 2
/dev/vg00/lvoraarc /oraarc vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvoradbf1 /oradbf1 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/lvoradbf2 /oradbf2 vxfs rw,suid,largefiles,delaylog,datainlog 0 2


/dev/vg00/lvol3 / vxfs log 0 1 1322822033
/dev/vg00/lvol1 /stand hfs defaults 0 0 1322822034
/dev/vg00/lvol8 /var vxfs delaylog,nodatainlog 0 0 1322822042
/dev/vg00/lvcrash /var/adm/crash vxfs delaylog,nodatainlog,nolargefiles 0 0 1322822042
/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0 1322822042
/dev/vg00/lvtransfer /transfer vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvtools /tools vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvol4 /tmp vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvproducts /products vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg01/lvoradbf2 /oradbf2 vxfs delaylog,nodatainlog,largefiles 0 0 1322822043
/dev/vg01/lvoradbf1 /oradbf1 vxfs delaylog,nodatainlog,largefiles 0 0 1322822043
/dev/vg00/lvoracle /oracle vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvoraarc /oraarc vxfs delaylog,nodatainlog,nolargefiles 0 0 1322822043
/dev/vg00/lvol6 /opt vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvlogs /logs vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvlocal /local vxfs delaylog,nodatainlog 0 0 1322822044
/dev/vg00/lvol5 /home vxfs delaylog,nodatainlog 0 0 1322822044
/dev/vg00/lvbte /bte vxfs delaylog,nodatainlog,nolargefiles 0 0 1322822044
/dev/vg00/lvapps /apps vxfs delaylog,nodatainlog 0 0 1322822044
sv55adm:/var/opt/ignite/clients /var/opt/ignite/recovery/client_mnt nfs rsize=65536,wsize=65536,NFSv3 0 0 1324000801
sv55adm:/var/opt/ignite/recovery/archives/sv23 /var/opt/ignite/recovery/arch_mnt nfs rsize=65536,wsize=65536,NFSv3 0 0 1324000976
sv23:#/root# ca
sv23:#/root# clear
sv23:#/root# cat /etc/mnttab
/dev/vg00/lvol3 / vxfs log 0 1 1322822033
/dev/vg00/lvol1 /stand hfs defaults 0 0 1322822034
/dev/vg00/lvol8 /var vxfs delaylog,nodatainlog 0 0 1322822042
/dev/vg00/lvcrash /var/adm/crash vxfs delaylog,nodatainlog,nolargefiles 0 0 1322822042
/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0 1322822042
/dev/vg00/lvtransfer /transfer vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvtools /tools vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvol4 /tmp vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvproducts /products vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg01/lvoradbf2 /oradbf2 vxfs delaylog,nodatainlog,largefiles 0 0 1322822043
/dev/vg01/lvoradbf1 /oradbf1 vxfs delaylog,nodatainlog,largefiles 0 0 1322822043
/dev/vg00/lvoracle /oracle vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvoraarc /oraarc vxfs delaylog,nodatainlog,nolargefiles 0 0 1322822043
/dev/vg00/lvol6 /opt vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvlogs /logs vxfs delaylog,nodatainlog 0 0 1322822043
/dev/vg00/lvlocal /local vxfs delaylog,nodatainlog 0 0 1322822044
/dev/vg00/lvol5 /home vxfs delaylog,nodatainlog 0 0 1322822044
/dev/vg00/lvbte /bte vxfs delaylog,nodatainlog,nolargefiles 0 0 1322822044
/dev/vg00/lvapps /apps vxfs delaylog,nodatainlog 0 0 1322822044
sv55adm:/var/opt/ignite/clients /var/opt/ignite/recovery/client_mnt nfs rsize=65536,wsize=65536,NFSv3 0 0 1324000801
sv55adm:/var/opt/ignite/recovery/archives/sv23 /var/opt/ignite/recovery/arch_mnt nfs rsize=65536,wsize=65536,NFSv3 0 0 1324000976

ok i see, the last entry of this file is the one who is hang

but when i try to unmmount

says it busy

Code:
sv55adm:/var/opt/ignite/recovery/archives/sv23 /var/opt/ignite/recovery/arch_mnt nfs rsize=65536,wsize=65536,NFSv3 0 0 1324000976
sv23:#/root# umount /var/opt/ignite/recovery/arch_mnt
nfs umount: nfs_unmount: /var/opt/ignite/recovery/arch_mnt: is busy
umount: return error 1.
sv23:#/root# umount sv55adm:/var/opt/ignite/recovery/archives/sv23
nfs umount: nfs_unmount: /var/opt/ignite/recovery/arch_mnt: is busy
umount: return error 1.

and when i do
Code:
user -k /var/opt/ignite/recovery/arch_mnt
/var/opt/ignite/recovery/arch_mnt:

is like stalled... so i have to do control-c

Last edited by pabloli150; 01-14-2012 at 01:03 PM..
# 4  
Old 01-14-2012
Sorry, but I have absolutely no idea what is going on here. Please review your post and ensure that the commands match the output and that there are four different commands with matching output. If your /etc/fstab is as posted, it is so corrupt that it will not work. I suspect a mispost.

Are you running from an Ignite recovery or some sort?
# 5  
Old 01-14-2012
well,

ignite is configured in this server(client) to make it to the ignite server sv55

so, seems that it lost connection or anything, and now i cannot umount that sv55adm entry in mnttab, even if i kill processes related with ignite, and make fuser -ck to the mount point.

ignite is just configured in the crontab and the mount point is created automatically
# 6  
Old 01-14-2012
you found the issue. it's your NFS mounts that are hung. make sure your sv55adm server is alive and on the network, then perform various network connection tests. you may have to reboot your sv23 server to clear the stale NFS mounts, if can't force them to umount.

Last edited by unxscorob; 01-14-2012 at 01:38 PM.. Reason: typo
# 7  
Old 01-14-2012
Quote:
ignite is configured in this server(client) to make it to the ignite server sv55
ignite is just configured in the crontab and the mount point is created automatically
Please be specific (including showing the relevant crontab line). Is the computer with the problem using server "sv55adm" to store an ignite image?
Also, is this a new build or a sudden problem with an established system?


Please do edit post #3 so that commands match output. As posted it makes no sense.

Previous Thread | Next Thread
Test Your Knowledge in Computers #284
Difficulty: Easy
AIX (Advanced Interactive eXecutive) is a series of proprietary Unix operating systems developed and sold by Digital Equipment Corporation (DEC) for several of its computer platforms.
True or False?

10 More Discussions You Might Find Interesting

1. HP-UX

Bdf in HP-UX

Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Discussion started by: djmental
3 Replies

2. Shell Programming and Scripting

Problem with a BDF script...

Hi, I'm trying to use an old script I found of the internet a while back, I forget where its from. Its supposed to convert the bdf function and display filesystem size in MB's and line it up however it never worked... Here is the error: And here is the code: #!/usr/bin/sh echo... (3 Replies)
Discussion started by: zixzix01
3 Replies

3. Shell Programming and Scripting

Formatting BDF output

Hello people. First of all I googled my problem and even found answers in this forum. Unfortunatelly my problem is not solved. When the lenght of the filesystem is too big the output of bdf wraps into another line. e.g.: Filesystem kbytes used avail %used Mounted on... (5 Replies)
Discussion started by: drbiloukos
5 Replies

4. Shell Programming and Scripting

Bdf output

Here is my bdf output #bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 2097152 217112 1865424 10% / /dev/vg00/lvol1 1835008 329040 1494288 18% /stand /dev/vg00/lvol7 10485760 7864080 2601240 75% /var /dev/vg00/lvol8 8454144 486597 7469647 ... (5 Replies)
Discussion started by: indrajit_renu
5 Replies

5. Shell Programming and Scripting

bdf error

I have this line in a sh script: bdf | grep /var/opt/vgdb | tr -s " " | cut -f4,6 -d" " | awk '{print $2" "$1}' > vgdb_free_space.txt if I run that line in the shell it works fine but when I ran the script got this error: add_database_files.sh: line 83: bdf: command not found also I tried... (4 Replies)
Discussion started by: C|KiLLeR|S
4 Replies

6. UNIX for Advanced & Expert Users

bdf question

Hi all i am working on script which uses "bdf" output to create excel sheet now when i check "Total" "Used" & "Available" i found that except root everywhere used + available != total here is example : part from bdf output : filesystem-total-used-available-%used-Mounted on ... (4 Replies)
Discussion started by: zedex
4 Replies

7. HP-UX

bdf , /etc/fstab , /etc/mnttab

Hi all, Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued. An example of what I mean is, currently I see the following ... $ bdf -l Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 524288 ... (6 Replies)
Discussion started by: Cameron
6 Replies

8. Shell Programming and Scripting

bdf script not working !!

Hi, I have written a funtion which taken bdf output and put's in a file. The idea is to grep a areas which greater then 80% and echo the same on the system. However the script I have written fails with the error :- + awk $0 !~ /^F/ + awk {print $5"\t" $6} + sed s/%// + 1> /tmp/bdflist}... (3 Replies)
Discussion started by: kpatel786
3 Replies

9. HP-UX

df and bdf discrepencies

I've recently had some space problems on one of our old HP9000 machines. I archived/moved/compressed/trashed some stuff to free up some space on one rather large (and important) logical volume. As one would expect, when `df -b` is executed some space is shown as free: /opt ... (2 Replies)
Discussion started by: sam_pointer
2 Replies

10. UNIX for Dummies Questions & Answers

BDF test for > 90%

I am trying to write a script that will allow me to do a bdf then do a test for a percentage that is 90% or greater. If the test is true then i want to send a message to myself and one other person. Any suggestions ? ? ? Thanks. ....svp (6 Replies)
Discussion started by: svp4444
6 Replies

Featured Tech Videos