From nobody@FreeBSD.ORG  Wed Sep 13 12:27:14 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id DA51737B423; Wed, 13 Sep 2000 12:27:14 -0700 (PDT)
Message-Id: <20000913192714.DA51737B423@hub.freebsd.org>
Date: Wed, 13 Sep 2000 12:27:14 -0700 (PDT)
From: bigfoot@stomped.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: dump/restore fail on any stream (tape/pipe/file) over 4GB
X-Send-Pr-Version: www-1.0

>Number:         21253
>Category:       bin
>Synopsis:       dump/restore fail on any stream (tape/pipe/file) over 4GB
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    mjacob
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 13 12:30:00 PDT 2000
>Closed-Date:    Fri Mar 1 13:33:54 PST 2002
>Last-Modified:  Fri Mar 01 13:36:35 PST 2002
>Originator:     Guy Gustavson
>Release:        3.2 and 4.1
>Organization:
stomped.com
>Environment:
FreeBSD titan.stomped.com 4.1-RELEASE FreeBSD 4.1-RELEASE #2: Thu Aug 24 00:01:15 GMT 2000     root@titan.stomped.com:/usr/src/sys/compile/BFKERNEL  i386
>Description:
dump/restore incorrectly assumes any restore stream longer than 4GB spans another tape.

[7:11am] 102 [/titan5]:titan% ls -l /titan1
total 24617616
-rw-r-----  1 root  wheel  1124892672 Sep 12 21:13
www.stomped.com._usr_local_webs.20000710.4
[7:11am] 103 [/titan5]:titan% restore x -f
/titan1/www.stomped.com._usr_local_webs.20000710.4

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: David Malone <dwmalone@maths.tcd.ie>
To: bigfoot@stomped.com
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/21253: dump/restore fail on any stream (tape/pipe/file) over 4GB
Date: Wed, 13 Sep 2000 22:36:43 +0100

 On Wed, Sep 13, 2000 at 12:27:14PM -0700, bigfoot@stomped.com wrote:
 
 > [7:11am] 103 [/titan5]:titan% restore x -f
 > /titan1/www.stomped.com._usr_local_webs.20000710.4
 
 I think this works if you read from stdin:
 
 	restore xf - < /titan1/www.stomped.com._usr_local_webs.20000710.4
 
 There are other ways to do this too, but this is one easy way.
 
 	David.
 

From: David Malone <dwmalone@maths.tcd.ie>
To: mjacob@feral.com
Cc: freebsd-gnats-submit@FreeBSD.org,
	Guy Gustavson <bigfoot@stomped.com>
Subject: Re: bin/21253: dump/restore fail on any stream (tape/pipe/file) over 4GB 
Date: Sun, 17 Sep 2000 21:59:02 +0100

 > I went and checked this also. Restore has no problems
 > reading 8GB from standard input. It sounds like the only
 > thing could be is something destroying the pipe.
 
 I can't reproduce it either just by trying to restore a large
 filesystem:
 
 15:43:walton 4# restore xf - < ../src-dump
 restore xf - < ../src-dump
 set owner/mode for '.'? [yn] n
 21:50:walton 5# fg
 21:50:walton 6# ls -l ../src-dump
 -rw-------  1 root  wheel  3211929600 Sep 17 11:38 ../src-dump
 
 Whatever the problem is, it doesn't seem to be restore. Maybe
 they're somehow producing bad dump files?
 
 	David.
 

From: Matthew Jacob <mjacob@feral.com>
To: freebsd-gnats-submit@FreeBSD.org, bigfoot@stomped.com
Cc:  
Subject: Re: bin/21253: dump/restore fail on any stream (tape/pipe/file) over 4GB
Date: Sun, 29 Oct 2000 10:28:24 -0800

 I don't believe we can reproduce this. I believe this should be closed.
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Aug 12 16:39:08 PDT 2001 
State-Changed-Why:  

Can this be closed?  

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21253 
Responsible-Changed-From-To: freebsd-bugs->mjacob 
Responsible-Changed-By: mjacob 
Responsible-Changed-When: Mon Oct 1 19:02:44 PDT 2001 
Responsible-Changed-Why:  
I might as well look at this. 
. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21253 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Fri Mar 1 13:33:54 PST 2002 
State-Changed-Why:  

Feedback timeout, and the problem (which was probably triggered by 
dumping an active filesystem) is believed to be fixed by some 
recent restore(8) changes. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21253 
>Unformatted:
