Amanda-Users

Re: amtape update: reading label: Input/output error

2005-06-13 15:18:10
Subject: Re: amtape update: reading label: Input/output error
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Mon, 13 Jun 2005 15:00:51 -0400
On Monday 13 June 2005 10:32, Christian Gueder wrote:
>hi
>
>we installed amanda on our debian sarge server to backup it's data
> on a sony lib-81 ait2-tape-library.
>
>as changer script, we use the well documented chg-zd-mtx script.
>
>all configurations are stored in /etc/amanda/neurochirurgie, where
> we also put the chg-zd-mtx script with it's chg-zd-mtx.conf
> configuration data.
>
>so far everything worked well, but now, as we would like to update
> the barcode database (like descripted in chg-zd-mtx), we receive
> the following output:
>
>neurochirurgie:/home# amtape neurochirurgie update
>amtape: scanning all 7 slots in tape-changer rack:
>slot 1: reading label: Input/output error
>slot 2: reading label: Input/output error
>slot 3: reading label: Input/output error
>slot 4: reading label: Input/output error
>slot 5: reading label: Input/output error
>slot 6: reading label: Input/output error
>slot 7: reading label: Input/output error
>
>the update takes very long time, as if the barcode-reader in the
>tape-library would make reading errors.
>
>funnily enough, the reader doesn't seem to have problems with
> reading the tags:
>
>neurochirurgie:/home# mtx -f /dev/sg2 status
>  Storage Changer /dev/sg2:1 Drives, 8 Slots ( 0 Import/Export )
>Data Transfer Element 0:Empty
>      Storage Element 1:Full :VolumeTag=A05RSH
>      Storage Element 2:Full :VolumeTag=A05RSJ
>      Storage Element 3:Full :VolumeTag=A05RSK
>      Storage Element 4:Full :VolumeTag=A05RSL
>      Storage Element 5:Full :VolumeTag=A05RSM
>      Storage Element 6:Full :VolumeTag=A05RSN
>      Storage Element 7:Full :VolumeTag=A05RSP
>      Storage Element 8:Full :VolumeTag=A05RU8
>
>we didn't label the tapes with amlabel. we just put the stickers
> which came with the library on the tapes. could this be the error?
>
I'd expect it is the cause, although I have zero experience with 
barcodes, using only amlabel tape labels here.  Be sure the label you 
use can be matched with the labelstr in your amanda.conf.

>thanks a lot for your help.
>
>cheers, christian

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>