Hello,
Have been using amanda for approximately 3 years and am delighted with
the software.
I have a problem which I believe is related to device sharing.
The OS is CentOS 5.10 and I am running amanda 3.3.3.
Have a SUN SL500 with three LT05 drives, a 90 tape library, and a 15
slot cap loader.
Attached files are failed_12a.rpt, works_12a.rpt, the atape.sh script
(used to manipulate the tape robot), and the amanda.conf file.
Situation:
The AMADSet12a dump process was running and was writing to the
8th tape of the set.
I was using the atape.sh script to empty and load the library for
the next dump set.
The dump failed, this has happened several times in the past, and I
believe it is due to amanda not dealing with a busy tape robot.
Is there a parameter for setting the time that Amanda should wait for
a tape to load or for the robot to be available to service a request?
Thank you in advance...have a nice day!
--
Leslie(Pete) Boyd
Contractor: The rich man isn't the one who has
Vision Technologies the most, but the one who needs the
Senior Systems Engineer least.
US EPA Room E460
919-541-1438 ---IN GOD WE TRUST---
org "US EPA(NERL/AMAD"
mailto "[email protected]"
dumpuser "amanda"
inparallel 3
dumporder "sssS"
taperalgo first
displayunit "k"
#netusage 1000000 Kbps
netusage 8000 Kbps
#dumpcycle 1 weeks
dumpcycle 0
#runspercycle 4
runtapes 17
tapecycle 17 tapes
#bumpsize 1000 Mb
#bumppercent 20
#bumpdays 1
#bumpmult 4
etimeout 600
#dtimeout 1800
#ctimeout 30
device-property "LEOM" "TRUE"
device_output_buffer_size 5120k
#usetimestamps yes
#flush-threshold-dumped 0
#flush-threshold-scheduled 0
#taperflush 0
#autoflush no
define changer hp-robot {
tapedev "chg-robot:/dev/sg10"
property "use-slots" "31-47"
# property "tape-device" "0=tape:/dev/nst0"
property append "tape-device" "1=tape:/dev/nst1"
# property append "tape-device" "2=tape:/dev/nst2"
# property "load-poll" "20s poll 15s until 120s"
# device-property "BLOCK_SIZE" "512k"
device-property "BLOCK_SIZE" "2MB"
}
tapedev "hp-robot"
#tpchanger "/usr/local/libexec/amanda/chg-zd-mtx"
#changerfile "/usr/local/etc/amanda/AMADSet12a/changer.conf"
changerdev "/dev/sg10"
#maxdumpsize -1
labelstr "^AMADSet12a-[1243567890][0123456789]*$"
#amrecover_do_fsf yes #Deprecated -- 2Oct27
#amrecover_check_label yes #Deprecated -- 2Oct27
amrecover_changer "/dev/sg10"
#chg-multi:DEVICE-LIST
holdingdisk hd1 {
comment "main holding disk"
directory "/export/sl501/dumps/amanda"
# use 734003 Mb
use 1000000 Mb
# chunksize 3Gb
chunksize 0Gb
}
infofile "/usr/local/etc/amanda/AMADSet12a/curinfo"
logdir "/usr/local/etc/amanda/AMADSet12a"
indexdir "/usr/local/etc/amanda/AMADSet12a/index"
define tapetype LTO5 {
comment "Created 10Oct31 by amtapetype; compression enabled"
length 1480621632 kbytes
filemark 854 kbytes
speed 134516 kps
# blocksize 32 kbytes
blocksize 2MB
}
tapetype LTO5
define dumptype global {
comment "Global definitions"
auth "bsdtcp"
}
define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index
priority low
}
define dumptype user-tar {
root-tar
comment "user partitions dumped with tar"
priority medium
}
define dumptype comp-root-tar {
root-tar
comment "Root partitions with compression"
compress client fast
}
define dumptype comp-user-tar {
user-tar
compress client fast
}
define interface local {
comment "a local disk"
use 8000 kbps
}
Hostname: sl501.rtpnc.epa.gov
Org : US EPA(NERL/AMAD
Config : AMADSet12a
Date : March 26, 2014
These dumps were to tapes AMADSet12a-376, AMADSet12a-377, AMADSet12a-378,
AMADSet12a-379, AMADSet12a-380, AMADSet12a-381, AMADSet12a-382, AMADSet12a-383.
The next 17 tapes Amanda expects to use are: 9 new tapes, AMADSet12a-376,
AMADSet12a-377, AMADSet12a-378, AMADSet12a-379, AMADSet12a-380, AMADSet12a-381,
AMADSet12a-382, AMADSet12a-383.
The next 9 new tapes already labelled are: AMADSet12a-384, AMADSet12a-385,
AMADSet12a-386, AMADSet12a-387, AMADSet12a-388, AMADSet12a-389, AMADSet12a-390,
AMADSet12a-391, AMADSet12a-392
FAILURE DUMP SUMMARY:
taper: FATAL no device is available to check the datapath at
/usr/lib/perl5/site_perl/5.8.8/Amanda/Taper/Scribe.pm line 593
node34bk.rtpnc.epa.gov /12w lev 0 FAILED [data write: Broken pipe]
node34bk.rtpnc.epa.gov /12w lev 0 partial taper: error from mtx: SCSI error;
Sense Key=Aborted Command
STATISTICS:
Total Full Incr. Level:#
-------- -------- -------- --------
Estimate Time (hrs:min) 0:02
Run Time (hrs:min) 52:26
Dump Time (hrs:min) 0:00 0:00 0:00
Output Size (meg) 14865244. 14865244. 0.0
Original Size (meg) 0.0 0.0 0.0
Avg Compressed Size (%) -- -- --
DLEs Dumped 0 0 0
Avg Dump Rate (k/s) -- -- --
Tape Time (hrs:min) 52:25 52:25 0:00
Tape Size (meg) 14865244. 14865244. 0.0
Tape Used (%) 1028 1028 0.0
DLEs Taped 1 1 0
Parts Taped 8 8 0
Avg Tp Write Rate (k/s) 80674.6 80674.6 --
USAGE BY TAPE:
Label Time Size % DLEs Parts
AMADSet12a-376 4:42 1449891840K 97.9 1 1
AMADSet12a-377 4:55 1590480896K 107.4 0 1
AMADSet12a-378 6:46 2216736768K 149.7 0 1
AMADSet12a-379 6:45 2274074624K 153.6 0 1
AMADSet12a-380 5:54 1943574528K 131.3 0 1
AMADSet12a-381 4:57 1486483456K 100.4 0 1
AMADSet12a-382 5:18 1714880512K 115.8 0 1
AMADSet12a-383 12:57 2545887232K 171.9 0 1
FAILED DUMP DETAILS:
/-- node34bk.rtpnc.epa.gov /12w lev 0 FAILED [data write: Broken pipe]
sendbackup: start [node34bk.rtpnc.epa.gov:/12w level 0]
sendbackup: info BACKUP=/bin/gtar
sendbackup: info RECOVER_CMD=/bin/gtar -xpGf - ...
sendbackup: info end
\--------
NOTES:
planner: Adding new disk node34bk.rtpnc.epa.gov:/12w.
driver: Taper protocol error
driver: going into degraded mode because of taper component error.
taper: slot 9 not in use-slots (31-47)
taper: Slot 31 with label AMADSet12a-376 is usable
taper: tape AMADSet12a-376 kb 1449891840 fm 1 [OK]
taper: Slot 32 with label AMADSet12a-377 is usable
taper: tape AMADSet12a-377 kb 1590480896 fm 1 [OK]
taper: Slot 33 with label AMADSet12a-378 is usable
taper: tape AMADSet12a-378 kb 2216736768 fm 1 [OK]
taper: Slot 34 with label AMADSet12a-379 is usable
taper: tape AMADSet12a-379 kb 2274074624 fm 1 [OK]
taper: Slot 35 with label AMADSet12a-380 is usable
taper: tape AMADSet12a-380 kb 1943574528 fm 1 [OK]
taper: Slot 36 with label AMADSet12a-381 is usable
taper: tape AMADSet12a-381 kb 1486483456 fm 1 [OK]
taper: Slot 37 with label AMADSet12a-382 is usable
taper: tape AMADSet12a-382 kb 1714880512 fm 1 [OK]
taper: Slot 38 with label AMADSet12a-383 is usable
taper: tape AMADSet12a-383 kb 2545887232 fm 1 [OK]
DUMP SUMMARY:
DUMPER STATS
TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s
MMM:SS KB/s
------------------------------------ -----------------------------------------
--------------
node34bk.rtpnc.epa.gov /12w 0 15222009856 -- PARTIAL
3144:4 80674.6 PARTIAL
(brought to you by Amanda version 3.3.3)
Hostname: sl501.rtpnc.epa.gov
Org : US EPA(NERL/AMAD
Config : AMADSet12a
Date : March 28, 2014
These dumps were to tapes AMADSet12a-383, AMADSet12a-384, AMADSet12a-385,
AMADSet12a-386, AMADSet12a-387, AMADSet12a-388, AMADSet12a-389, AMADSet12a-390,
AMADSet12a-391, AMADSet12a-392.
The next 17 tapes Amanda expects to use are: 7 new tapes, AMADSet12a-383,
AMADSet12a-384, AMADSet12a-385, AMADSet12a-386, AMADSet12a-387, AMADSet12a-388,
AMADSet12a-389, AMADSet12a-390, AMADSet12a-391, AMADSet12a-392.
The next 7 new tapes already labelled are: AMADSet12a-376, AMADSet12a-377,
AMADSet12a-378, AMADSet12a-379, AMADSet12a-380, AMADSet12a-381, AMADSet12a-382
STATISTICS:
Total Full Incr. Level:#
-------- -------- -------- --------
Estimate Time (hrs:min) 0:02
Run Time (hrs:min) 58:46
Dump Time (hrs:min) 58:44 58:44 0:00
Output Size (meg) 16747775. 16747775. 0.0
Original Size (meg) 16747775. 16747775. 0.0
Avg Compressed Size (%) 100.0 100.0 --
DLEs Dumped 1 1 0
Avg Dump Rate (k/s) 81106.1 81106.1 --
Tape Time (hrs:min) 58:44 58:44 0:00
Tape Size (meg) 16747775. 16747775. 0.0
Tape Used (%) 1158 1158 0.0
DLEs Taped 1 1 0
Parts Taped 10 10 0
Avg Tp Write Rate (k/s) 81107.6 81107.6 --
USAGE BY TAPE:
Label Time Size % DLEs Parts
AMADSet12a-383 4:30 1465366528K 99.0 1 1
AMADSet12a-384 4:52 1566197760K 105.8 0 1
AMADSet12a-385 6:46 2234230784K 150.9 0 1
AMADSet12a-386 6:33 2242873344K 151.5 0 1
AMADSet12a-387 6:05 1991708672K 134.5 0 1
AMADSet12a-388 4:59 1437036544K 97.1 0 1
AMADSet12a-389 5:53 1851719680K 125.1 0 1
AMADSet12a-390 12:41 2418933760K 163.4 0 1
AMADSet12a-391 5:06 1629177856K 110.0 0 1
AMADSet12a-392 1:03 312477182K 21.1 0 1
NOTES:
planner: Adding new disk node34bk.rtpnc.epa.gov:/12w.
taper: Slot 38 with label AMADSet12a-383 is usable
taper: tape AMADSet12a-383 kb 1465366528 fm 1 [OK]
taper: Slot 39 with label AMADSet12a-384 is usable
taper: tape AMADSet12a-384 kb 1566197760 fm 1 [OK]
taper: Slot 40 with label AMADSet12a-385 is usable
taper: tape AMADSet12a-385 kb 2234230784 fm 1 [OK]
taper: Slot 41 with label AMADSet12a-386 is usable
taper: tape AMADSet12a-386 kb 2242873344 fm 1 [OK]
taper: Slot 42 with label AMADSet12a-387 is usable
taper: tape AMADSet12a-387 kb 1991708672 fm 1 [OK]
taper: Slot 43 with label AMADSet12a-388 is usable
taper: tape AMADSet12a-388 kb 1437036544 fm 1 [OK]
taper: Slot 44 with label AMADSet12a-389 is usable
taper: tape AMADSet12a-389 kb 1851719680 fm 1 [OK]
taper: Slot 45 with label AMADSet12a-390 is usable
taper: tape AMADSet12a-390 kb 2418933760 fm 1 [OK]
taper: Slot 46 with label AMADSet12a-391 is usable
taper: tape AMADSet12a-391 kb 1629177856 fm 1 [OK]
taper: Slot 47 with label AMADSet12a-392 is usable
taper: tape AMADSet12a-392 kb 312477182 fm 1 [OK]
DUMP SUMMARY:
DUMPER STATS
TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS
KB/s MMM:SS KB/s
------------------------------------
---------------------------------------------- --------------
node34bk.rtpnc.epa.gov /12w 0 17149722110 17149722110 -- 3524:08
81106.1 3524:0 81107.6
(brought to you by Amanda version 3.3.3)