I have an ADIC 4mm DAT changer - 12 slot, single HP DDS-I drive. I'm running Linux (RH 7.3) and have installed kernel 2.4.18 w/scsi-changer patch. I can manipulate the robot with the "mover" utility that came with scsi-changer. I can eject, rewind, erase, load, etc. the drive with the Linux mt command. I have even written a file to tape with dd.
The first problem was that the built-in SCSI changer scripts/programs that came with Amanda would not work, so I wrote my own script that uses mover and mt to move the arm, load, and unload tapes and return the required return codes and strings to Amanda. So now I can use the following commands with no problems: amtape csd reset amtape csd eject amtape csd slot <N> amlabel does not work. The first problem was (is?) that rewind would ALWAYS fail. I found that the mt eject command will always rewind a tape even if I use the no-rewind device. The ioctl() call within tapeio.c always returns a -1. The second problem is that even though "amlabel csd csd00<n> slot <n>", where <n> is a digit, seems to work (no errors are returned), trying to read the label from a tape fails. For example, "amtape csd show" always returns the following: [root@ista root]# amtape csd show amtape: scanning all 12 slots in tape-changer rack: 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 slot 8: reading label: Input/output error slot 9: reading label: Input/output error slot 10: reading label: Input/output error slot 11: reading label: Input/output error slot 0: reading label: Input/output error So, I am at a loss and what I thought should be easy has become a real pain. PGA -- Paul G. Allen Owner, Sr. Engineer, Security Specialist Random Logic/Dream Park www.randomlogic.com