1830730 Members
2123 Online
110015 Solutions
New Discussion

bdf hangs.

 
Vinod Tandon
Occasional Advisor

bdf hangs.

bdf hangs.
It does list all the disk space but it does not return control.
If i do bdf -l, it works.
Generally the system is running relatively slower.
Let me know if you have any clue as to why this may be happening.
Thanks in advance.
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: bdf hangs.

Since 'bdf -l', which mean bdf for local filesystems only, works but just 'bdf' does not I suspect you have NFS mounted filesystems that are not available.

If that is true, then you need to make your NFS mounted filesystems available again for them to work.
Sandy Chen
Honored Contributor

Re: bdf hangs.

Hi,

Check for your NFS, unmount and then re-mount, and restart the NFS service if necessary.

Regards,
Sandy
I never think of the future. It comes soon enough.
whiteknight
Honored Contributor

Re: bdf hangs.

Vinod,

#bdf -l

-l Display information for local file systems only (for example, HFS and CDFS file systems).

It is likely your NFS mount not working properly, you have to check that.

WK
Problem never ends, you must know how to fix it
Vinod Tandon
Occasional Advisor

Re: bdf hangs.

Can you please also help me with:
How do i check if NFS mount is working properly?
Srikanth Arunachalam
Trusted Contributor

Re: bdf hangs.

Hi,

The /etc/mnttab file will have details of nfs mounted directory. This will only be cleared due to unmount or reboot of server. Normally, the remote machine name will be present in /etc/mnttab.

If you have problem from client side, where bdf hangs.

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start

might possibly clear the mount point. After which you might want to manually mount it or possible re-boot of client clears entry in /etc/mnttab.

Thanks,
Srikanth
Jannik
Honored Contributor

Re: bdf hangs.

The command: dmesg
Will give you NFS timeout information.

The command: mount
Will give you the information about the mount points you have to look for.

Make sure that the server serving the nfs is op and running the mount command will you its name. Ether you have a server/netcard down or some change to the network on the server or directly on the network.

If the serving server has a problem fix that first. After that you could if necessary restart you nfs client:

cd /sbin/init.d
./nfs.client stop
./nfs.client start
jaton
Jeeshan
Honored Contributor

Re: bdf hangs.

Dear Vinod

When running the 'bdf' command it reads the entry in /etc/fstab file and show.

If any mount points defined in /etc/fstab failed to mount it can happen to hang the bdf command

please check the fstab entry then enter the command
mount -a

if it shows error then chek your LUN's or disks etc.

Jeesun
a warrior never quits
Vinod Tandon
Occasional Advisor

Re: bdf hangs.

I was unable to unmount NFS filesystem using umount. It always responded as 'busy' even when no process was running againsts it. So i had to reboot the server and then unmount the NFS filesystem.
This fixed the problem.
--

The input all of you provided to my thread was vbery useful. I could not have resolved this with this forums help.
Thanks.
Vinod Tandon
Occasional Advisor

Re: bdf hangs.

Thanks