On Mon, 2011-11-28 at 23:18 +0900, Hughe Chung wrote:
> Package: nfs-common
> Version: 1:1.2.2-4
> Severity: normal
> 
> 
> When the network file server is shut down or disconnected, nfs daemon makes 
> other programs in client hung up when they access directories. Unless 
> manually 
> unmount the directory by 'sudo umount -fl /media/nfs.'

This is the intended behaviour.  You can override it by using the 'soft'
mount option, but this is not recommended.

> Programs that shows hung up includes: df, ls, vlc, and etc. Opening files
> freezes the program. autofs5 doesn't handle the server disconnection
> gracefully. 
> 
> Secondly it prevents pm-suspend putting the system in sleep mode. 

I believe this is a kernel bug (not a bug in nfs-common).

[...]
> I added extra options "nolock,_netdev,proto=tcp,hart" to fix
> pm-suspend and hung-up problem in /etc/fstab followed by:
>  # mini 192.168.1.101
>  mini:/archive /media/nfs nfs
>  nolock,_netdev,proto=tcp,hard,intr,rsize=8192,wsize
>  =8192      0   0
[...]

And did this make a difference?

Ben.

-- 
Ben Hutchings
Tomorrow will be cancelled due to lack of interest.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to