Operating System - HP-UX
1827276 Members
2291 Online
109717 Solutions
New Discussion

Re: bdf stucks on NFS client because NFS Server down

 
Thamm
Occasional Advisor

bdf stucks on NFS client because NFS Server down

Hello,
we had the problem that the bdf command on a nfs-client stuck because the nfs-server was crushed.
What would happen, if we had used a "soft" NFS-mount command (e.g. the following options in fstab: nfs rw,suid,soft,retry=2 0 0).

Thanks in advance,
Stefan.
3 REPLIES 3
RolandH
Honored Contributor

Re: bdf stucks on NFS client because NFS Server down

Hi Stefan,

see the manpage mount_nfs and go tp the section hard|soft and Background vs. Foreground
This will really good explain what will happen.

Otherwise, if you not want the disk usage from the NFS mount, then you can use bdf -l. This lists only local filesystems.


HTH
Roland
Sometimes you lose and sometimes the others win
T G Manikandan
Honored Contributor

Re: bdf stucks on NFS client because NFS Server down

Yes,Stefan that is the right option.

For soft nfs mounts the client queries for the server a specified amount of times and then disconnects.

If that were a hard mount then the client queries the server until it gets a connection again.This is the default one.

Massimo Bianchi
Honored Contributor

Re: bdf stucks on NFS client because NFS Server down

Hi,
hard option MUST be used if there are executables on it, otherwise you can have strange behaviour and core-dumps.

Massimo