Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2010 14:46:11 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, Oliver Fromme <olli@lurza.secnetix.de>
Subject:   Re: NFS write corruption on 8.0-RELEASE
Message-ID:  <Pine.GSO.4.63.1002121441430.29020@muncher.cs.uoguelph.ca>
In-Reply-To: <20100212190848.GF94665@hades.panopticon>
References:  <20100212180032.GC94665@hades.panopticon> <201002121820.o1CIKohU019226@lurza.secnetix.de> <20100212190848.GF94665@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 12 Feb 2010, Dmitry Marakasov wrote:

> * Oliver Fromme (olli@lurza.secnetix.de) wrote:
>
>> I'm sorry for the confusion ...  I do not think that it's
>> the cause for your data corruption, in this particular
>> case.  I just mentioned the potential problems with "soft"
>> mounts because it could cause additional problems for you.
>> (And it's important to know anyhow.)
>
> Oh, then I really misunderstood. If the curruption implied is
> like when you copy a file via NFS and the net goes down, and in
> case of soft mount you have half of a file (read: corruption), while
> with hard mount the copy process will finish when the net is back up,
> that's definitely OK and expected.
>
The problem is that it can't distinguish between "slow network/server" and
partitioned/failed network. In your case (one client) it may work out ok.
(I can't remember how long it takes to timeout and give up for "soft".)

For many clients talking to an NFS server, the NFS server's response
time can degrade to the point where "soft" mounted clients start timing
out and that can get ugly.

rick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.1002121441430.29020>