Amanda-Users

Re: amrestore: missing file header block

2006-05-19 12:04:45
Subject: Re: amrestore: missing file header block
From: Pavel Pragin <ppragin AT zmanda DOT com>
To: Iulian Topliceanu <iulian.topliceanu AT net-m DOT de>
Date: Fri, 19 May 2006 08:53:59 -0700
Iulian Topliceanu wrote:

Hi,

When trying to

[root@bacchus recover]# amrestore /dev/nst0 baal /data/data0/conf
amrestore: missing file header block
amrestore:   2: skipping pbx2._etc.20060503.1
amrestore: missing file header block
amrestore:   5: skipping pbx1._etc.20060503.1
amrestore: missing file header block
amrestore:   8: skipping baal._var_spool_mail_h.20060503.1
amrestore: missing file header block
amrestore:  10: reached end of information

It's not happening only on one tape, I've tried 4 tapes and all of them
had the same simptoms.

Though, I've managed to restore the data by using only: amrestore
/dev/nst0 but I still have the impression that it skiped some DLE's (it
didn't start from 1, it started from 2)

I'm using amanda 2.5.0 having a holdingdisk defined and spanning the DLE's
*some* DLE's over mutiple tapes (I have two policies defined)

define dumptype office {
       root-tar
       comment "the office policy"
       index
       compress server best
}

define dumptype office-split-rest {
       root-tar
       comment "the office policy"
       index
       compress server best
       priority high
       fallback_splitsize 100 Mb
       tape_splitsize 4 Gb
}

Thanks for your help,
Iulian Topliceanu

Can you run these to see the contents of the tape:

-bash-3.00$ ammt -f /dev/nst0 rewind
-bash-3.00$ ammt -f /dev/nst0 fsf 1
-bash-3.00$ amdd if=/dev/nst0 bs=32k count=1




<Prev in Thread] Current Thread [Next in Thread>