A "softupdates" problem?
Konrad Heuer
kheuer2 at gwdg.de
Thu Jul 3 04:20:58 PDT 2003
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 at gwdg.de) ____ ___ _______
GWDG / __/______ ___ / _ )/ __/ _ \
Am Fassberg / _// __/ -_) -_) _ |\ \/ // /
37077 Goettingen /_/ /_/ \__/\__/____/___/____/
Germany
More information about the freebsd-questions
mailing list