Re: amrestore: missing file header block
2006-05-20 06:59:42
> 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
After executing amdd I get this:
[root@bacchus recover]# /usr/local/sbin/amdd if=/dev/nst0 bs=32k count=1
AMANDA: TAPESTART DATE 20060505 TAPE office-27
014
1+0 in
1+0 out
[root@bacchus recover]#
As I said before, I was able to see and restore the content of the tape by
using amrestore:
[root@bacchus recover]# /usr/local/sbin/amrestore /dev/nst0
amrestore: missing file header block
amrestore: 2: restoring pbx2._var_lib_asterisk.20060505.0
amrestore: 3: restoring pbx1._etc.20060505.0
amrestore: 4: restoring baal._data_data0_netlogon.20060505.0
amrestore: 5: restoring baal._data_etc0.20060505.0
amrestore: 6: restoring pbx2._etc.20060505.0
amrestore: 7: restoring pbx1._var_lib_asterisk.20060505.0
amrestore: 8: restoring baal._var_spool_mail___vacation.20060505.0
amrestore: 9: restoring baal._data_dns1.20060505.0
amrestore: 10: reached end of information
Though the tape had been rewound, '1' was still missing.
Thanks again,
Iulian
|
|
|