Bacula-users

Re: [Bacula-users] Quantum Superloader3 LT04

2009-03-06 11:50:45
Subject: Re: [Bacula-users] Quantum Superloader3 LT04
From: Prashant Ramhit <prashant AT bluebarracuda DOT com>
To: Dan Langille <dan AT langille DOT org>
Date: Fri, 06 Mar 2009 16:43:08 +0000
Hi Dan,

 From the following files I can see the Changer device is /devsg0 and 
the Archive Device is /dev/nst0.

But btape -c bacula-sd.conf /dev/nst0 give me the following and freezes 
and nothing else.

root@backupserver:/etc/bacula# *btape -c bacula-sd.conf /dev/nst0*
Tape block granularity is 1024 bytes.
btape: butil.c:285 Using device: "/dev/nst0" for writing.
06-Mar 16:38 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" 
command.
06-Mar 16:38 btape JobId 0: 3302 Autochanger "loaded? drive 0", result: 
nothing loaded.

Is there anything I can do to get this fixed please,

Kind regards,
Prashant


Some out put commands

root@backupserver:/etc/bacula# *mtx -f /dev/sg2 status*

  Storage Changer /dev/sg2:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full :VolumeTag=VOL101                         
      Storage Element 2:Full :VolumeTag=VOL102                         
      Storage Element 3:Empty
      Storage Element 4:Empty
      Storage Element 5:Empty
      Storage Element 6:Empty
      Storage Element 7:Empty
      Storage Element 8:Empty
      Storage Element 9:Empty
      Storage Element 10:Empty
      Storage Element 11:Empty
      Storage Element 12:Empty
      Storage Element 13:Empty
      Storage Element 14:Empty
      Storage Element 15:Empty
      Storage Element 16:Empty

root@backupserver:/etc/bacula# lsscsi
[2:0:0:0]    disk    ATA      HDS728080PLA380  PF2O  /dev/sda
[4:0:5:0]    tape    HP       Ultrium 4-SCSI   B22Z  /dev/st0
[4:0:5:1]    mediumx QUANTUM  UHDL             0054  -      
root@backupserver:/etc/bacula# *

*



Dan Langille wrote:
> Prashant Ramhit wrote:
>> Hi All,
>> Is anyone using a SuperLoader 3 LTO4 . I cannot get it to load and 
>> unload tapes.
>> Please have a look at my bacula-sf.conf, is there anything wrong in it?
>>
>> Many thanks
>> Prashant
>>
>>
>> Storage {
>>   Name = server-sd
>>   SDPort = 9103
>>   WorkingDirectory = "/var/bacula/working"
>>   Pid Directory = "/var/run"
>>   Maximum Concurrent Jobs = 20
>> }
>>
>> Director {
>>   Name = backupserver-dir
>>   Password = "password"
>> }
>>
>> Autochanger {
>>   Name = AutoLoader
>>   Device = TapeDrive
>>   Changer Device = /dev/sg2
>>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>
> Have you:
>
> run the btape tests, including the changer test?
> tried running the changer command (above) manually, from the command 
> line?
>
> If yes to either, what are the results?
>
>> }
>>
>> Device {
>>   Name = TapeDrive
>>   Drive Index = 0
>>   Autochanger = yes
>>   Archive Device = /dev/nst0
>>   Media Type = LTO-4
>>   LabelMedia = yes;                   # lets Bacula label unlabeled 
>> media
>>   Random Access = Yes;
>>   AutomaticMount = yes;               # when device opened, read it
>>   AlwaysOpen = yes;
>>   RemovableMedia = yes;
>>   RandomAccess = no;
>>   Offline On Unmount = no
>>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>> }
>>
>> Messages {
>>   Name = Standard
>>   director = backupserver-dir = all
>> }
>
>



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users