Subject: Re: bin/35966: dump reports negative time estimates and writes too much data
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/11/2007 21:10:05
The following reply was made to PR bin/35966; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: bin/35966: dump reports negative time estimates and writes too much data
Date: Sun, 11 Mar 2007 10:26:36 +0100

 On Sat, Mar 10, 2007 at 05:35:00AM +0000, agrier@poofygoof.com wrote:
 > >Number:         35966
 > >Category:       bin
 > >Synopsis:       dump reports negative time estimates and writes too much data
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    bin-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Mar 10 05:35:00 +0000 2007
 > >Originator:     agrier@poofygoof.com
 > >Release:        NetBSD 3.0_STABLE
 > >Organization:
 >   Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
 >               "silly brewer, saaz are for pils!"  --  virt
 > >Environment:
 > 	
 > System: NetBSD aragorn 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #0: Thu Jul 27 22:58:47 PDT 2006 agrier@aragorn:/var/obj/GENERIC i386
 > Architecture: i386
 > Machine: i386
 > 
 > /sbin/dump:
 >      $NetBSD: crt0.c,v 1.13 2003/07/26 19:24:27 salo Exp $
 >      $NetBSD: itime.c,v 1.15 2003/08/07 10:04:14 agc Exp $
 >      $NetBSD: main.c,v 1.57.2.3 2006/11/11 21:30:27 bouyer Exp $
 >      $NetBSD: optr.c,v 1.33 2004/04/21 01:05:32 christos Exp $
 >      $NetBSD: dumprmt.c,v 1.30 2003/08/07 10:04:14 agc Exp $
 >      $NetBSD: rcache.c,v 1.21 2003/09/13 10:59:50 simonb Exp $
 >      $NetBSD: tape.c,v 1.44.2.1 2006/11/11 21:30:27 bouyer Exp $
 >      $NetBSD: traverse.c,v 1.44 2004/05/25 14:54:56 hannken Exp $
 >      $NetBSD: unctime.c,v 1.15 2003/08/07 10:04:15 agc Exp $
 >      $NetBSD: ffs_inode.c,v 1.16 2004/03/27 12:59:18 dsl Exp $
 >      $NetBSD: ffs_bswap.c,v 1.29.2.1 2005/06/02 20:43:11 tron Exp $
 > >Description:
 > DUMP: Found /dev/rwd0f on /usr in /etc/fstab
 > DUMP: Date of this level 0 dump: Fri Mar  9 00:32:30 2007
 > DUMP: Date of last level 0 dump: the epoch
 > DUMP: Dumping /dev/rwd0f (/usr) to standard output
 > DUMP: Label: none
 > DUMP: mapping (Pass I) [regular files]
 > DUMP: mapping (Pass II) [directories]
 > DUMP: estimated 10243859 tape blocks.
 > DUMP: Volume 1 started at: Fri Mar  9 00:33:23 2007
 > [..]
 > DUMP: 1646.89% done, finished in -15:-1
 > DUMP: 169098219 tape blocks
 > DUMP: Volume 1 completed at: Fri Mar  9 16:36:42 2007
 > DUMP: Volume 1 took 16:03:19
 > DUMP: Volume 1 transfer rate: 2925 KB/s
 > DUMP: Date of this level 0 dump: Fri Mar  9 00:32:30 2007
 > DUMP: Date this dump completed:  Fri Mar  9 16:36:42 2007
 > DUMP: Average transfer rate: 2925 KB/s
 > DUMP: level 0 dump on Fri Mar  9 00:32:30 2007
 > DUMP: DUMP IS DONE
 > 
 > let me get this straight; the dump estimated 10243859 blocks, yet wrote
 > 169098219 blocks?  how is that possible?
 
 This can easily happen if you dump a live filesystem. Was there some write
 activity to this partition while you ran the dump ?
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --