From owner-freebsd-current@FreeBSD.ORG Tue May 25 07:11:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 508B916A4CE for ; Tue, 25 May 2004 07:11:23 -0700 (PDT) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.5.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id E32D443D1D for ; Tue, 25 May 2004 07:11:22 -0700 (PDT) (envelope-from john@brann.org) Received: from freebie.brann.orgmta3.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) current@freebsd.org; Tue, 25 May 2004 10:09:43 -0400 (EDT) Received: from jbdesk.brann.org (jbdesk.brann.org [10.0.0.4])for ; Tue, 25 May 2004 10:09:57 -0400 (EDT envelope-from john@brann.org) Received: from jbdesk.brann.org (localhost.brann.org [127.0.0.1])for ; Tue, 25 May 2004 10:09:57 -0400 (EDT envelope-from john@jbdesk.brann.org) Received: (from john@localhost) by jbdesk.brann.org (8.12.11/8.12.11/Submit) id i4PE9vBf004815 for current@freebsd.org; Tue, 25 May 2004 10:09:57 -0400 (EDT envelope-from john) Content-return: prohibited Date: Tue, 25 May 2004 10:09:57 -0400 From: John Brann To: current@freebsd.org Message-id: <20040525140957.GA4619@jbdesk.brann.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=pf9I7BMVVzbSWLtt; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Wed, 26 May 2004 04:59:37 -0700 Subject: Dump size calculation borked? May 24 current i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 14:11:23 -0000 --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--