Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 13:20:54 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        Mark <admin@asarian-host.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: A "softupdates" problem?
Message-ID:  <20030703131938.H47860-100000@gwdu60.gwdg.de>
In-Reply-To: <200307031115.H63BFEAN058242@asarian-host.net>

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

On Thu, 3 Jul 2003, Mark wrote:

> Making a daily server backup, using dump (FreeBSD 4.7R), I keep running into
> a "softupdates" problem. That is, prior to backing up a partition (/var), I
> move a large file (several gigabytes) off that partition. But because of the
> "softupdates" effect, the size of that large file is added to the dump-file
> size, as if it were still on the partition!
>
> I have been able to circumvent that, in the past, by waiting a few minutes
> before starting the dump (until df reflects the correct size). This is not
> really ideal, though, as I disallow outside connections while in backup (so
> as not to change the /var partion with log-files being filled and such). Is
> there not a command to force 'softupdates' to write out its cache
> immediately?

I didn't try, but `sync' should do the job, shouldn't it?

Regards

Konrad Heuer (kheuer2@gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany





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