bin/158363: partial restore problem in /sbin/restore
SATO Jun
sato.june at gmail.com
Tue Jun 28 02:10:11 UTC 2011
>Number: 158363
>Category: bin
>Synopsis: partial restore problem in /sbin/restore
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 28 02:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: SATO Jun
>Release: 7.1
>Organization:
>Environment:
FreeBSD 7.1-STABLE #0: Mon Jan 26 17:43:26 J\st 2009 /usr/src/sys/amd64/compile/GENERIC amd64
>Description:
Partial restoring using -i or -x option from multi volume backups is failed with 'tape is not dump tape'.
>How-To-Repeat:
Dump multi volume and restore with -i or -x option.
>Fix:
--- tape.c~ 2011-06-27 16:30:02.000000000 +0900
+++ tape.c 2011-06-28 10:08:36.000000000 +0900
@@ -425,7 +425,7 @@
gethdr:
volno = newvol;
setdumpnum();
- FLUSHTAPEBUF();
+ FLUSHTAPEBUF(); numtrec = 0;
if (gethead(&tmpbuf) == FAIL) {
dprintf(stdout, "header read failed at %ld blocks\n", blksread);
fprintf(stderr, "tape is not dump tape\n");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list