Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2004 10:09:57 -0400
From:      John Brann <john@brann.org>
To:        current@freebsd.org
Subject:   Dump size calculation borked? May 24 current i386
Message-ID:  <20040525140957.GA4619@jbdesk.brann.org>

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

--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

My nightly dump produced strange output I have never seen before:

DUMP: Date of this level 2 dump: Tue May 25 05:00:01 2004
DUMP: Date of last level 0 dump: Sun May 23 05:00:01 2004
DUMP: Dumping snapshot of /dev/ad0s1a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 16561 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: 99.99% done, finished soon
DUMP: DUMP: 16687 tape blocks
DUMP: finished in 13 seconds, throughput 1283 KBytes/sec
DUMP: level 2 dump on Tue May 25 05:00:01 2004
DUMP: DUMP IS DONE

The problem appears to be in dump's size calculation - the duration of the
dump (13 seconds) is about right.

Filesystems being dumped were mounted.  Some have softupdates enabled,
the example above does not. The same symptom appears on both.

jbdesk:john>mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

The dump images produced seem to be ok - restore doesn't barf on them and
a restore -x to some scratch space produced believable output.

The dump of my /usr partition produced more than 1850 of these '99.99%=20
complete' messages in a 525 second dump.

I cvsupped CURRENT yesterday, built and installed kernel and world without
problems.

jbdesk:john>uname -v
FreeBSD 5.2-CURRENT #17: Mon May 24 13:05:18 EDT 2004     root@jbdesk.brann=
.org:/usr/obj/usr/src/sys/JBDESK=20

Regards,

John

--=20
        Unreal City,
     Under the brown fog of a winter dawn,


--pf9I7BMVVzbSWLtt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAs1O1V2IaDvrl+0gRAqnvAJ9T8W9mQeZNEgMPbTAdgIWIjAjx3gCgtGVU
vOQAt8f65eQeki7YT9lwPKs=
=izjn
-----END PGP SIGNATURE-----

--pf9I7BMVVzbSWLtt--



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