Jukka Salmi --> amanda-users (2013-05-13 22:37:12 +0200):
> Hello
> 
> I'm currently updating Amanda on some NetBSD/amd64 5.2_STABLE systems from
> 2.5.2p1 to 3.3.1; Amanda has been built from pkgsrc.  So far the Amanda server
> and one Amanda client have been updated.  The first thing I tried after
> the update was to check the latest backup (created by the "old" Amanda),
> but this failed:
> 
> $ amcheckdump Daily </dev/null
> You will need the following volume: DAILY07
> Press enter when ready
> Validating image foo.salmi.ch:/usr dumped 20130512032500 level 1
> amcheckdump: Can't locate object method "new" via package 
> "Amanda::Xfer::Source::Recovery" (perhaps you forgot to load 
> "Amanda::Xfer::Source::Recovery"?) at 
> /usr/pkg/lib/perl5/vendor_perl/5.16.0/Amanda/Recovery/Clerk.pm line 551.
> 
> I haven't run amdump(8) yet, thus e.g.  $logdir/amdump.$n is still from an
> Amanda 2.5.2p1 run.  Could this be the reason for the failure and I should 
> just
> run amdump(8)?

In the meantime I created a test configuration and ran amdump(8).
However, this particular problem still exists.

More specifically, now I get

foo.salmi.ch:/    0     44979k failed: process terminated while waiting for 
dumping 
foo.salmi.ch:/etc 1         4k failed: killed while writing to tape (7:45:12)
bar.salmi.ch:/    0     22788k failed: process terminated while waiting for 
dumping 
bar.salmi.ch:/etc 1         5k dump done (7:45:12), process terminated while 
waiting for writing to tape

(bar is the Amanda server)

The taper logfile reveals:

[...]
Amanda::Changer::compat initialized with script 
/usr/pkg/libexec/amanda/chg-disk, temporary directory /etc/pkg/amanda/Test
Amanda::Taper::Scan::traditional stage 1: search for oldest reusable volume
Amanda::Taper::Scan::traditional no oldest reusable volume
Amanda::Taper::Scan::traditional stage 2: scan for any reusable volume
Amanda::Changer::compat: invoking /usr/pkg/libexec/amanda/chg-disk with -info
Amanda::Changer::compat: Got response '8 8 1' with exit status 0
Amanda::Changer::compat: invoking /usr/pkg/libexec/amanda/chg-disk with -slot 
current
Amanda::Changer::compat: Got response '8 file:/var/amanda/vtapes/Test' with 
exit status 0
Slot 8 with label TEST08 is usable
Amanda::Taper::Scan::traditional result: 'TEST08' on 
file:/var/amanda/vtapes/Test slot 8, mode 2
Amanda::Taper::Scribe preparing to write, part size 0, using LEOM (falling back 
to holding disk as cache) (splitter)  (LEOM supported)
critical (fatal): Can't locate object method "new" via package 
"Amanda::Xfer::Dest::Taper::Splitter" (perhaps you forgot to load 
"Amanda::Xfer::Dest::Taper::Splitter"?) at 
/usr/pkg/lib/perl5/vendor_perl/5.16.0/Amanda/Taper/Scribe.pm line 731.

Hmm, looks similar to the problem mentioned above...  Any hints?


> Another potential issue I noticed is with amstatus(8):
[...]

It seems that this problem was caused by reading an amdump output file
created by 2.5.2p1 amdump with 3.3.1 amdump; amstatus(8) now seems to
work fine.


TIA & cheers,

Jukka

-- 
This email fills a much-needed gap in the archives.

Reply via email to