Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 14:58:12 -0800
From:      David Kirchner <dpk@dpk.net>
To:        user <user@dhp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how do I tell FreeBSD to sync, for real ?
Message-ID:  <35c231bf0511081458w24119f79g3e32786cb997d4cc@mail.gmail.com>
In-Reply-To: <Pine.LNX.4.21.0511081707340.8180-100000@shell.dhp.com>
References:  <4464r2dch1.fsf@be-well.ilk.org> <Pine.LNX.4.21.0511081707340.8180-100000@shell.dhp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/8/05, user <user@dhp.com> wrote:
> No, I'm not asking "why do I need to sync" ... I understand why I need to
> wait, or issue a sync command.  No problems there.
>
> What I am asking is, why is one issuance of `sync` not enough ?  Why is
> two not enough ?  Why do I need to issue 6 or 8 of them ?

Softupdates is why. If you disable softupdates (tunefs -n disable
/dev/whatever) you shouldn't have to worry about the sync delay any
more.

I do wish there was a way to force it to sync to disk on demand, though.



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