Bacula-users

Re: [Bacula-users] update slots scan

2011-05-27 08:11:25
Subject: Re: [Bacula-users] update slots scan
From: Andre Lorenz <andre AT ns-cw DOT net>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Fri, 27 May 2011 14:08:30 +0200
On 27.05.2011 14:03, John Drescher wrote:
> On Fri, May 27, 2011 at 7:51 AM, Andre Lorenz <andre AT ns-cw DOT net> wrote:
>> On 27.05.2011 09:41, Mauro Colorio wrote:
>>> what's the result of tapeinfo -f /dev/sg6 ?
>>>
>>> ciao
>>> Mauro
>> i changed something ;-)
>> reconfigured some stuff but noc change :-(
>>
>> lsscsi -g
>> ...
>> [1:0:0:0]    mediumx NEC      LL0101H-0A       0002  /dev/sch0  /dev/sg2
>> [1:0:1:0]    tape    IBM      ULTRIUM-TD2      38D0  /dev/st0  /dev/sg3
>> ....
>> [2:0:0:0]    tape    IBM      ULTRIUM-TD4      7A31  /dev/st1
>> /dev/sg4      <- Drive 1
>> [2:0:0:1]    mediumx NEC      T40A2            0005  /dev/sch1
>> /dev/sg5     <-- Changer device
>> [2:0:1:0]    tape    IBM      ULTRIUM-TD4      7A31  /dev/st2
>> /dev/sg6        <-- Drive 2
>>
>>
>> tapeinfo -f /dev/sg5
>> Product Type: Medium Changer
>> Vendor ID: 'NEC     '
>> Product ID: 'T40A2           '
>> Revision: '0005'
>> Attached Changer API: No
>> SerialNumber: '1Y09BB0033'
>> SCSI ID: 0
>> SCSI LUN: 1
>> Ready: yes
>>
>>
>>  tapeinfo -f /dev/sg4
>> Product Type: Tape Drive
>> Vendor ID: 'IBM     '
>> Product ID: 'ULTRIUM-TD4     '
>> Revision: '7A31'
>> Attached Changer API: No
>> SerialNumber: '1310065549'
>> MinBlock: 1
>> MaxBlock: 16777215
>> SCSI ID: 0
>> SCSI LUN: 0
>> Ready: no
>>
>> tapeinfo -f /dev/sg6
>> Product Type: Tape Drive
>> Vendor ID: 'IBM     '
>> Product ID: 'ULTRIUM-TD4     '
>> Revision: '7A31'
>> Attached Changer API: No
>> SerialNumber: '1310043810'
>> MinBlock: 1
>> MaxBlock: 16777215
>> SCSI ID: 1
>> SCSI LUN: 0
>> Ready: yes
>> BufferedMode: yes
>> Medium Type: 0x48
>> Density Code: 0x46
>> BlockSize: 0
>> DataCompEnabled: yes
>> DataCompCapable: yes
>> DataDeCompEnabled: yes
>> CompType: 0x1
>> DeCompType: 0x1
>> BOP: yes
>> Block Position: 0
>> Partition 0 Remaining Kbytes: -1
>> Partition 0 Size in Kbytes: -1
>> ActivePartition: 0
>> EarlyWarningSize: 0
>>
>>
>> mtx -f /dev/sg5 status
>>
>>  Storage Changer /dev/sg5:2 Drives, 40 Slots ( 0 Import/Export )
>> Data Transfer Element 0:Full (Storage Element 11 Loaded)
>> Data Transfer Element 1:Empty
>>      Storage Element 1:Full
>>      Storage Element 2:Full
>>      Storage Element 3:Full
>>      Storage Element 4:Full
>>      Storage Element 5:Full
>>      Storage Element 6:Full
>>      Storage Element 7:Full
>>      Storage Element 8:Full
>>      Storage Element 9:Full
>>      Storage Element 10:Full
>>      Storage Element 11:Empty
>>      Storage Element 12:Full
>>      Storage Element 13:Full
>> ....  (all 40 slots)
>>
> So was /dev/sg5 listed as your changer device in bacula-sd.conf. If
> not did you fix that and restart bacula-sd.conf
>
> John
yes, this was fist i checked.
Autochanger {
  Name = "NEC-LTO4"
  Device = ULTRIUM-TD4-1, ULTRIUM-TD4-2
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
#  Changer Device = /dev/sg6
 Changer Device = /dev/sg5
}


Device {
  Name = ULTRIUM-TD4-1
  Drive Index = 0
  Media Type = LTO-4
  Archive Device = /dev/st1    # Normal archive device
  Autochanger = yes
  LabelMedia = yes;
  AutomaticMount = yes;
  AlwaysOpen = yes;
  Maximum File Size = 6gb
  Maximum Network Buffer Size = 262144
  Maximum Block Size = 262144
  Spool Directory = /spool
  Maximum Spool Size = 200G
  Maximum Job Spool Size = 20G
}

Device {
  Name =  ULTRIUM-TD4-2
  Drive Index = 1
  Media Type = LTO-4
  Archive Device = /dev/st2    # Normal archive device
  Autochanger = yes
  LabelMedia = yes;
  AutomaticMount = yes;
  AlwaysOpen = yes;
  Maximum File Size = 6gb
  Maximum Network Buffer Size = 262144
  Maximum Block Size = 262144
  Spool Directory = /spool
  Maximum Spool Size = 200G
  Maximum Job Spool Size = 20G
}

i also restarted services, dvices and server :-(

it doesn't help.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>