Bug 32261

Summary: dump creates a dump file much larger than sum of dumped files
Product: Base System Reporter: Mark Hannon <markhannon>
Component: binAssignee: Ceri Davies <ceri>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-RELEASE   
Hardware: Any   
OS: Any   

Description Mark Hannon 2001-11-25 04:40:01 UTC
An incremental dump of some filesystems generates dump files
that are much larger than the sum of their dumped files.  I 
wrote a small perl script to check and got the following
results:

doorway:~/proj/dumpsize> sudo ./dumpsize.pl /export /var/dumps/export9-part1
Level 9 dump of /export on doorway.home.lan:/dev/ad0s1h
Label: none
The level 0 dump of /export partition written to /var/dumps/export9-part1
contains 717 files totalling 28006 KB, cf size of dumpfile = 0 ( 104660 )

doorway:~/proj/dumpsize> ll /var/dumps/export9-part1
-rw-r--r--  1 root  wheel  107171840 Nov 25 05:13 /var/dumps/export9-part1

The size of the dumped files totals 28 MB whilst the dump file is 105MB.

Any ideas as to what the rest of the file contains?
Comment 1 Mark Hannon 2001-12-02 09:15:53 UTC
The problem seems to go away if I manually delete any existing dump
files with the same
name as the new dump prior to making a new dump. ie. the total filesize
of a file, usr9
(ie the level 9 dump of /usr that is written every night) never gets any
smaller.

Any ideas of what this might be?  (I have changed my backup script to
unlink the old file
before starting a new dump now and it seems to work)

/mark
Comment 2 Crist J. Clark freebsd_committer freebsd_triage 2002-07-13 23:09:09 UTC
State Changed
From-To: open->feedback

Can you reproduce this in more recent releases? I seem to recall 
discussion about fixing a bug that sounded similar to this.
Comment 3 Ceri Davies freebsd_committer freebsd_triage 2003-06-08 19:02:13 UTC
State Changed
From-To: feedback->closed

Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates. 


Comment 4 Ceri Davies freebsd_committer freebsd_triage 2003-06-08 19:02:13 UTC
Responsible Changed
From-To: freebsd-bugs->ceri

Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates.