From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 04:20:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 590CD37B401 for ; Thu, 3 Jul 2003 04:20:58 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 694B64400E for ; Thu, 3 Jul 2003 04:20:57 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.8p1/8.12.4) with ESMTP id h63BKtTQ048257; Thu, 3 Jul 2003 13:20:55 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)h63BKsdQ048254; Thu, 3 Jul 2003 13:20:54 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Thu, 3 Jul 2003 13:20:54 +0200 (CEST) From: Konrad Heuer To: Mark In-Reply-To: <200307031115.H63BFEAN058242@asarian-host.net> Message-ID: <20030703131938.H47860-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: A "softupdates" problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 11:20:58 -0000 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