Date: Thu, 3 Jul 2003 12:23:21 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Mark <admin@asarian-host.net> Cc: freebsd-questions@freebsd.org Subject: Re: A "softupdates" problem? Message-ID: <20030703112321.GA58208@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <200307031115.H63BFEAN058242@asarian-host.net> References: <200307031115.H63BFEAN058242@asarian-host.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030703112321.GA58208>
