Re: problème avec montage nfs
Le Tue, 14 Jun 2011 00:00:01 +0200, sailerman a écrit :
> Est-ce normale que si la machine distante s'éteint, et que j'ouvre un
> terminal sur lequel je lance la commande ls, celui-ci ne répond pas et
> plante.
normal non mais j'ai constaté le même problème.
Essaie avec nfs4 qui marche un peu mieux.
Sinon l'option hard/soft (man nfs) :
soft / hard Determines the recovery behavior of the NFS client
after an NFS request times out. If neither option
is specified (or if the hard option is
specified), NFS requests are retried indefinitely. If the
soft option is specified, then the NFS client fails
an NFS request after retrans retransmissions have
been sent, causing the NFS client to return an
error to the calling application.
NB: A so-called "soft" timeout can cause silent
data corruption in certain cases. As such, use the
soft option only when client responsiveness is more
important than data integrity. Using NFS over
TCP or increasing the value of the retrans
option may mitigate some of the risks of using the soft
option.
Reply to: