"John R. Jackson" wrote:

> >when i run amtape it only reads 4 of the 8 tapes. and sometimes it doesn't
> >even read the labels. I am useing chg-multi.conf ...
>
> Please post your chg-multi.conf file.  What version of Amanda are
> you using?
>
> Looking physically at the drive, or by writing your own unique label
> on each tape and checking that way (I assume they are still scratch
> tapes since you're still getting Amanda set up), which tape is loaded
> for each of these commands (in this order):
>
>   amtape <config> reset
>   amtape <config> slot first
>   amtape <config> slot next
>   amtape <config> slot next
>   amtape <config> eject
>
> (there may or may not be a tape loaded after the eject).
>
> My first guess is that there are too many eject's happening and the
> device is "double advancing", skipping roughly every other tape.
>
> What happens if you load a tape (somehow) and them "mt offline" it?
> Does that automatically advance to the next tape?
>
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

I tried that on my configuration, which is Amanda 2.4.1p1 and it uses
chg-zd-mtx as the changer script.
spinoza!backup 252# amtape daily reset
amtape: could not reset changer: /dev/tape
spinoza!backup 253# amtape daily slot first
amtape: could not load slot expr:: syntax error
spinoza!backup 254# amtape daily slot next
amtape: could not load slot expr:: syntax error
spinoza!backup 255# amtape daily slot next
amtape: could not load slot expr:: syntax error
spinoza!backup 256# amtape daily eject
amtape: slot /dev/tape: not ejected: No medium found
spinoza!backup 257#

I'm curious why amtape thinks it can't reset the changer /dev/tape when the
changer is actually /dev/tape-changer (which is a symlink to /dev/sg1).  I
suspect that the cause of this problem is some corrupted state file
somewhere.  Can you advise me where to look?

Many thanks,


Jeff



--
Jeff Silverman, sysadmin for the Research Computing Systems (RCS)
University of Washington, School of Engineering, Electrical Engineering Dept.
Box 352500, Seattle, WA, 98125-2500 FAX: (206) 221-5264 Phone (206) 543-9378
[EMAIL PROTECTED]     http://rcs.ee.washington.edu/~jeffs



Reply via email to