Bacula-users

Re: [Bacula-users] StorEdge C2 autochanger not working

2009-04-03 11:58:33
Subject: Re: [Bacula-users] StorEdge C2 autochanger not working
From: b5b5b5b5 <b5b5b5b5 AT centrum DOT sk>
To: Massimo Schenone <mschenone AT sorint DOT it>
Date: Fri, 03 Apr 2009 17:53:26 +0200
i forget to mention, that i'm using Debian 5 (Lenny)
but i can try to compare our conf's , and will see if there is something
different. just from the first view, it doesn't look much different.



Massimo Schenone wrote:
> This is my configuration on Solaris 10:
> 
> Autochanger {
>   Name = SunSTK-C2
>   Device = Drive-0
>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/scsi/changer/c3t4d1
> }
> 
> Device {
>   Name = Drive-0
>   Description = "HP Ultrium LTO 3"
>   Media Type = LTO3
>   Archive Device = /dev/rmt/0bn
>   AutomaticMount = yes
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
> 
>   AutoChanger = yes
>   Drive Index = 0 
> 
>   #Offline On Unmount = no
>   #Hardware End of Medium = No
>   #Fast Forward Space File = No
>   #BSF at EOM = yes
>   #TWO EOF = yes
>   #Block Positioning = no
> }
> 
> 
> 
> On Fri, 2009-04-03 at 14:06 +0200, b5b5b5b5 wrote:
>> I have a problem running an AUTOCHANGER as a part of backup system.
>>
>> Tape is:
>>      Product Type: Tape Drive
>>      Vendor ID: 'HP'
>>      Product ID: 'Ultrium 3-SCSI'
>>      Revision: 'G36Z'
>> and everything else looks like to work fine, except of the autochanger:
>>      Product Type: Medium Changer
>>      Vendor ID: 'QUANTUM'
>>      Product ID: 'UHDL'
>>      Revision: '0031'
>> Both of them are part of one device: StorEdge C2 (from SUN 
>> Microsystems), model: SQL700 .
>> Connected through:   SCSI storage controller: LSI Logic / Symbios Logic 
>> 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08)
>>
>>
>> After running the 'mtx -f /dev/sg3 status' i get this result:
>>      Storage Changer /dev/sg3:1 Drives, 16 Slots ( 0 Import/Export )
>>      Data Transfer Element 0:Full (Unknown Storage Element Loaded)
>>      ...
>>      Storage Element 16:Full
>>
>>
>> When executed this './mtx-changer /dev/sg3 load 1 /dev/nst0 0', i just 
>> received this response:
>>      Drive 0 Full (Storage Element 0 loaded)
>>
>>
>> And finally when tryied this command (from the Bacula's manual chapter 
>> of testing the tape drive): 'btape -c /etc/bacula/bacula-sd.conf 
>> /dev/nst0' , i just get this ERROR msg:
>>      === Autochanger test ===
>>      3301 Issuing autochanger "loaded" command.
>>      Nothing loaded in the drive. OK.
>>      3303 Issuing autochanger "load 1 0" command.
>>      3993 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg3 
>> load 1 /dev/nst0 0
>>      3993 result="Drive 0 Full (Storage Element 0 loaded)": ERR=Child exited 
>> with code 1
>>      You must correct this error or the Autochanger will not work.
>>
>> Could anybody give me some help please?
>> Thanks in advance for any hint.
>> Daniel
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users