From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 04:23:35 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 C52C337B401 for ; Thu, 3 Jul 2003 04:23:35 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555214401F for ; Thu, 3 Jul 2003 04:23:32 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h63BNLZj058387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jul 2003 12:23:27 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h63BNLDa058386; Thu, 3 Jul 2003 12:23:21 +0100 (BST) (envelope-from matthew) Date: Thu, 3 Jul 2003 12:23:21 +0100 From: Matthew Seaman To: Mark Message-ID: <20030703112321.GA58208@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mark , freebsd-questions@freebsd.org References: <200307031115.H63BFEAN058242@asarian-host.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <200307031115.H63BFEAN058242@asarian-host.net> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.4 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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:23:36 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 03, 2003 at 11:15:14AM +0000, Mark wrote: > Making a daily server backup, using dump (FreeBSD 4.7R), I keep running i= nto > 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-fi= le > size, as if it were still on the partition! >=20 > 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? Hmmm... not an answer to the question you asked, but does not: # chflags nodump your-very-large-file in combination with using the '-h 0' flag to dump(8) let you backup the partition without including the file in question? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/BBIpdtESqEQa7a0RAmEeAJ9A+HZsjOBeviW4F2pp0gwAgGexrgCgmdM0 h3UgmhjnoIGb3FGwJrlZQ/c= =k3S1 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--