RE: Can load but can't eject tapes...
How about this: Write a wrapper for chg-scsi that puts a 'mt -f /dev/nst0 offline' in front of any call to chg-scsi that will need to move tape. Then make AMANDA call the wrapper instead of chg-scsi. -Original Message- From: Lennart Hansen [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 2:57 AM To: [EMAIL PROTECTED] Subject: Re: Can load but can't eject tapes... On Wednesday 09 May 2001 21:22, John R. Jackson wrote: I use the chg-scsi software.. i found the OFFLINE_BE.. in chg-zd-mtx, but is that connected in some way with chg-scsi ?? Those are two different changers. You want to put: eject1 in your chg-scsi config file (or change it from zero to one if the line is already there). Have allready tryed that, but it don't work.. But if i use the chg-scsi changer software to change tape, after running mt -f /dev/nst0 offline it CAN change the tape... Any suggenstions... ?? -Lennart -- Lennart Hansen, System Administrator @ DixaNet (UK) Ltd. Email: [EMAIL PROTECTED] Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots.
Re: Can load but can't eject tapes...
Lennart Hansen wrote: On Thursday 10 May 2001 22:18, John R. Jackson wrote: You want to put: eject 1 in your chg-scsi config file ... Have allready tryed that, but it don't work.. What did it do? I'd like to see the chg-scsi*debug file that goes along with this. I have tryed to use both 1 and 2 on eject, in chg-scsi.conf, nothing works.. If i use $mt -f /dev/nst0 offline followed by $mtx -f /dev/sga first, next... whatever.. it works The debug file, is attached. Just to be clear, are you using the chg-scsi that comes with 2.4.2p2 or did you get the one from 2.5 (or something else)? I have tryed 2.4.2p2, and the latest cvs.. -Lennart We had the same problem here. We found that it was caused by a bug in chg-scsi. When the tape gets ejected, the program loops waiting for function SenseHandler to return with code SENSE_NO_TAPE_ONLINE. The generic SCSI version of this function can only return this code if it was called with the parameter flag set to 2, telling it that the device is a tape drive.Unfortunately that parameter is set to 0 when the function gets called and returns with code SENSE_RETRY instead. Here included is a patch that fixed the problem for us. /Charles -- Charles Lopes, IT dept., Findel, IEE Luxembourg Tel: +352 424737-515 Fax: +352 424737-200 --- changer-src/scsi-changer-driver.c~ Wed Oct 25 02:21:15 2000 +++ changer-src/scsi-changer-driver.c Mon Apr 30 21:30:17 2001 @@ -1469,7 +1469,7 @@ true = 0; break; } - if (SenseHandler(pTapeDevCtl-fd, 0, (char *)pRequestSense) == SENSE_NO_TAPE_ONLINE) + if (SenseHandler(pTapeDevCtl-fd, 2, (char *)pRequestSense) == +SENSE_NO_TAPE_ONLINE) { true=0; break; @@ -1551,7 +1551,7 @@ true = 0; break; } - if (SenseHandler(pTapeDevCtl-fd, 0, (char *)pRequestSense) == SENSE_NO_TAPE_ONLINE) + if (SenseHandler(pTapeDevCtl-fd, 2, (char *)pRequestSense) == +SENSE_NO_TAPE_ONLINE) { true=0; break; @@ -1627,7 +1627,7 @@ true = 0; break; } - if (SenseHandler(DeviceFD, 0, (char *)pRequestSense) == SENSE_NO_TAPE_ONLINE) + if (SenseHandler(DeviceFD, 2, (char *)pRequestSense) == SENSE_NO_TAPE_ONLINE) { return(-1); break;
Re: Can load but can't eject tapes...
On Friday 18 May 2001 11:30, you wrote: We had the same problem here. We found that it was caused by a bug in chg-scsi. When the tape gets ejected, the program loops waiting for function SenseHandler to return with code SENSE_NO_TAPE_ONLINE. The generic SCSI version of this function can only return this code if it was called with the parameter flag set to 2, telling it that the device is a tape drive.Unfortunately that parameter is set to 0 when the function gets called and returns with code SENSE_RETRY instead. Here included is a patch that fixed the problem for us. Thanks, but it did't work.. I get this error everytime : DeviceCapabilitiesPage: == NULL 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 ? Anyone got an idea ?? -Lennart -- Lennart Hansen, System Administrator @ DixaNet (UK) Ltd. Email: [EMAIL PROTECTED] Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots. chg-scsi: debug 1 pid 1499 ruid 24 euid 24 start time Fri May 18 16:27:01 2001 ARG [0] : /usr/local/amanda/libexec/chg-scsi ARG [1] : -slot ARG [2] : current Number of configurations: 1 Tapes need eject: Yes barcode reader : No Tapes need sleep: 90 seconds Cleancycles : 100 Changerdevice : /dev/sga Labelfile : /usr/local/amanda/etc/amanda/Daily/labelfile Tapeconfig Nr: 0 Drivenumber : 0 Startslot : 0 Endslot : 4 Cleanslot : 6 Devicename: /dev/nst0 changerident : none SCSITapedev : /dev/sga tapeident : none statfile : /usr/local/amanda/etc/amanda/Daily/tapestatus Slotfile : /usr/local/amanda/etc/amanda/Daily/tape-slot Cleanfile : /usr/local/amanda/etc/amanda/Daily/tape-clean Usagecount: /usr/local/amanda/etc/amanda/Daily/totaltime # START OpenDevice OpenDevice : /dev/sga 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 41 44 49 43 20 20 20 203...ADIC 46 61 73 74 53 74 6F 72 20 44 4C 54 20 20 20 20FastStor.DLT 42 31 31 37 00 00 00 00 00 00 00 00 00 00 00 00B117 00 00 00 00 00 00 00 00 SCSI_Inquiry : end 0 # START PrintInquiry qualifier 0 type8 data_format 2 ansi_version2 ecma_version0 iso_version 0 type_modifier 0 removable 1 vendor_info ADIC prod_ident FastStor DLT prod_versionB117 vendor_specific using ident = generic, type = Generic driver tape/robot [generic] # START OpenDevice OpenDevice : /dev/nst0 SCSI_OpenDevice : checking if /dev/nst0 is a sg device No link /dev/nst0 using ident = generic, type = Generic driver tape/robot [generic] # START OpenDevice OpenDevice : /dev/sga 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 41 44 49 43 20 20 20 203...ADIC 46 61 73 74 53 74 6F 72 20 44 4C 54 20 20 20 20FastStor.DLT 42 31 31 37 00 00 00 00 00 00 00 00 00 00 00 00B117 00 00 00 00 00 00 00 00 SCSI_Inquiry : end 0 # START PrintInquiry qualifier 0 type8 data_format 2 ansi_version2 ecma_version0 iso_version 0 type_modifier 0 removable 1 vendor_info ADIC prod_ident FastStor DLT prod_versionB117 vendor_specific using ident = generic, type = Generic driver tape/robot [generic] ## START get_drive_count get_drive_count : fd 3 # START GenericElementStatus # START SCSI_ModeSense SCSI_ModeSense start length = 255: # START DecodeSCSI SCSI_ExecuteCommand : MODE SENSE 1A 08 3F 00 FF 00 # STOP DecodeSCSI SCSI_ModeSense end: 0 # START DecodeModeSense 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00e... 1D 12 00 56 00 01 00 01 00 07 00 00 00 00 00 52...V...R 00 01 00 00 1E 02 00 00 1F 0E 0A 00 0A 0B 00 03 00 00 00 00 00 00 00 00 00 2C 43 6F 70 79 72 69..Copyri 67 68 74 20 28 43 29 20 31 39 39 37 20 2D 20 32ght..C..1997...2 30 30 30 20 41 44 49 43 20 20 32 30 30 30 2D 30000.ADIC..2000.0 34 2D 31 31 C5 A4 00 00 00 00 00 00 00 00 00 004.11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
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: Can load but can't eject tapes...
On Thursday 10 May 2001 22:18, John R. Jackson wrote: You want to put: eject 1 in your chg-scsi config file ... Have allready tryed that, but it don't work.. What did it do? I'd like to see the chg-scsi*debug file that goes along with this. I have tryed to use both 1 and 2 on eject, in chg-scsi.conf, nothing works.. If i use $mt -f /dev/nst0 offline followed by $mtx -f /dev/sga first, next... whatever.. it works The debug file, is attached. Just to be clear, are you using the chg-scsi that comes with 2.4.2p2 or did you get the one from 2.5 (or something else)? I have tryed 2.4.2p2, and the latest cvs.. -Lennart -- Lennart Hansen, System Administrator @ DixaNet (UK) Ltd. Email: [EMAIL PROTECTED] Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots. chg-scsi: debug 1 pid 11770 ruid 24 euid 24 start time Mon May 14 11:28:11 2001 chg-scsi: $Id: chg-scsi.c,v 1.26 2001/05/07 17:57:12 ant Exp $ ARG [0] : /usr/local/amanda/libexec/chg-scsi ARG [1] : -slot ARG [2] : next Number of configurations: 1 Tapes need eject: Yes barcode reader : No Tapes need sleep: 90 seconds Cleancycles : 100 Changerdevice : /dev/sga Labelfile : /usr/local/amanda/etc/amanda/Daily/labelfile Tapeconfig Nr: 0 Drivenumber : 0 Startslot : 0 Endslot : 4 Cleanslot : 6 Devicename: /dev/nst0 changerident : none SCSITapedev : /dev/sga tapeident : none statfile : /usr/local/amanda/etc/amanda/Daily/tapestatus Slotfile : /usr/local/amanda/etc/amanda/Daily/tape-slot Cleanfile : /usr/local/amanda/etc/amanda/Daily/tape-clean Usagecount: /usr/local/amanda/etc/amanda/Daily/totaltime # START LogSense # START DecodeSense LogSense :Sense Keys ErrorCode 00 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense LogSense : Tape_Ready failed # START LookupElement # STOP LookupElement (DTE) # START LookupElement # STOP LookupElement (STE) # START DecodeSense SCSI_Move :Sense Keys ErrorCode 70 Valid 0 ASC 3B ASCQ 90 Sense key 05 Illegal Request SCSI_Move : end 0 # START GenericClean # START RequestSense GenericClean : # START DecodeExtSense GenericClean : Extended Sense # START DecodeSense GenericClean : Sense Keys ErrorCode 70 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense Log Parameter Page Code 00 Log Parameter Code 00 Underrun/Overrun Counter00 Read/Write Error Counter0 Tape Drive needs to be cleaned Remaing 1024 byte tape blocks 0 Tracking Retry Counter 00 Read/Write Retry Counter00 Fault Sympton Code 00 # START LookupElement # STOP LookupElement (DTE) # START LookupElement # STOP LookupElement (STE) # START DecodeSense SCSI_Move :Sense Keys ErrorCode 70 Valid 0 ASC 3B ASCQ 90 Sense key 05 Illegal Request SCSI_Move : end 0 # START GenericClean # START RequestSense GenericClean : # START DecodeExtSense GenericClean : Extended Sense # START DecodeSense GenericClean : Sense Keys ErrorCode 70 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense Log Parameter Page Code 00 Log Parameter Code 00 Underrun/Overrun Counter00 Read/Write Error Counter0 Tape Drive needs to be cleaned Remaing 1024 byte tape blocks 0 Tracking Retry Counter 00 Read/Write Retry Counter00 Fault Sympton Code 00 # START LookupElement # STOP LookupElement (DTE) # START LookupElement # STOP LookupElement (STE) # START DecodeSense SCSI_Move :Sense Keys
Re: Can load but can't eject tapes...
On Wednesday 09 May 2001 21:22, John R. Jackson wrote: I use the chg-scsi software.. i found the OFFLINE_BE.. in chg-zd-mtx, but is that connected in some way with chg-scsi ?? Those are two different changers. You want to put: eject1 in your chg-scsi config file (or change it from zero to one if the line is already there). Have allready tryed that, but it don't work.. But if i use the chg-scsi changer software to change tape, after running mt -f /dev/nst0 offline it CAN change the tape... Any suggenstions... ?? -Lennart -- Lennart Hansen, System Administrator @ DixaNet (UK) Ltd. Email: [EMAIL PROTECTED] Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots.
Re: Can load but can't eject tapes...
You want to put: eject 1 in your chg-scsi config file ... Have allready tryed that, but it don't work.. What did it do? I'd like to see the chg-scsi*debug file that goes along with this. Just to be clear, are you using the chg-scsi that comes with 2.4.2p2 or did you get the one from 2.5 (or something else)? -Lennart John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Can load but can't eject tapes...
On Tuesday 08 May 2001 16:55, [EMAIL PROTECTED] wrote: Try setting OFFLINE_BEFORE_UNLOAD=1. This will cause Amanda to issue a mt -f /dev/tape device offline command before attempting the eject. It works if i issue the command... But where does i specify the OFFLINE_BEFO... ??? -Lennart -- Lennart Hansen, System Administrator. Email: [EMAIL PROTECTED] DixaNet (UK) Ltd. Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots.
Re: Can load but can't eject tapes...
On Wednesday 09 May 2001 09:10, Lennart Hansen wrote: On Tuesday 08 May 2001 16:55, [EMAIL PROTECTED] wrote: Try setting OFFLINE_BEFORE_UNLOAD=1. This will cause Amanda to issue a mt -f /dev/tape device offline command before attempting the eject. It works if i issue the command... But where does i specify the OFFLINE_BEFO... ??? I use the chg-scsi software.. i found the OFFLINE_BE.. in chg-zd-mtx, but is that connected in some way with chg-scsi ?? -- Lennart Hansen, System Administrator. Email: [EMAIL PROTECTED] DixaNet (UK) Ltd. Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots.
Re: Can load but can't eject tapes...
Instead of chg-scsi, try using chg-zd-mtx. That's what I use. On Wednesday 09 May 2001 09:10, Lennart Hansen wrote: On Tuesday 08 May 2001 16:55, [EMAIL PROTECTED] wrote: Try setting OFFLINE_BEFORE_UNLOAD=1. This will cause Amanda to issue a mt -f /dev/tape device offline command before attempting the eject. It works if i issue the command... But where does i specify the OFFLINE_BEFO... ??? I use the chg-scsi software.. i found the OFFLINE_BE.. in chg-zd-mtx, but is that connected in some way with chg-scsi ??
Re: Can load but can't eject tapes...
I use the chg-scsi software.. i found the OFFLINE_BE.. in chg-zd-mtx, but is that connected in some way with chg-scsi ?? Those are two different changers. You want to put: eject 1 in your chg-scsi config file (or change it from zero to one if the line is already there). Lennart Hansen John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Can load but can't eject tapes...
Hey ppl.. I have a problem with amanda, it can load the tape on my DLT7 Autoloader from Tandberg, but it can't eject the tapes.. I have attached the debug file, the amanda.conf and the chg-scsi.conf file.. The output from amtape Daily show: amtape: scanning all 5 slots in tape-changer rack: slot 1: reading label: Input/output error amtape: could not load slot 2: slot 2 move failed The input/output error, might be becourse i have new tapes in the changer.. -- Lennart Hansen, System Administrator. Email: [EMAIL PROTECTED] DixaNet (UK) Ltd. Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots. number_configs 1 eject 0 # Tapedrives need an eject command sleep 90 # Seconds to wait until the tape gets ready cleanmax100 # How many times could a cleaning tape get used changerdev /dev/sga # # Next comes the data for drive 0 # config 0 drivenum0 dev /dev/nst0 scsitapedev /dev/sga startuse0 # The slots associated with the drive 0 enduse 4 # statfile/usr/local/amanda/etc/amanda/Daily/tape-slot # The file where the actual slot is stored cleancart 6 # the slot where the cleaningcartridge for drive 0 is located cleanfile /usr/local/amanda/etc/amanda/Daily/tape-clean # The file where the cleanings are recorded usagecount /usr/local/amanda/etc/amanda/Daily/totaltime tapestatus /usr/local/amanda/etc/amanda/Daily/tapestatus # here will some status infos be stored labelfile /usr/local/amanda/etc/amanda/Daily/labelfile # Use this if you have an barcode reader chg-scsi: debug 1 pid 21977 ruid 24 euid 24 start time Tue May 8 10:16:58 2001 chg-scsi: $Id: chg-scsi.c,v 1.26 2001/05/07 17:57:12 ant Exp $ ARG [0] : /usr/local/amanda/libexec/chg-scsi ARG [1] : -slot ARG [2] : current Number of configurations: 1 Tapes need eject: No barcode reader : No Tapes need sleep: 90 seconds Cleancycles : 100 Changerdevice : /dev/sga Labelfile : /usr/local/amanda/etc/amanda/Daily/labelfile Tapeconfig Nr: 0 Drivenumber : 0 Startslot : 0 Endslot : 4 Cleanslot : 6 Devicename: /dev/nst0 changerident : none SCSITapedev : /dev/sga tapeident : none statfile : /usr/local/amanda/etc/amanda/Daily/tapestatus Slotfile : /usr/local/amanda/etc/amanda/Daily/tape-slot Cleanfile : /usr/local/amanda/etc/amanda/Daily/tape-clean Usagecount: /usr/local/amanda/etc/amanda/Daily/totaltime # START LogSense # START DecodeSense LogSense :Sense Keys ErrorCode 00 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense LogSense : Tape_Ready failed # START Tape_Ready # START SenseHandler Ident = [FastStor DLT], function = [generic] # START GenericSenseHandler # START DecodeSense GenericSenseHandler : Sense Keys ErrorCode 00 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense Sense2Action START : type(8), ignsense(0), sense(00), asc(00), ascq(00) Sense2Action generic start : Sense2Action generic END : match for generic return - 6/No Sense # STOP GenericSenseHandler STOP SenseHandler # START DecodeSense GenericRewind : Sense Keys ErrorCode 70 Valid 0 ASC 24 ASCQ 00 Sense key 05 Illegal Request Tape_Ready after 1 sec chg-scsi: pid 21977 finish time Tue May 8 10:17:12 2001 # # amanda.conf - sample Amanda configuration file. This started off life as # the actual config file in use at CS.UMD.EDU. # # If your configuration is called, say, csd, then this file normally goes # in /usr/local/amanda/etc/amanda/csd/amanda.conf. # org DailyBackup # your organization name for reports mailto root # space separated list of operators at your site dumpuser amanda # the user to run dumps under inparallel 4# maximum dumpers that will run in parallel (max 63) # this maximum can be increased at compile-time, # modifying MAX_DUMPERS in server-src/driverio.h netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec
RE: Can load but can't eject tapes...
I had a problem like that when I first started using my Exabyte changer, and it turned out that it requires an explicit eject before the picker will move the tape from the drive. Can you move tapes with any utility outside of AMANDA? The 'userland' utility that I use shows which tapes are accessible to the picker, and it only shows the tape in the drive as accessible once it has been ejected. The output looks like this: /dev/sch0: mt=1 st=10 ie=0 dt=1 medium transport 0: storage 0: access full 1: access full 2: access full 3: access full 4: access full 5: access full 6: access full 7: access full 8: access full 9: access import/export data transfer 0: full If the tape in the drive was ejected, the last line would be 0: access full. -Original Message- From: Lennart Hansen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 4:41 AM To: [EMAIL PROTECTED] Subject: Can load but can't eject tapes... Hey ppl.. I have a problem with amanda, it can load the tape on my DLT7 Autoloader from Tandberg, but it can't eject the tapes.. I have attached the debug file, the amanda.conf and the chg-scsi.conf file.. The output from amtape Daily show: amtape: scanning all 5 slots in tape-changer rack: slot 1: reading label: Input/output error amtape: could not load slot 2: slot 2 move failed The input/output error, might be becourse i have new tapes in the changer.. -- Lennart Hansen, System Administrator. Email: [EMAIL PROTECTED] DixaNet (UK) Ltd. Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots.
Re: Can load but can't eject tapes...
Hey ppl... I have a problem with amanda, it can load the tape on my DLT7 Autoloader from Tandberg, but it can't eject the tapes.. Try setting OFFLINE_BEFORE_UNLOAD=1. This will cause Amanda to issue a mt -f /dev/tape device offline command before attempting the eject. I have to do this with my Benchmark DLT7. Try it manually if you like to get a feel for it. Patrick