I have not used chg-mtx, I used chg-scsi... this may be of some help... 1) runtapes is the number of tapes that can be used in 1 backup run, not how many are available in the changer (just in case you thought that is what it may have meant)
2) tapedev is set to "0" when using chg-scsi, not sure if this matters for mtx ? 3) chg-scsi requires a chg-scsi.conf file to tell it what is out there to work with. Not sure if mtx's changer interface requires this. Mine is attached below: changerident C1553A changerdev /dev/ch0 (NetBSD has a specific changer device. This appears to be your /dev/sg1) debug 9:0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nrst0 # the device that is used for the tapedrive 0 scsitapedev /dev/rst0 startuse 0 # The slots associated with the drive 0 for amanda tapes enduse 4 # statfile /usr/pkg/etc/amanda/st0-slot # The file where the actual slot is stored cleancart 5 # the slot where the cleaningcartridge for drive 0 is located cleanfile /usr/pkg/etc/amanda/st0-clean # The file where the cleanings are recorded usagecount /usr/pkg/etc/amanda/totaltime tapestatus /usr/pkg/etc/amanda/st0-status Scott R. Burns NETCON Technologies Inc. Suite 135 - 4474 Blakie Road London, Ontario, Canada N6L 1G7 Voice: +1.519.652.0401 Fax: +1.519.652.9275 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marcus Sent: Wednesday, August 03, 2005 10:07 PM To: amanda-users@amanda.org Subject: My First changer.debug Hi, I'm sure this is simple but I don't know how to figure it out. So far I can make my Adic Fastor do basic stuff with tar, mt and mtx. So I try to get amlabel to pick a slot and label it, and this happens MT -> /usr/sbin/ammt -f DD -> /usr/sbin/amdd Args -> -slot 1 -> loaded -1 -> load 1 -> status 1 -> res Exit -> 1 So I mtx -f /dev/sg1 load 1 the drive, and nix the slot option for amlabel. That gets me: MT -> /usr/sbin/ammt -f DD -> /usr/sbin/amdd Args -> -slot current -> loaded -1 Exit -> 1 /dev/nst0 I don't understand how to read this. They look like incomplete commands? If there's something that explains how to decipher this I'd check it out. Here's the hardware section of amanda.conf: runtapes 7 tpchanger "chg-mtx" tapedev "/dev/nst0" rawtapedev "/dev/null" #changerfile "/var/lib/amanda/DailySet1/changer" #changerfile "/var/lib/amanda/DailySet1/changer-status" #changerfile "/etc/amanda/DailySet1/changer.conf" changerdev "/dev/sg1" tapetype DLT labelstr "^camorigs[0-9][0-9]*$" Thanks for any help! ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs