Hi Jean-Louis,

I have added " {wr: writers 86922 rdwait 0.000 wrwait 5433.433 filemark 3.160}]" to the last line in be-full/log/log.20000612.0 and now amcheckdump seems to work:

$ amcheckdump --verbose be-full
You will need the following volume: BE-full-85
Press enter when ready



Quoting Bernhard Erdmann <[email protected]> on Tue, 20 Mar 2012 14:47:08 +0100:

Hi Jean-Louis,

one of the Amanda logfiles (be-full/log/log.20000612.0, 84 lines) contains the line in question:

[...]
START taper datestamp 20000612 label BE-full-24 tape 3
INFO taper retrying ente:/var/spool/news.0 on new tape: [closing tape: Input/output error] SUCCESS taper ente /var/spool/news 20000612 0 [sec 5438.722 kb 2781504 kps 511.4 {wr: writers 86922 rdwait 0.000 wrwait 5433.433 filemark 3.160}]
INFO taper tape BE-full-24 kb 4006560 fm 2 writing file: Input/output error
START taper datestamp 20000612 label BE-full-25 tape 4
INFO taper retrying apollo:/mnt/xcdroast.0 on new tape: [closing tape: Input/output error] SUCCESS taper apollo /mnt/xcdroast 20000612 0 [sec 2477.048 kb 1266208 kps 511

This logfile ends with "kps 511" - nothing beyond.



Quoting Jean-Louis Martineau <[email protected]> on Tue, 20 Mar 2012 09:18:10 -0400:

It is probably a corruption of one of the log.<datastamp>.* file

Can you post the file with the string: [sec 2477.048 kb 1266208 kps 511

Jean-Louis

On 03/20/2012 08:52 AM, Bernhard Erdmann wrote:
Hi,

when I call amcheckdump (Amanda version 3.3.1) it reports:

$ amcheckdump --verbose be-full
amcheckdump: '[sec 2477.048 kb 1266208 kps 511' at /opt/amanda/lib/amanda/perl/Amanda/DB/Catalog.pm line 750.
$ echo $?
1

I guess it has something to do with the index of this Amanda configuration which has grown over 12 years. I have never used amcheckdump successfully before.

Do you have an idea how to debug?


$ perl -d /opt/amanda/sbin/amcheckdump --verbose be-full

Loading DB routines from perl5db.pl version 1.28
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(/opt/amanda/sbin/amcheckdump:65):
65: Amanda::Util::setup_application("amcheckdump", "server", $CONTEXT_CMDLINE);
DB<1> b 303
DB<2> r
main::CODE(0x10d4de50)(/opt/amanda/sbin/amcheckdump:303):
303:            Amanda::Recovery::Planner::make_plan(
304:                dumpspecs => [ $spec ],
305:                changer => $chg,
306:                plan_cb => $steps->{'plan_cb'});
DB<2> n
amcheckdump: '[sec 2477.048 kb 1266208 kps 511' at /opt/amanda/lib/amanda/perl/Amanda/DB/Catalog.pm line 750.




Reply via email to