From nobody@FreeBSD.org  Wed Feb  6 14:29:04 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1828537B425
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Feb 2002 14:29:04 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g16MT4C67400;
	Wed, 6 Feb 2002 14:29:04 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202062229.g16MT4C67400@freefall.freebsd.org>
Date: Wed, 6 Feb 2002 14:29:04 -0800 (PST)
From: Ward Violanti <ward@atomz.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Restore asking for another volume - on large partitions
X-Send-Pr-Version: www-1.0

>Number:         34675
>Category:       misc
>Synopsis:       Restore asking for another volume - on large partitions
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    iedowse
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 14:30:00 PST 2002
>Closed-Date:    Sun Jun 02 05:18:26 PDT 2002
>Last-Modified:  Sun Jun 02 05:18:26 PDT 2002
>Originator:     Ward Violanti
>Release:        FreeBSD 4.4-STABLE
>Organization:
Atomz Corp.
>Environment:
FreeBSD backup02.sc.atomz.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 30 13:22:27 PST 2001     root@backup02.sc.atomz.com:/usr/obj/usr/src/sys/GENERIC  i386      
>Description:
      I'm running FreeBSD 4.4 (Unix), and the problem that I'm running into is, when restoring large partitions using the "restore -if /dev/sa0" the restore thinks there is another volume and keeps asking for it (like it's in a loop).  To get out of this I just "control C" it.  However, the ownership and file permissions are not set.  It looks like all the data was restored, however without the proper permissions or ownership it's almost impossible to restore in a timely manner.  I'm almost ready to implement Amanda, when I noticed in the FAQs that Amanda calls "restore -if" and has the same problem.  If the "-r" option is used then restore goes just fine.  The problem seems to only occur on the Larger partitions (above 3GB).  I have checked the web for answers, where I could see that others are experiencing the same problem.  But, no fix was mentioned.  It just keeps asking for another volume.
>How-To-Repeat:
restore a large partition over 3GB or 4GB using the following:

 "restore -if /dev/*"      
>Fix:
Not Known.      
>Release-Note:
>Audit-Trail:

From: Ian Dowse <iedowse@maths.tcd.ie>
To: Ward Violanti <ward@atomz.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/34675: Restore asking for another volume - on large partitions 
Date: Thu, 07 Feb 2002 10:53:16 +0000

 In message <200202062229.g16MT4C67400@freefall.freebsd.org>, Ward Violanti writ
 es:
 >
 >      I'm running FreeBSD 4.4 (Unix), and the problem that I'm running into is
 >, when restoring large partitions using the "restore -if /dev/sa0" the restore
 > thinks there is another volume and keeps asking for it (like it's in a loop).
 
 This is a duplicate of PRs bin/4176 and also bin/34604. Could you try
 the patch for restore in the PR bin/34604? It's also available at
 
 	http://www.maths.tcd.ie/~iedowse/FreeBSD/restore.diff
 
 and there's a patched restore binary at:
 
 	http://www.maths.tcd.ie/~iedowse/FreeBSD/restore
 
 Ian
Responsible-Changed-From-To: freebsd-bugs->iedowse 
Responsible-Changed-By: iedowse 
Responsible-Changed-When: Thu Feb 14 09:58:30 PST 2002 
Responsible-Changed-Why:  
I've been working on this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34675 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Fri Mar 1 13:44:46 PST 2002 
State-Changed-Why:  

This should be fixed now in both -CURRENT and -STABLE. Can you cvsup 
and confirm that restore works as expected now? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34675 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Jun 2 05:17:44 PDT 2002 
State-Changed-Why:  

Problem has been fixed. 

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