how do I tell FreeBSD to sync, for real ?

David Kirchner dpk at dpk.net
Wed Nov 9 00:00:45 GMT 2005


On 11/8/05, user <user at 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.


More information about the freebsd-questions mailing list