Re: MapBarCode?
Hi, On Sat, Dec 28, 2002 at 12:11:28PM -0500, Axel Haenssen wrote: I am getting: MapBarCode, DB Version does not match Hmm, does the file to which the option labelfile point exsist, if yes remove it and try it again. The message above tells you that the labelfile has an old version number which is not compatible with you chg-scsi version. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: chg-scsi and tape eject
Hi, On Fri, Oct 11, 2002 at 10:25:36PM -0400, Yura Pismerov wrote: I've noticed chg-scsi unloads ejected tape in the first available slot (no matter what startuse/enduse setup for the pool). Is it bug or feature ? Hmm i think it's a bug. Which version ?? Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: amcheck and Tandberg tape library
Hi, On Fri, Mar 15, 2002 at 01:35:42PM +0100, Massimiliano Panichi wrote: Hi, I've installed amanda 2.4.3b3 and I'm trying to use it with a Tandberg 1420 library with SLR100 tapes. I've configured the library and labelled the tapes. When I try an amcheck I get this error bash-2.05$ amcheck Infogroup Amanda Tape Server Host Check - Holding disk /opt/amanda/dumps: 13160760 KB disk space available, that's plenty amcheck-server: fatal slot BarCode: == 1 and emubarcode == 1 Hmm, could you port you changer config and the debug file. It seems that you have set emubarcode, and chg-scsi also finds out that the library has an barcode reader. So if emubarcode is set remove it and try it again. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Device for L40 robot
Hi, On Thu, Apr 25, 2002 at 11:24:13AM -0400, Wayne Richards wrote: We just received an L40 tape library. OEM'd as Sun, robotics is identified as HP C7200-8000. The tape drives are available, but Sun says sorry -- no drivers for the robotics/library. Where can I get a driver or the code to roll my own? Try either chg-scsi from the amanda (cvs version) and read there the docs or try mtx. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: [Fwd: Tape Library HP - C7200]
Hi, On Thu, Apr 18, 2002 at 10:24:27AM -0300, Marcos Teodoro Dias Junior wrote: Hello, I need to use Amanda with a Tape Libray HP C7200, Someone here had used this tape libary or can give me some information, like how use amanda with tapes libraries ? Could you give first some infos about the OS where the library is connected to ?? Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: help with sst driver
Hi, On Thu, Mar 28, 2002 at 02:36:59PM -0600, Matthew Boeckman wrote: [..] do you use solaris 2.8 ?, if yes try the sgen driver, see docs/TAPE.CHANGERS Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: amanda-2.4.3b3-20020324 problem
Hi Gene, On Sun, Mar 24, 2002 at 03:20:35PM -0500, Gene Heskett wrote: [..] But it hangs while doing '/usr/local/libexec/chg-scsi -info' (don't take the above path as gospel, I've driven 1100 miles in the last 24 hrs) with that process using 86% of the cpu, apparently forever, or until a ctrl c is applied. Kinda slows up setiathome though. :-) Yup there was an bug introduced in chg-scsi which will cause an endless loop on readingthe config file, fixed in CVS so wait for the next snapshot. Re-installing amanda-2.4.3b3-20020311 seems to bring things back to normal. Didja change something in the chg-scsi.conf requirements column while I was out getting some sand in my shoes? Or is this just the usual beta testing squiggle? Si, that's the life with beta versions (grumbel gnn) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Barcode reader
Hi, On Fri, Mar 15, 2002 at 10:48:24AM -0500, Eric Trager wrote: I added this to the chg-scsi-solaris.conf file I use and the chg-scsi debug files now report that a barcode reader is available, but the labelfile for the configuration remains empty, even after running an amtape Config show. Any ideas on how to close the final gap on getting the mapping to work? Below is a debug file from a recent attempt to perform an amtape Config label LABEL. [...] ChgExit in MapBarCode, reason MapBarCode, DB Version does not match You should drop the old labelfile and rerun an amtape conf show Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: amtape and tape changer problem
Hi, On Thu, Mar 14, 2002 at 04:51:10PM -0500, Zhen Liu wrote: [...] # START DecodeModeSense 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00e... OK, the problem seems to be here, ADIC returns the results with an different offset than others, to solve this pleas add the following to you chg-scsi.conf and retry it: changerident FastStor_DLT If this helps i will extend chg-scsi to run without this value. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: amcheck and Tandberg tape library
Hi, On Fri, Mar 15, 2002 at 01:35:42PM +0100, Massimiliano Panichi wrote: Hi, I've installed amanda 2.4.3b3 and I'm trying to use it with a Tandberg 1420 library with SLR100 tapes. I've configured the library and labelled the tapes. When I try an amcheck I get this error bash-2.05$ amcheck Infogroup Amanda Tape Server Host Check - Holding disk /opt/amanda/dumps: 13160760 KB disk space available, that's plenty amcheck-server: fatal slot BarCode: == 1 and emubarcode == 1 Hmm, could you port you changer config and the debug file. It seems that you have set emubarcode, and chg-scsi also finds out that the library has an barcode reader. So if emubarcode is set remove it and try it again. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: amtape and tape changer problem
Hi, On Thu, Mar 14, 2002 at 09:00:06AM -0500, Zhen Liu wrote: Hi, Thank you very much for your suggestion. Meanwhile, I got another problem...when I enter the command amtape daily show I got the following message: scanning all 7 slots in tape-changer rack: slot1: date X Label DailySet11 amtape: could not load slot DeviceCapabilitiesPage: == Null. Hmm, that is an indicator that the device for the robot is wrong. Can you send the debug output (/tmp/amanda) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Barcode reader
Hi, On Fri, Mar 08, 2002 at 11:38:32AM -0800, Stephen Carville wrote: [..] In changer.conf set havereader=1 Hmm i think it must be havebarcode 1 Which version of chg-scsi do you have. This option works not with 2.4.2 Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Compaq TL891 on Solaris
Hi, On Wed, Mar 06, 2002 at 03:48:52PM +0100, Roland Barmettler wrote: Hi We're currently using Amanda 2.4.1p1 on Solaris 2.5.1 with a Compaq TL891 DLT library. But we were unable to get the changer working with mtx (current version) and sst, so we have to change tapes manually. (that's why we have a library... *รง%$!) Hmm, did you gave chg-scsi a try ??, if no try it and may be i can help a little bit to get it running . Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Compile error
Hi, On Thu, Feb 14, 2002 at 03:00:00PM +, Robert Early wrote: Hi, I;m getting the following compile error when trying to compile amanda amanda-2.4.3b2: gcc -D_FILE_OFFSET_BITS=64 -g -O2 -o chg-scsi-chio chg-scsi-chio.o scsi-hpux.o scsi-chio.o ../server-src/.libs/libamserver.a ../tape-src/.libs/libamtape.a ../common-src/.libs/libamanda.a -lgen -lm -ltermcap -lnsl -lcur_colr /usr/ccs/bin/ld: Unsatisfied symbols: config_dir (data) collect2: ld returned 1 exit status *** Error exit code 1 Any ideas? Which OS, which configure flags ?? Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Spectra Logic Treefrog configuration
Hi, On Sun, Feb 17, 2002 at 01:54:25AM -0500, [EMAIL PROTECTED] wrote: Anyone setup a Spectra Logic Treefrog on Solaris before? I can't determine where's the right device for the variable chagerdev in chg-scsi-solaris changer file. Please help. I tried to run amcheck without changerdev specified, and it returned with changer error. Did you take a look at the TAPE.CHANGERS file in the doc directory and enabled either the sgen driver, or installed the sst driver. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: DLT2700xt Changer conf
Hi, On Tue, Feb 05, 2002 at 04:33:09PM -0700, John Gonzalez, Tularosa Communications wrote: I'm new to amanda and dont see anything specific to this drive/changer. I do see some generic DLT configurations for DLT drives, and see something that should work. However, I have no clue how to get this working with the 7 tape changer unit. Any help and any of the glue scripts that people are using would be appreciated. Any and all info appreciated, TIA. Hmm, could you give some more infos about the OS Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Tape change driver?
Hi, On Mon, Dec 03, 2001 at 07:47:25AM -0900, Jennifer Peterson wrote: Good morning, I've been trying for the past week to install stctl on my Sun 2.8 system. This has included installing the Sun compiler and following every piece of advice that I could find on this list and through google. The drive still fails to attach, and I've pretty much given up. I would appreciate any information about what, if any, other tape change driver has worked with Adic Faststor 22 on Sun 2.8. Any advice would be very helpful. Have you checked the builtin solaris driver (sgen) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: hp 40x6e with chg-scsi
Hi, On Mon, Oct 15, 2001 at 05:13:05PM +0800, A.P Kwee wrote: Thanks Thomas for your reply. I tried changing the eject para to 0 (and also 2, which i found out from amanda-hacker) but got the message Segmentation fault (core dumped). Which version of amanda ?. Hmm did you see a chance to download the amanda-2.4.2 development version from cvs (see www.amanda.org for instructions). There are lot of bug fixes in the chg-scsi version. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: overland changer
Hi, On Sun, Sep 30, 2001 at 03:18:57PM +0200, Longina Przybyszewska wrote: Hi, I need Overland Loader Express LXL1B10 (DLT) get to work with amanda, under Solaris 7 /Enterprise450/. Hm should be possible ... From the start I can see some problems: 1. MY exchanger has 2 SCSI interfaces which I can set from panel menu - one for robot and one for tape device. But my computer can see only one SCSi interface - for tape device (target 4 lun 0 which belongs to DLT1). In the bootstrap fase, this SCSI interface is bound to st11. === /pci@1f,4000/scsi@2/st@4,0(st11) st11 at glm1 target 4 lun 0 === You don't see the second SCSI address because solaris (2.7) has no device driver for robot devices. One way to solve this problem is either upgrade to solaris 2.8, which has an so called sgen driver which can be used to talk to the robot device, or the secondway is to try the sst driver. You can find this driver in the contrib area of amanda. There is an short description in the contrib directory how to install it and some more notes are in docs/TAPE.CHANGERS. With this dirver installed you can either use mtx or chg-scsi. chg-scsi is included in amanda, mtx can be found on www.sourceforge.net i think. 2. Which driver is known to work well with that changer - mtx, sst or any other? What are advantages in choosing one of them? mtx is an generic driver with no special things to drive special features which some library have, chg-scsi is a driver which has some things builtin which are special for some librarys, handling of error conditions for example. 3. What is barcode - is it hardware facility, or software implementation - That is hardware. barcodes are small labels which you can stick on the tapes, and an builtin reader can read this labels. Now the software can create an relationship form the label to the volume name of the tape. With this you can load very fast a requested volume and the software must not search through the whole lib. shall I bother about it? If your robot supoort this it's a nice feature and you should use it. Thanks in advance for help No problem, if you give chg-scsi a try you can contact in caase of problems :-) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: seg fault from chg-scsi (long)
Hi, On Fri, Sep 07, 2001 at 11:51:10AM +1000, Chris Anderson wrote: Greetings all, I'm getting a seg fault from the chg-scsi program when I try to do 'amcheck' and it's driving me somewhat crazy. (Apologies in advance for the length of this email; I figured better too much info than not enough). Funny thing, i did yesterday some tests and hit exact the same bug :-) If cleanfile in your config is not set chg-scsi will crash, so please define cleanfile. The fix for this bug and some more will be send to CVS this weekend. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: what files/scripts manage cleaning?
Hi, On Fri, Sep 07, 2001 at 01:53:29PM -0800, Anthony Valentine wrote: Hello everybody! I've got Amanda up and running and she's doing great! The only thing that I have left to figure out is how to use the cleaning tape. Can anyone tell me what files and/or scripts control how and when the drive is cleaned? You must trigger the cleaning rom outside by using the amtape command. I've set the following parameters in my chg-scsi.conf file: cleancart 10 cleanfile /usr/local/etc/amanda/tape0-clean usagecount /usr/local/etc/amanda/usagecount but the cleaning tape is never used and the two files do not exist. What script/program maintaines these files? chg-scsi will write to this files if you run the clean, you should also set the cleanmax value to tell how many times the cleaning tape should be used. Am I supposed to do the cleaning manually? Yes. You can try to set the scsitapedev in you config, chg-scsi will then try to read some error pages, and if the tape tells cleaning is neede it will load the cleaning tape, but this might fail if your tape does not support this infos in the way chg-scsi is looking for it.. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: what files/scripts manage cleaning?
Hi, On Mon, Sep 10, 2001 at 08:46:52AM -0500, Gene Heskett wrote: That was my next question Thomas. What do I set 'scsitapedev' to? On my system the tape is /dev/nst0, and the changer is either /dev/sg1 or /dev/sg2 (I've got an ATAPI cd-writer too) Hmm i can't give an clear answer, but if you have the cvs version of amanda you can try cg-scsi -scan. This will output something like this: name /dev/sg0 Tape Count 1 name /dev/sg1 Changer Count 2 name /dev/sg4 Tape Count 3 name /dev/sg5 Changer Count 4 name /dev/sga Tape Count 5 name /dev/sgb Changer Count 6 name /dev/sge Tape Count 7 name /dev/sgf Changer Count 8 And from there you get the answer on what to set scsitapedev. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: what files/scripts manage cleaning?
Hi, On Mon, Sep 10, 2001 at 11:12:18AM -0400, Eric Chamberland wrote: [..] I'm on Solaris 7 and i have a Storedge L20 (robot) with DLT-8000 (Dlttape IV) So i have one tape on /dev/rmt/1... and the other tape on /dev/rmt/2... OK, on solaris you don't have the sg device as on linux. First question for me is, do you have chg-scsi running on your system ??. If yes you can try to set scsitapedev to /dev/rmt/1 and check what the debug files (/tmp/amanda/*) tells you about this device. If you get something like this: Try to open /dev/ done SCSI_OpenDevice : use SG interface SCSI_OpenDevice : current timeout 6000 SCSI_OpenDevice : timeout set to 6 # START SCSI_Inquiry SCSI_Inquiry start length = 56: # START DecodeSCSI SCSI_ExecuteCommand : INQUIRY 12 00 00 00 38 00 # STOP DecodeSCSI 08 80 02 02 33 00 00 00 45 58 41 42 59 54 45 203...EXABYTE. 45 58 42 2D 32 31 30 20 20 20 20 20 20 20 20 20EXB.210. 33 2E 31 31 33 2E 31 31 2E 30 31 33 20 20 20 203.113.11.013 20 20 20 20 20 20 20 01 SCSI_Inquiry : end 0 It should work... Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: what files/scripts manage cleaning?
Hi, On Mon, Sep 10, 2001 at 02:58:58PM -0400, Eric Chamberland wrote: thank's for your help Thomas !!! How can i know if chg-scsi is running on my system ??? You should get the amanda-2.4.2p2 version. Check www.sourceforge.net for amanda. After unpacking you will see an docs directory, and in this you will find the file TAPE.CHANGERS. There are some instructions included on how to setup a device driver on solaris to use an tape robot. With this device driver you can either use mtx and the chg-zd-mtx script, or you can try chg-scsi. I can help in setting up chg-scsi, for chg-zd-mtx you should check the list archives, there were a lot of fixes in the past. [..] Attached Changer: No Yup this is because you need an generic SCSI driver to talk to your robot. Solaris will create only devices for tapes/disks, but not for tape robots. On solaris 2.7 you can use the sst driver (see contrib/sst), or if you can upgrade to solaris 2.8 you can use the driver which is shipped with that version (sgen driver) For both you will find some setup tips in TAPE.CHANGERS. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Configuring an Exabute 10h
Hi, On Fri, Sep 07, 2001 at 11:53:45AM -0700, Jeremy Wadsack wrote: Thanks for the steps, the results are getting closer. No Problem :-) 3. Try chg-scsi -scanbus (i'm not sure that it works :-) This doesn't work on my chg-scsi (2.4.2p2). OK, so this is only in the current CVS version. Ok, my changer is at /dev/sg0 (and tape at /dev/sg1). You'd think that the device numbering would follow chains, ids, etc. but I guess not. To be sure you can check your syslog files to see which id is assigned to which device from the sg driver 6. After this try an amtape daily reset Returned amtape: changer is reset, slot chg-scsi: is loaded. Ups, i think this should look like [root@skywalker /root]# amtape-2.4.2p2 exabyte reset amtape: changer is reset, slot 1 is loaded. So it looks like this might work. How does this approach compare to Paul's chg-userland fix? chg-scsi does all the error handling and talk with SCSI commands with the devices. It does not need special modules in the kernel which does the error handling etc. In chg-scsi you can very easy define new driver for tape libs if they use non standard ways for moving or error handling. (Barcode reader for example) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Configuring an Exabute 10h
Hi, On Wed, Sep 05, 2001 at 10:46:26AM -0700, Jeremy Wadsack wrote: [..] The relevant parts of amanda.conf are (from examples/amanda.conf.chg-scsi): tpchanger chg-scsi-linux# the tape-changer glue script changerfile /usr/local/etc/amanda/daily/chg-scsi-linux.conf tapedev 0 The changerfile is the examples/chg-scsi-linux.conf that builds with Amanda (there's no docs anywhere that I can find that describe how to manage this file). OK, at this point you can try the following: 1. change to /usr/local/etc/amanda/daily/ 2. There run chg-scsi-linux -genconf and see if you get an result If yes do it again an cat the output to chg-scsi-linux.conf 3. Check the file for any comments which tell you to check/change the values. If this does not work please give feedback with the error messages. The exabyte lib should run without a problem on linux :-) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Configuring an Exabute 10h
Hi, On Wed, Sep 05, 2001 at 11:52:37AM -0700, Jeremy Wadsack wrote: /usr/local/libexec/chg-scsi -genconf and got /usr/local/libexec/chg-scsi: Usage error. OK, might that this is not in the 2.4.2p2 version, do you see a way to get the latest version from cvs ? There's also no man entry for chg-scsi. For that matter, 'chg-scsi -info' is looking for /dev/sg2 which doesn't exits. OK, so lets try to figure out where it is. 1. Check if you have the sg (genric scsi) support in your kernel. One way is to do an cat /proc/devices | grep sg, you should see something like '21 sg' If this does not appear try an modprobe sg, if this works continue with step 2, if not you should recompile your kernel with sg support. 2. Do an cat /proc/scsi/scsi in check if you can see your tape device and your library device. 3. Try chg-scsi -scanbus (i'm not sure that it works :-) 4. From the output of the cat /proc/scsi/scsi you can get the number of the changer device, start counting at 0, example Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: EXABYTEE Model: EXB-85058SQANNR1 Rev: 07T0 Type: Sequential-AccessANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: EXABYTE Model: EXB-210 Rev: 3.11 Type: Medium Changer ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: IBM Model: DDRS-34560 Rev: S97B Type: Direct-AccessANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: IBM OEM Model: 0662S12 Rev: 3 30 Type: Direct-AccessANSI SCSI revision: 02 In the above the library ist at /dev/sg1 5. Change your chg-scsi.conf. There is an an option called changerdev, set this to changerdev /dev/sg1 The exabyte library need an eject, so set it to 1. I think a sample config should look like number_configs 1 debuglevel 9:0 eject 1 sleep 90 changerdev /dev/sg1 config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 9 statfile /usr/local/etc/amanda/daily/tape0-slot cleancart# place a cleaning cartridge in this slot cleanfile /usr/local/etc/amanda/daily/tape0-clean 6. After this try an amtape daily reset So i think some things you can try, Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: small changer problem yet
Hi, On Mon, Aug 27, 2001 at 11:49:51AM -0400, Gene Heskett wrote: I've about got amanda working with a Compaq/Seagate 4586 now, but one thing I need to clarify. When I issue as user amanda, amverify config 2 it should proceed to do a verify run on slot 2's contents, or at least thats how I understand it. What it does, even if slot 2 is loaded with the correct tape, is to give an error from amtape indicating it can't load or read the tape. It then proceeds to look at slot 3, see's a labeled but otherwise blank tape there, then goes back to slot 1, does a full verify on that tape, then reloads slot 2 and does a verify on that tape, which is what it should have done in the first place. Is this a bug, or am I not issueing the correct command syntax? Inquiring minds want to know. if you use chg-scsi it's a bug, and i'm working on a fix Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: IBM Autoloader amanda compatible ?
Hi, On Tue, Aug 14, 2001 at 06:36:19PM -0400, Vijay Parthasarathy wrote: Hi, I am planning to buy IBM LTO Ultrium Autoloader. Does amanda supports this autoloader ? It depends on which OS you are using for it, as long as either mtx or the amanda builtin chg-scsi is supported by the OS you want to use it should work. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: chg-scsi signal 11 gdb
Hi, On Mon, Aug 13, 2001 at 11:48:09AM -0400, Brian Ruth wrote: I have compiled chg-scsi from the cvs sources and am still getting a signal 11 when attempting a chg-scsi -info. (gdb) run -info Starting program: /usr/local/libexec/chg-scsi -info warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 0074 Program received signal SIGSEGV, Segmentation fault. 0x16c50 in drive_loaded (fd=0, drivenum=0) at scsi-changer-driver.c:798 798 if (pDTE[drivenum].status == 'E') { (gdb) where #0 0x16c50 in drive_loaded (fd=0, drivenum=0) at scsi-changer-driver.c:798 #1 0x15750 in main (argc=0, argv=0x0) at chg-scsi.c:1229 Any suggestions would be greatly appreciated. OK, can you say something about your OS, which amanda version an send please your config files Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: amanda + tape changer + solaris 8
Hi, On Tue, Jul 31, 2001 at 11:13:15AM +0200, thomas graichen wrote: [...] use inside of amanda ... any help would be appreciated First which version of amanda ?. Lets assume 2.4.2p2 from cvs, if not please get the cvs version. Next try the following (From the 2.5.0 docs, i must update the 2.4.2 docs :-)) Solaris with sst kernel module, which is not any longer needed in solaris 2.8. See in the contrib/sst directory The configuration on solaris 2.8 with the sgen driver is done by creating the file /kernel/drv/sgen.conf This file should contain at the beginning the following device-type-config-list=changer,sequential This will force the driver to attach only to the devices with type either changer (the robot) and sequential (the tape). Next you must tell the driver on which id it should check for devices (in this example tape on id 5, robot on id 6), name=sgen class=scsi target=5 lun=0; name=sgen class=scsi target=6 lun=0; This will create the 2 device files /dev/scsi/sequential/c0t5d0 (scsitapedev option in chg-scsi.conf) /dev/scsi/changer/c0t6d0(changer option in chg-scsi.conf) So the complete sgen.conf looks like: device-type-config-list=changer,sequential name=sgen class=scsi target=5 lun=0; name=sgen class=scsi target=6 lun=0; Now you must create the chg-scsi.conf file, take a look in the examples directory for an starting point. To enable chg-scsi you need the following in amanda.conf tpchanger chg-scsi# the tape-changer glue script tapedev 0 changerfile path_to_your_config/chg-scsi.conf Now change to your config directory (where amanda.conf is in) and try to call there chg-scsi path_to_chg-scsi/chg-scsi -info If you get an result you can try path_to_chg-scsi/chg-scsi -reset and see if the first tape is loaded. Try this an report back success/failures :-) Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: question about a ADIC Scalar 218 DLT jukebox..
Hi, On Sun, Jul 29, 2001 at 01:13:40PM -0700, f.johan.beisser wrote: anyone have a configuration for one of these? i've been having some problem digging up config info for this jukebox, let alone being able to design some. any help would be appreciated. Hmm which os, which amanda version ???. If linux/freebsd try the amanda-2.4.2p2 version from cvs. Run chg-scsi -genconf to create an chg-scsi.conf template, read the comments and fill in the missing infos... Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: changer problems
Hi, On Tue, Jul 10, 2001 at 04:41:12AM -, [EMAIL PROTECTED] wrote: The chg-scsi in 2.4.2p2 and 2.5.0 cvs does not work right with this changer - after loading 10th tape won't do anything else Huh, if have an EXB library here as my development equipment and it works great. (yes, I have gravity set to 0) - Hmm there is no option gravity for chg-scsi, could it be that your setup ist wrong. Can you send me your amanda.conf and changer config file to see whats wrong, and if there is something wrong in chg-scsi i will fix it :-)... Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Amanda 2.5.0 compile problems (Was: Amanda on AIX with an IBM 733 7 library)
Hi, On Tue, Jun 26, 2001 at 07:06:09PM -0500, John R. Jackson wrote: [..] ld: 0711-317 ERROR: Undefined symbol: .Tape_Ioctl This looks like something Thomas Hepper will have to help you with. It appears to be a general changer interface routine that is not yet supplied for AIX. Yup thats missing, add the following to scsi-aix.c int Tape_Ioctl(int DeviceFD, int command) { return(-1); } Will fix this the next days... Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Amanda on AIX with an IBM 7337 library
Hi, On Mon, Jun 25, 2001 at 04:07:08PM -0800, Anthony Valentine wrote: Hello everybody! I have just downloaded and compiled Amanda (2.4.2p2) and am beginning to configure it. At the moment, it looks like I am going to have to write my own tpchanger script. Hmm it would be nice if you can give chg-scsi from the 2.5.0 development version a try before writing an own script. To control a library you need an scsi passthrough device, which is not included in AIX (from what i know). There is an drive available for AIX. See the contrib directory in amanda 2.5.0 (contrib/gsc) I am wondering if anyone else out there is using Amanda on AIX with an IBM 7337 tape library and if there are any pitfalls, tips or tricks that I should know about ahead of time? As the current maintainer of chg-scsi i can try to help you to get chg-scsi running . Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Exabyte 215M Jukebox control
Hi, On Tue, Jun 19, 2001 at 03:10:50PM -0500, John R. Jackson wrote: If anyone has this jukebox and has amanda working with it, can you tell me what your config is as far as the jukebox control??? All I really need is the scsi driver to interface between amanda and the jukebox to tell the robot to pick a tape, unload a tape, etc... In addition to the comments from Chris, you might try getting the chg-scsi code from the 2.5 (development) Amanda CVS branch. Thomas Hepper appears to be actively working on it. Yup, and i'm interested in feedback for the solaris 2.8 things. So it would be great if you can try to setup chg-scsi from the 2.5.0 dev. version based on the description in docs/TAPE-CHANGERS. To get it download the 2.5.0 amanda version with cvs, configure and compile it, but don't install it. Only copy chg-scsi from changer-src to the place where the old chg-scsi is installed, if your configure prefix is /usr/local it should be /usr/local/libexec/chg-scsi. Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: New to amanda
Hi, On Thu, Jun 07, 2001 at 01:41:09PM +0200, Michael Aronsen wrote: Hello, I've been fighting my way through setting up amanda on backup server, my current problem is finding out which chg-* script to use for a HP 24x6 dds 3 dat changer, anyone tried this config before? Which OS ? Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Changer problems
Hi, On Sun, Jun 03, 2001 at 03:41:15PM -0500, Gene Heskett wrote: Hi all; I've been lurking for about a day, but haven't seen any messages that relate to my problem. Specifically, even though I've recompiled amanda with the changer device (/dev/sg/2) defined, no amanda tape utils can find the changer. Hmm, can you give some more Infos, whcih OS, which amanda-version I can run it just fine with mtx. Also, it seem every version of the scripts in changer-src has their own idea of where the config files should be, can't this be consolidated, I've now got amanda stuffs in 8 or 9 different directories! Ups, the syntax might be different, but you can keep all config files in one directory .. The changer is a Seagate 4586NP, brand new, and I sure could use some hand-holding till I get the feel of how and what this program is doing. OK lets try it. If you have a linux/bsd system you can try to get the development version of amanda 2.5.0 and use the chg-scsi prgramm from there. (this version is available through CVS, see www.amanda.org) After compiling but not installaing this version you can try to run cd to_your_amanda_conifg_directory /path_to_the_source/changer-src/chg-scsi -genconf If this works you can copy the chg-scsi version to your libexec directory, save the ouput from the above in a file chg-scsi.conf, and add the following to amanda.conf tpchanger chg-scsi# the tape-changer glue script tapedev 0 changerfile /path_to_your_config/chg-scsi.conf remove everything like changerdev, tapedev from the amanda.conf No you can try to get a known state for the robot amtape reset and write a label amlabel conf xxx slot current (xxx must be a valid label name) Hope this helps a little bit Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: Can load but can't eject tapes...
Hi, On Fri, May 18, 2001 at 04:33:52PM +0200, Lennart Hansen wrote: Thanks, but it did't work.. I get this error everytime : DeviceCapabilitiesPage: == NULL This is an known problem in the 2.4.2 Version. Can you try to get amanda 2.5.0 (develoment version) with cvs, compile it and use only the chg-scsi from there And it dosn't say anything.. In the debug file i cannot find anything weird... But there is an error code 70.. Can anyone tell me what this means ? Thats not the real problem. chg-scsi needs the information from the mode sense page to decide how to move, if this fails chg-scsi will stop. There are some fixes in the 2.5.0 version to try to get this information with an alternate way, and it works at last on AIX with an SONY changer. So give it a try. Also you can try to comment out this line (~ line 2894 in scsi-changer-driver) } else { dbprintf((CheckMove : pDeviceCapabilitiesPage == NULL)); /* ChgExit(CheckMove, DeviceCapabilitiesPage == NULL, FATAL); */ } Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: DLT7 Autoloader, won't load tapes..
Hi, On Tue, May 01, 2001 at 08:05:37AM +0200, Lennart Anders Hansen wrote: Hey everybody, i have tryed to get this software to run on a linux file-server, i have a DLT7 Autoloader from Tandberg on a Adaptec 2940u2w SCSI controller. The problom is, that i cannot load any tapes into the tape device, e.g. bash-2.04$ chg-scsi -slot 0 DeviceCapabilitiesPage == NULL Can you send me the debug files please (/tmp/amanda/chg-scsi) Which version of amanda/chg-scsi ? Thomas -- --- | Thomas Hepper[EMAIL PROTECTED] | | ( If the above address fail try ) | | ( [EMAIL PROTECTED])| ---
Re: DELL 120T changer on RH 6.2
Hi, - Original Message - From: "Murat H. Dymov" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 10:55 PM Subject: DELL 120T changer on RH 6.2 Hello All, I use Amanda 2.4.2p1 on RH Linux 6.2. we have Dell PowerVault 120T, and the documentation says that it has two SCSI devices - one for tape device and second for tape changer. Taper is running as /dev/nst0, seems to be OK - at least it make some noise . But I couldn't find any way to get the changer working. I used /dev/sch0, /dev/sg*(means sg0-sg3) devices, with no respond. Last time I set it to /dev/sga, and it doesn't give error messages, but I can't force it to do any operation with tapes. Does anybody have PV120T changer working under RH linux ? No changer but may be i can help you if you give some more infos. Which programm did you try for controlling the changer ?, Thomas
Re: Newbie question (linux + ADIC FastStor 7000)
Hi, I have a Slack 7.1 (2.2.18) setup with an Adic 7000 22-tape library. Did a clean make and install and am trying to get the tape controller to work. Should I be using chg-scsi or chg-zd-mtx? chg-scsi doesn't seem to like all 22 of the media slots ( see below -- note the "-1" on slots 8,9,10 ). Plus, it hasn't been loading the correct elements. Ie. "slot 19" gives me slot 2 instead... etc. etc... I think I should be changing to zd-mtx, yes? Hmm not sure about this. The -1 tells that the library has no idea from where this cartridge comes, so its not an problem, its only an info. What do you mean with slot 19 gives me slot 2 ??? So what are the problems you have :-), does chg-scsi move the tapes, did amtape show work etc, Thomas
Re: Can you set eject keyword with chg-chio?
Hi, Ultimately, chg-scsi would be the preferred changer. Unfortunately, it doesn't seem to build on FreeBSD since the introduction of CAM and the subsequent (much later) removal of the older SCSI subsystem. I think I'll dig out the Adic and see if I can get chg-scsi working sometime. Hmm thats not true for the 2.5 development version. You can try to build the 2.5 version and use only chg-scsi from there in your setup. Thomas