From nsayer@quack.kfu.com  Wed Apr 25 09:48:50 2001
Return-Path: <nsayer@quack.kfu.com>
Received: from quack.kfu.com (quack.kfu.com [205.178.90.194])
	by hub.freebsd.org (Postfix) with ESMTP id B655B37B42C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Apr 2001 09:48:49 -0700 (PDT)
	(envelope-from nsayer@quack.kfu.com)
Received: from medusa.kfu.com (medusa.kfu.com [205.178.90.222])
	by quack.kfu.com (8.11.3/8.11.3) with ESMTP id f3PGmnA89515
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Apr 2001 09:48:49 -0700 (PDT)
	(envelope-from nsayer@quack.kfu.com)
Received: (from nsayer@localhost)
	by medusa.kfu.com (8.11.3/8.11.3) id f3PGmnt64348;
	Wed, 25 Apr 2001 09:48:49 -0700 (PDT)
	(envelope-from nsayer)
Message-Id: <200104251648.f3PGmnt64348@medusa.kfu.com>
Date: Wed, 25 Apr 2001 09:48:49 -0700 (PDT)
From: nsayer@quack.kfu.com
Reply-To: nsayer@quack.kfu.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: dump with h flag takes a very long time
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         26842
>Category:       bin
>Synopsis:       dump with h flag takes a very long time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 09:50:01 PDT 2001
>Closed-Date:    Mon Jul 16 12:50:45 GMT 2007
>Last-Modified:  Mon Jul 16 12:50:45 GMT 2007
>Originator:     Nick Sayer
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
just me
>Environment:
System: FreeBSD medusa.kfu.com 4.3-RELEASE FreeBSD 4.3-RELEASE #6: Sat Apr 21 08:52:25 PDT 2001 nsayer@medusa.kfu.com:/usr/obj/usr/src/sys/MEDUSA i386


% df -i /usr
Filesystem   1K-blocks     Used    Avail Capacity iused   ifree  %iused	Mounted on
/dev/ad0s1e    1744767   993637   611549    62%  157845  278633    36%	/usr

The filesystem has chflags nodump on /usr/src, /usr/obj, /usr/sup and
/usr/ports. Nowhere else.

Machine is a K6-233.

>Description:

The problem was noticed with the amanda port. Amanda does a

dump 0fhs /dev/null 0 1048576 /usr

and waits until the end of pass II to get an estimate of how much space
the real dump will take.

On this machine, with 4.3-RELEASE, the above command can take upwards of
a half hour to complete pass II.

dump 0fs /dev/null 1048576 /usr

completes pass II almost immediately.

Something about hierarchical dump flag processing has added
exponentially to the amount of time Pass II takes to complete.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dd 
Responsible-Changed-By: mikeh 
Responsible-Changed-When: Fri Jun 22 23:22:22 PDT 2001 
Responsible-Changed-Why:  
Dima did work on inheriting nodump down hierarchy, maybe you could look at this? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26842 
Responsible-Changed-From-To: dd->freebsd-buds 
Responsible-Changed-By: dd 
Responsible-Changed-When: Tue Nov 29 01:00:36 UTC 2005 
Responsible-Changed-Why:  
I've been sitting on this too long, and it doesn't look like I'll have 
time to look at it very soon. Returning it to the regular bugs queue. 
Sorry. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26842 
Responsible-Changed-From-To: freebsd-buds->freebsd-bugs 
Responsible-Changed-By: dd 
Responsible-Changed-When: Tue Nov 29 01:03:48 UTC 2005 
Responsible-Changed-Why:  
typo 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26842 
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Fri Jun 8 12:05:33 UTC 2007 
State-Changed-Why:  
Submitter has been asked for feedback 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Fri Jun 8 12:05:33 UTC 2007 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26842 

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org, nsayer@quack.kfu.com
Cc:  
Subject: Re: bin/26842: dump with h flag takes a very long time
Date: Fri, 08 Jun 2007 13:05:18 +0100

 Hi,
 
 I can't recreate this on FreeBSD 6.x.  Can you confirm please if you
 still see this problem?
 
 Thanks,
 
 Gavin
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Mon Jul 16 12:49:45 UTC 2007 
State-Changed-Why:  
Feedback timeout (>1 month), can't recreate on 6.x 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26842 
>Unformatted:
