More on Host Question on tape advancment (answer?)
2003-08-04 14:18:25
Question: Did i a message right before that said
changer: got exit: 0 str: 40 81 1 0
that this string stood for "Current drive, max # slots, first slot, ***CAN
DRIVE go backwards ***??
That would explain this behavior I think, but I didnt see it in chg-scsi.conf
Mitch
amcheck: debug 1 pid 13444 ruid 107 euid 0: start at Mon Aug 4 14:05:18 2003
amcheck: dgram_bind: socket bound to 0.0.0.0.738
changer: got exit: 0 str: 40 81 1 0
changer_query: changer return was 81 1 0
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
changer: got exit: 0 str: 40 /dev/rmt/1bn
changer: got exit: 2 str: 41 slot 41 move failed
amcheck: spawning /usr/ucb/Mail in pipeline
amcheck: argument list: /usr/ucb/Mail -s "DailySet1 AMANDA PROBLEM: FIX BEFORE
RUN, IF POSSIBLE" mbruntel
amcheck: pid 13444 finish time Mon Aug 4 14:06:01 2003
~
~
-----Original Message-----
From: Bruntel, Mitchell L
Sent: Monday, August 04, 2003 1:53 PM
To: amanda-users AT amanda DOT org
Subject: Host Question on tape advancment
Here;s the question:
Should amanda be advancing the tape every time it runs amcheck like this?
in my changer, tapes 1-30 are amanda labeled tapes
(background I have a 80 slot tape changer.)
My amcheck Host says:
Amanda Tape Server Host Check
-----------------------------
Holding disk /dump: 8972115 KB disk space available, that's plenty
amcheck-server: slot 39: tape_rdlabel: tape open: /dev/rmt/1bn: I/O error
amcheck-server: fatal slot 40: slot 40 move failed
ERROR: new tape not found in rack
(expecting a new tape)
NOTE: skipping tape-writable test
Server check took 37.245 seconds
here's a snippet from my chg-scsi file
(I know, I've been told to move to chg-mtx, but I'm not sure of it yet...)
#: orginal example scsi.conf
number_configs 3
eject 1 # Tapedrives need an eject command
sleep 5 # Seconds to wait until the tape gets ready
cleanmax 15 # How many times could a cleaning tape get used
changerdev /dev/scsi/changer/c1t0d0
#
# first comes the data for drive 0
#
config 0
drivenum 0
dev /dev/rmt/0bn # tapedrive 1 (BSD type, no rewind, no
compression)
startuse 1 # The slots associated with the drive 0
enduse 81 #
statfile /usr/local/etc/amanda/DailySet1/logs/tape0-slot # The file
where the actual slot is stored
cleancart 0 # the slot where the cleaningcartridge for drive 0 is
located
cleanfile /usr/local/etc/amanda/DailySet1/logs/tape0-clean # The file
where the cleanings are recorded
usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive0
# Next comes the data for drive 1
config 1
drivenum 1
dev /dev/rmt/1bn # tapedrive 1 (BSD type, no rewind, no
compression)
startuse 1 # The slots associated with the drive 0
enduse 81 #
statfile /usr/local/etc/amanda/DailySet1/logs/tape1-slot # The file
where the actual slot is stored
cleancart 0 # the slot where the cleaningcartridge for drive 1 is
located
cleanfile /usr/local/etc/amanda/DailySet1/logs/tape1-clean # The file
where the cleanings are recorded
usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive1
# Next comes the data for drive 2
config 2
drivenum 2
dev /dev/rmt/2bn # tapedrive 2 (BSD type, no rewind, no
compression)
startuse 1 # The slots associated with the drive 2
enduse 81 #
statfile /usr/local/etc/amanda/DailySet1/logs/tape2-slot # The file
where the actual slot is stored
cleancart 0 # the slot where the cleaningcartridge for drive 2 is
located
cleanfile /usr/local/etc/amanda/DailySet1/logs/tape2-clean # The file
where the cleanings are recorded
usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive2
and from amanda.conf:
runtapes 2 # number of tapes to be used in a single run of amdump
tpchanger "chg-scsi" # the tape-changer glue script
#tpchanger "chg-zd-mtx" # the tape-changer glue script
tapedev "1" # the no-rewind tape device to be used
# note (mb) the 1 refers to config # 1 within scsi.conf
changerfile "/usr/local/etc/amanda/DailySet1/chg-scsi.conf"
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- More on Host Question on tape advancment (answer?),
Bruntel, Mitchell L, SOLCM <=
|
|
|