Re: Solaris 8 and L200
On Tue, 9 Mar 2004 at 9:40am, Geoff Swavley wrote I currently use CHS with solaris (all versions 2.6 - 2.8) ... but as I have been discussing with the list I only have binaries to run it in 32bit mode. I can keep you posted Glenn on what I change to . I have had a quick look at MTX and I am still trying to find chg-scsi! chg-scsi is the direct SCSI changer script that is part of amanda. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Solaris 8 and L200
Joshua Baker-LePain wrote: On Tue, 9 Mar 2004 at 9:40am, Geoff Swavley wrote I currently use CHS with solaris (all versions 2.6 - 2.8) ... but as I have been discussing with the list I only have binaries to run it in 32bit mode. I can keep you posted Glenn on what I change to . I have had a quick look at MTX and I am still trying to find chg-scsi! chg-scsi is the direct SCSI changer script that is part of amanda. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University Doh -- geoffs :-) -- Geoff Swavley Email : [EMAIL PROTECTED] UNIX Sys Admin Snail : Level 8, 10 Valentine Ave, Support and Network Operations Parramatta NSW 2150 Dept of Land and Water Conservation Sydney Australia Phone : 61-2-98957125 http://www.radx.net/~geoffs Fax : 61-2-98957086 Mobile: 61-425-224475 / 61-2-83004475 Home : 61-2-83389510 -- Modern art is what happens when painters stop looking at women and persuade themselves they have a better idea. - John Ciardi
Re: Solaris 8 and L200
Great! I got MTX installed and I can move the tapes around like I want to. That is working perfectly so far. Now, when I'm trying to use Amanda I am still getting errors, I'm not sure where the errors are: %amverify DailySet1 Tape changer is /usr/local/etc/amanda/mtx-changer... 1 slot... Verify summary to root Defects file is /tmp/amanda/amverify.9432/defects amverify DailySet1 Tue Mar 9 09:24:42 EST 2004 Loading current slot... ** Error loading slot current amtape: could not load slot mtx-changer:: Can't get changer parameters; Result was Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no INQUIRY command Failed Errors found: amtape: could not load slot mtx-changer:: Can't get changer parameters; Result was Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no INQUIRY command Failed Any ideas why I'm getting this now? Christoph Scheeder wrote: Hi, first: please keep this task on the list, it gives other people the posibility to jump in and correct me if i tell you something wrong I guess this is a scsi-tapechanger, correct? then you have a few possibilities to get the robot moving: chg-scsi, mtx, and possibly more, i don't know all the free available tools to make tape robots move, espacialy for solaris as i am using linux on all my servers and i opperate my tapechanger all with chg-scsi. so now we are at the point where one of the solaris-people here on the list should jump in to help you further, but the need a little more info on your problem likthe exact type of your changer, which version of amanda you use, if you compiled it your self etc. Christoph Glenn Zenker schrieb: Thanks, that is a big help! I'll switch to another script and see what happens. Do you know if Amanda can move the robot?? Currently, the only software we have works through a webpage. Thanks, Glenn Christoph Scheeder wrote: Hi, You have configured amanda to use chg-multi as changer script. i don't think this is what you want. chg-multi is used with multiple tapedrives to form a virtual tape-robot. use one of the other chg-scripts, depending on which software you use to move your robot. Christoph Glenn Zenker schrieb: I have amanda installed when I run the following command as the user amanda /usr/local/sbin/amverify DailySet1 0 I get this: Tapes: Errors found: amtape: could not load slot 1: chg-multi: slot is empty amverify DailySet1 Thu Mar 4 13:18:52 EST 2004 Loading 1 slot... ** Error loading slot 1 amtape: could not load slot 1: chg-multi: slot is empty If anyone can lend a hand with how they configured their L200, that would be greatly appreciated.
Re: Solaris 8 and L200
On Tue, 9 Mar 2004 at 9:24am, Glenn Zenker wrote Great! I got MTX installed and I can move the tapes around like I want to. That is working perfectly so far. Loading current slot... ** Error loading slot current amtape: could not load slot mtx-changer:: Can't get changer parameters; Result was Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no INQUIRY command Failed Amanda doesn't use mtx directly. The changer script you want is chg-zd-mtx, which is by default installed into /usr/local/libexec. There are instructions in the script itself on how to create the config file. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Solaris 8 and L200
I'm running Solaris 8, a Powerstor L200 with Amanda version 2.4.4p2. I compiled the software on the machine. It is a scsi tape changer. Thanks Christoph Scheeder wrote: Hi, first: please keep this task on the list, it gives other people the posibility to jump in and correct me if i tell you something wrong I guess this is a scsi-tapechanger, correct? then you have a few possibilities to get the robot moving: chg-scsi, mtx, and possibly more, i don't know all the free available tools to make tape robots move, espacialy for solaris as i am using linux on all my servers and i opperate my tapechanger all with chg-scsi. so now we are at the point where one of the solaris-people here on the list should jump in to help you further, but the need a little more info on your problem likthe exact type of your changer, which version of amanda you use, if you compiled it your self etc. Christoph Glenn Zenker schrieb: Thanks, that is a big help! I'll switch to another script and see what happens. Do you know if Amanda can move the robot?? Currently, the only software we have works through a webpage. Thanks, Glenn Christoph Scheeder wrote: Hi, You have configured amanda to use chg-multi as changer script. i don't think this is what you want. chg-multi is used with multiple tapedrives to form a virtual tape-robot. use one of the other chg-scripts, depending on which software you use to move your robot. Christoph Glenn Zenker schrieb: I have amanda installed when I run the following command as the user amanda /usr/local/sbin/amverify DailySet1 0 I get this: Tapes: Errors found: amtape: could not load slot 1: chg-multi: slot is empty amverify DailySet1 Thu Mar 4 13:18:52 EST 2004 Loading 1 slot... ** Error loading slot 1 amtape: could not load slot 1: chg-multi: slot is empty If anyone can lend a hand with how they configured their L200, that would be greatly appreciated.
Re: Solaris 8 and L200
I don't have an L200 I have an L9 and I'm running Solaris 9, but I assume the setup will be pretty much the same. I use mtx-1.3.8, I don't recall where I downloaded it from however a google search should pick it up easely. You must make sure the sgen driver is configured in your kernel so check /kernel/drv/sgen.conf, this should give you an entry in /dev/scsi/changer, mine is: c3t0d0 - ../../../devices/[EMAIL PROTECTED],4000/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0:changer A search of the archives turned up a number of scripts which purport to work with amanda and mtx, I picked the one that seemed to have been modified most recently: mtx-changer. I have attached my copy with my configuration. I amanda.conf I have the following: tpchanger mtx-changer # the tape-changer glue script tapedev /dev/rmt/0hn # the no-rewind tape device to be used rawtapedev /dev/null # the raw device to be used (ftape only) changerfile changerdev /dev/scsi/changer/c3t0d0 the mtx-changer script itself resides in /usr/local/libexec. hope this helps. rgds Alastair Christoph Scheeder wrote: Hi, first: please keep this task on the list, it gives other people the posibility to jump in and correct me if i tell you something wrong I guess this is a scsi-tapechanger, correct? then you have a few possibilities to get the robot moving: chg-scsi, mtx, and possibly more, i don't know all the free available tools to make tape robots move, espacialy for solaris as i am using linux on all my servers and i opperate my tapechanger all with chg-scsi. so now we are at the point where one of the solaris-people here on the list should jump in to help you further, but the need a little more info on your problem likthe exact type of your changer, which version of amanda you use, if you compiled it your self etc. Christoph Glenn Zenker schrieb: Thanks, that is a big help! I'll switch to another script and see what happens. Do you know if Amanda can move the robot?? Currently, the only software we have works through a webpage. Thanks, Glenn Christoph Scheeder wrote: Hi, You have configured amanda to use chg-multi as changer script. i don't think this is what you want. chg-multi is used with multiple tapedrives to form a virtual tape-robot. use one of the other chg-scripts, depending on which software you use to move your robot. Christoph Glenn Zenker schrieb: I have amanda installed when I run the following command as the user amanda /usr/local/sbin/amverify DailySet1 0 I get this: Tapes: Errors found: amtape: could not load slot 1: chg-multi: slot is empty amverify DailySet1 Thu Mar 4 13:18:52 EST 2004 Loading 1 slot... ** Error loading slot 1 amtape: could not load slot 1: chg-multi: slot is empty If anyone can lend a hand with how they configured their L200, that would be greatly appreciated. #! /bin/sh ### # AMANDA Tape Changer script for use with the MTX tape changer program # Version 1.1 - Wed Mar 7 16:50:05 CST 2001 # # Based on 'stc-changer' by Eric Berggren ([EMAIL PROTECTED]) # Updated by Tim Skirvin ([EMAIL PROTECTED]) # # Given that there's no license...let's make this the Perl Artistic License. # Just make sure you give me and Eric credit if you modify this. ### ### USER CONFIGURATION # Name of the tape drive (takes place of tapedev option in amanda.conf) # and default driver number in library (usu 0) that DRIVE_NAME points to DRIVE_NAME=/dev/rmt/0hn # /dev/rmt/0n ? DRIVE_NUM=0 # Location of STC command and control device MTX_CMD=/usr/local/sbin/mtx; MTX_CONTROL=/dev/scsi/changer/c3t0d0; # Whether tape drive must eject tape before changer retrieves # (ie, EXB-2x0). Usually okay if set while not necessary, bad if # required but not set. DRIVE_MUST_EJECT=1 # How long to check drive readiness (in seconds) after mounting (or # ejecting) a volume (on some libraries, the motion or eject command may # complete before the drive has the volume fully mounted and online, # or ready for retrieval, resulting in Drive not ready/Media not # ready errors). Do an mt status command every 5 seconds upto this # time. DRIVE_READY_TIME_MAX=60 # tape mt command location... MT_CMD=/usr/bin/mt # called via MT_CMD -f DRIVE_NAME rewind # MT_CMD -f DRIVE_NAME offline to eject # and MT_CMD -f DRIVE_NAME status to get ready info ## # NumDrives=-1 NumSlots=-1 LastSlot=-1 LoadedTape=-1 # # Usage information # usage() { echo echo Usage: $Progname command [arg...] echo -info reports capability and loaded tape echo -slot slot loads specified tape into drive echo current reports current mounted tape echo next loads logically next tape (loops to
Re: Solaris 8 and L200
I currently use CHS with solaris (all versions 2.6 - 2.8) ... but as I have been discussing with the list I only have binaries to run it in 32bit mode. I can keep you posted Glenn on what I change to . I have had a quick look at MTX and I am still trying to find chg-scsi! Chs works well ... and if I had a preference I would continue using it as our amanda setup with CHS has worked fine for 5 years but no-one seems to have the source code for a recompile into 64bit mode so I'll start looking at these others. Let you know how I go. Glenn Zenker wrote: I'm running Solaris 8, a Powerstor L200 with Amanda version 2.4.4p2. I compiled the software on the machine. It is a scsi tape changer. Thanks Christoph Scheeder wrote: Hi, first: please keep this task on the list, it gives other people the posibility to jump in and correct me if i tell you something wrong I guess this is a scsi-tapechanger, correct? then you have a few possibilities to get the robot moving: chg-scsi, mtx, and possibly more, i don't know all the free available tools to make tape robots move, espacialy for solaris as i am using linux on all my servers and i opperate my tapechanger all with chg-scsi. so now we are at the point where one of the solaris-people here on the list should jump in to help you further, but the need a little more info on your problem likthe exact type of your changer, which version of amanda you use, if you compiled it your self etc. Christoph Glenn Zenker schrieb: Thanks, that is a big help! I'll switch to another script and see what happens. Do you know if Amanda can move the robot?? Currently, the only software we have works through a webpage. Thanks, Glenn Christoph Scheeder wrote: Hi, You have configured amanda to use chg-multi as changer script. i don't think this is what you want. chg-multi is used with multiple tapedrives to form a virtual tape-robot. use one of the other chg-scripts, depending on which software you use to move your robot. Christoph Glenn Zenker schrieb: I have amanda installed when I run the following command as the user amanda /usr/local/sbin/amverify DailySet1 0 I get this: Tapes: Errors found: amtape: could not load slot 1: chg-multi: slot is empty amverify DailySet1 Thu Mar 4 13:18:52 EST 2004 Loading 1 slot... ** Error loading slot 1 amtape: could not load slot 1: chg-multi: slot is empty If anyone can lend a hand with how they configured their L200, that would be greatly appreciated. -- geoffs :-) -- Geoff Swavley Email : [EMAIL PROTECTED] UNIX Sys Admin Snail : Level 8, 10 Valentine Ave, Support and Network Operations Parramatta NSW 2150 Dept of Infrastructure, PlanningSydney Australia and Natural Resources Phone : 61-2-98957125 http://www.radx.net/~geoffs Fax : 61-2-98957086 Mobile: 61-422-002005 Home : 61-2-96593637 -- Be wary of the man who urges an action in which he himself incurs no risk. - Setanti, Joaquin de
Re: Solaris 8 and L200
Hi, first: please keep this task on the list, it gives other people the posibility to jump in and correct me if i tell you something wrong I guess this is a scsi-tapechanger, correct? then you have a few possibilities to get the robot moving: chg-scsi, mtx, and possibly more, i don't know all the free available tools to make tape robots move, espacialy for solaris as i am using linux on all my servers and i opperate my tapechanger all with chg-scsi. so now we are at the point where one of the solaris-people here on the list should jump in to help you further, but the need a little more info on your problem likthe exact type of your changer, which version of amanda you use, if you compiled it your self etc. Christoph Glenn Zenker schrieb: Thanks, that is a big help! I'll switch to another script and see what happens. Do you know if Amanda can move the robot?? Currently, the only software we have works through a webpage. Thanks, Glenn Christoph Scheeder wrote: Hi, You have configured amanda to use chg-multi as changer script. i don't think this is what you want. chg-multi is used with multiple tapedrives to form a virtual tape-robot. use one of the other chg-scripts, depending on which software you use to move your robot. Christoph Glenn Zenker schrieb: I have amanda installed when I run the following command as the user amanda /usr/local/sbin/amverify DailySet1 0 I get this: Tapes: Errors found: amtape: could not load slot 1: chg-multi: slot is empty amverify DailySet1 Thu Mar 4 13:18:52 EST 2004 Loading 1 slot... ** Error loading slot 1 amtape: could not load slot 1: chg-multi: slot is empty If anyone can lend a hand with how they configured their L200, that would be greatly appreciated.
Re: Solaris 8 and L200
Hi, You have configured amanda to use chg-multi as changer script. i don't think this is what you want. chg-multi is used with multiple tapedrives to form a virtual tape-robot. use one of the other chg-scripts, depending on which software you use to move your robot. Christoph Glenn Zenker schrieb: I have amanda installed when I run the following command as the user amanda /usr/local/sbin/amverify DailySet1 0 I get this: Tapes: Errors found: amtape: could not load slot 1: chg-multi: slot is empty amverify DailySet1 Thu Mar 4 13:18:52 EST 2004 Loading 1 slot... ** Error loading slot 1 amtape: could not load slot 1: chg-multi: slot is empty If anyone can lend a hand with how they configured their L200, that would be greatly appreciated.