Hi - I know it's probably rude to subscribe to the list and then immediately
ask a question, but I'm stumped and haven't been able to find any solution in
the list archives or on the wiki. I am running Amanda 3.3.2 on CentOS 6 with a
Dell PowerVault 124T tape changer (and LTO-4 tapes). I am trying to implement a
disk->disk->tape backup scheme where Amanda regularly dumps to virtual tapes
and I then run amvault periodically to write some of those backups to physical
tape for archiving.
The setup seems to work fine until I get to the amvault phase. When it becomes
time for amanda to load a second tape, I'm getting a fatal error like this:
amvault: Amanda::Recovery::Clerk: reading file 8 on 'EECS-07'
amvault: empty write to tape; treating as LEOM early warning and retrying
amvault: Cancelling <Xfer@0x2d80bd0 (<XferSourceRecovery@0x2d938b0> ->
<XferDestTaperSplitter@0x2d9a0c0>)>
amvault: failure: transfer failed: No space left on device, splitting not
enabled
amvault: quitting scribe..
amvault: quitting scribe..
amvault: tape EECS-VAULT-012 kb 809667223 fm 73 [OK]
amvault: quitting clerk..
amvault: critical (fatal): Can't call method "status" on an undefined value at
/usr/share/perl5/Amanda/Changer/robot.pm line 1527.
/usr/lib64/amanda/libamanda-3.3.2.so[0x3af502a797]
/lib64/libglib-2.0.so.0(g_logv+0x1b9)[0x3915642ff9]
/lib64/libglib-2.0.so.0(g_log+0x83)[0x3915643413]
/usr/share/perl5/auto/Amanda/MainLoop/libMainLoop.so(+0x4d1f)[0x7fa0601ebd1f]
/lib64/libglib-2.0.so.0[0x391563961b]
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x3915638f0e]
/lib64/libglib-2.0.so.0[0x391563c938]
/lib64/libglib-2.0.so.0(g_main_loop_run+0x195)[0x391563cd55]
/usr/share/perl5/auto/Amanda/MainLoop/libMainLoop.so(_wrap_run_c+0x75)[0x7fa0601ea085]
/usr/lib64/perl5/CORE/libperl.so(Perl_pp_entersub+0x5a5)[0x35ce6a66d5]
/usr/lib64/perl5/CORE/libperl.so(Perl_runops_standard+0x16)[0x35ce6a49c6]
/usr/lib64/perl5/CORE/libperl.so(perl_run+0x338)[0x35ce64d0d8]
/usr/bin/perl(main+0xec)[0x400cac]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3913e1ecdd]
/usr/bin/perl[0x400af9]
I've tried to play with the changer definition, specifically trying to increase
some timeouts:
define changer robot {
tpchanger "chg-robot:/dev/sg14"
property "tape-device" "0=/dev/nst0"
property "load-poll" "20s poll 5s"
property "unload-delay" "20s"
device-property "LEOM" "TRUE"
}
Surprisingly, LEOM should've warned Amanda that the tape was about to run out,
yet it still tried to write the file? I used the following tapetype, generated
by an amtapetype run:
define tapetype DellPV124-DLT4 {
comment "Created by amtapetype; compression disabled"
length 824601472 kbytes
filemark 0 kbytes
speed 97034 kps
blocksize 32 kbytes
lbl-templ "/var/lib/amanda/example/label-templates"
}
I'd really appreciate any suggestions or hints.
Markus
---
Markus A. Iturriaga Woelfel, IT Administrator
Department of Electrical Engineering and Computer Science
University of Tennessee
Min H. Kao Building, Suite 424 / 1520 Middle Drive
Knoxville, TN 37996-2250
[email protected] / (865) 974-3837
http://twitter.com/UTKEECSIT