Bacula-users

Re: [Bacula-users] update slots scan

2011-05-27 08:06:18
Subject: Re: [Bacula-users] update slots scan
From: John Drescher <drescherjm AT gmail DOT com>
To: Andre Lorenz <andre AT ns-cw DOT net>
Date: Fri, 27 May 2011 08:03:46 -0400
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

------------------------------------------------------------------------------
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>