On Wednesday 03 August 2005 01:09, George R. Kasica wrote:
> >On Tue, 02 Aug 2005 13:20:13 -0500, you wrote:
> >
> >Hello:
> >
> >I'm still working on getting Bacula running here and have it working
> >well with 2 of 3 tape drives (A Pair of HP DD3 Autochangers C1553A)
> >however I'm having something of a problem with the 3rd device, an
> >Exabyte EZ-17 unit.
> >
> >I can perform the btape test and auto perfectly, however I get in
> >trouble when working through the test sequence on p.296 of the 1.36.3
> >manual as shown below, the unload fails.
> >
> >What do I need to do to make this function correctly? There is a tape
> >in the drive from slot 1 which is why its not showing.
> >
> >[EMAIL PROTECTED] bin]# ./mtx-changer /dev/sg0 list 0 /dev/nst0 0
> >2:
> >3:
> >4:
> >5:
> >6:
> >7:
> >[EMAIL PROTECTED] bin]# ./mtx-changer /dev/sg0 slots 0 /dev/nst0 0
> >7
> >[EMAIL PROTECTED] bin]# ./mtx-changer /dev/sg0 unload
> >Unloading Data Transfer Element into Storage Element 1...mtx: Request
> >Sense: Long Report=yes
> >mtx: Request Sense: Valid Residual=no
> >mtx: Request Sense: Error Code=70 (Current)
> >mtx: Request Sense: Sense Key=Illegal Request
> >mtx: Request Sense: FileMark=no
> >mtx: Request Sense: EOM=no
> >mtx: Request Sense: ILI=no
> >mtx: Request Sense: Additional Sense Code = 3B
> >mtx: Request Sense: Additional Sense Qualifier = 90
> >mtx: Request Sense: BPV=no
> >mtx: Request Sense: Error in CDB=no
> >mtx: Request Sense: SKSV=no
> >mtx: MOVE MEDIUM from Element Address 82 to 1 Failed
> >
> >At this point the drive is unresponsive to further commands from mt
> >for example mt -f /dev/nst0 offline fails as does anything else. I'm
> >guessing the unit needs a power cycle to reset at this point however
> >I'm not physically in front of it to tell at this time, it still
> >reports the following mtx status:
> >
> >[EMAIL PROTECTED] ~]# mtx -f /dev/sg0 status
> >  Storage Changer /dev/sg0:1 Drives, 7 Slots ( 0 Import/Export )
> >Data Transfer Element 0:Full (Storage Element 1 Loaded)
> >      Storage Element 1:Empty
> >      Storage Element 2:Full
> >      Storage Element 3:Full
> >      Storage Element 4:Full
> >      Storage Element 5:Full
> >      Storage Element 6:Full
> >      Storage Element 7:Full
> >
> > tapeinfo -f /dev/sg0
> >Product Type: Medium Changer
> >Vendor ID: 'EXABYTE '
> >Product ID: 'EXB-210         '
> >Revision: '1.06'
> >Attached Changer: No
> >SerialNumber: '38002496  '
> >SCSI ID: 0
> >SCSI LUN: 0
> >Ready: yes
> >
> >[EMAIL PROTECTED] ~]# loaderinfo -f /dev/sg0
> >Product Type: Medium Changer
> >Vendor ID: 'EXABYTE '
> >Product ID: 'EXB-210         '
> >Revision: '1.06'
> >Attached Changer: No
> >Bar Code Reader: No
> >EAAP: Yes
> >Number of Medium Transport Elements: 1
> >Number of Storage Elements: 7
> >Number of Import/Export Element Elements: 0
> >Number of Data Transfer Elements: 1
> >Transport Geometry Descriptor Page: Yes
> >Invertable: No
> >Device Configuration Page: Yes
> >Can Transfer: Yes
> >
> >[EMAIL PROTECTED] ~]# tapeinfo -f /dev/sg5
> >Product Type: Tape Drive
> >Vendor ID: 'EXABYTE '
> >Product ID: 'EXB-89008E00012F'
> >Revision: 'V39e'
> >Attached Changer: No
> >SerialNumber: '0060089150'
> >MinBlock:1
> >MaxBlock:245760
> >SCSI ID: 6
> >SCSI LUN: 0
> >Ready: yes
> >BufferedMode: yes
> >Medium Type: 0xd2
> >Density Code: 0x27
> >BlockSize: 0
> >DataCompEnabled: yes
> >DataCompCapable: yes
> >DataDeCompEnabled: yes
> >CompType: 0x10
> >DeCompType: 0x10
> >Block Position: 2
> >[EMAIL PROTECTED] ~]#
> >
> >[EMAIL PROTECTED] ~]# loaderinfo -f /dev/sg5
> >Product Type: Tape Drive
> >Vendor ID: 'EXABYTE '
> >Product ID: 'EXB-89008E00012F'
> >Revision: 'V39e'
> >Attached Changer: No
> >Bar Code Reader: No
> >EAAP: No
> >Transport Geometry Descriptor Page: No
> >Device Configuration Page: No
>
> Well, I've partially solved my own problem but don't know how to get
> Bacula to do it automatically.
>
> The working sequence of load and eject is as follows:
>
> mtx -f /dev/sg0 load 1
> mt -f /dev/nst0 rewind (OR WHATEVER YOU'RE DOING)
> mt -f /dev/nst0 offline
> mtx -f /dev/sh0 unload 1
>
> The catch seems to be needing the offline command, but how do I get
> that into the bacula changer script and where???

If I am not mistaken, the script *shows* you exactly where it should go.
Try looking at the script.



-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to