Robert,

Did you configure with --with-maxtapeblocksize? What is the value?
What is your blocksize setting in the tapetype?
Did the tape labeled D00005 was written with the same blocksize?

Can you try the attached patch.

Jean-Louis

McGraw, Robert P. wrote:

Jean-Louis,

Here is the amidxtaped that you requested.


amidxtaped: short file header block: 32768 bytes

Not an amanda tape



diff -u -r --show-c-function --new-file --exclude-from=/home/martinea/src.orig/amanda.diff --ignore-matching-lines='$Id:' amanda-2.5.2/restore-src/restore.c amanda-2.5.2.restore/restore-src/restore.c
--- amanda-2.5.2/restore-src/restore.c	2007-05-04 07:39:06.000000000 -0400
+++ amanda-2.5.2.restore/restore-src/restore.c	2007-06-06 10:31:55.000000000 -0400
@@ -647,7 +647,7 @@ read_file_header(
 	fprintf(stderr, "%s: error reading file header: %s\n",
 		get_pname(), strerror(errno));
 	file->type = F_UNKNOWN;
-    } else if((size_t)bytes_read < blocksize) {
+    } else if((size_t)bytes_read < DISK_BLOCK_BYTES) {
 	if(bytes_read == 0) {
 	    fprintf(stderr, "%s: missing file header block\n", get_pname());
 	} else {

Reply via email to