Bacula-users

Re: [Bacula-users] Problem with 'label barcodes'

2008-06-03 20:05:32
Subject: Re: [Bacula-users] Problem with 'label barcodes'
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Dave Phillips" <phillips AT nemesis.tucson.saic DOT com>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 3 Jun 2008 20:05:25 -0400
On Tue, Jun 3, 2008 at 7:25 PM, Dave Phillips
<phillips AT nemesis.tucson.saic DOT com> wrote:
> Thanks, John.  I can do that if I know what the correct format of
> the return string from the inquiry command is that bacula is expecting.
> Would you know?  Dave
>
What does your mtx -f <changerdevice> status look like?

Here is an old example of what the output looks like on my changer:

# mtx -f /dev/autochanger1 status
 Storage Changer /dev/autochanger1:2 Drives, 24 Slots ( 1 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Full (Storage Element 20 Loaded):VolumeTag = A00048
     Storage Element 1:Full :VolumeTag=A00030
     Storage Element 2:Full :VolumeTag=A00052
     Storage Element 3:Full :VolumeTag=A00050
     Storage Element 4:Full :VolumeTag=A00053
     Storage Element 5:Full :VolumeTag=A00023
     Storage Element 6:Full :VolumeTag=A00006
     Storage Element 7:Full :VolumeTag=A00007
     Storage Element 8:Full :VolumeTag=A00032
     Storage Element 9:Full :VolumeTag=A00028
     Storage Element 10:Full :VolumeTag=A00018
     Storage Element 11:Full :VolumeTag=A00054
     Storage Element 12:Full :VolumeTag=A00039
     Storage Element 13:Full :VolumeTag=A00051
     Storage Element 14:Full :VolumeTag=A00012
     Storage Element 15:Full :VolumeTag=A00044
     Storage Element 16:Full :VolumeTag=A00016
     Storage Element 17:Full :VolumeTag=A00056
     Storage Element 18:Full :VolumeTag=A00055
     Storage Element 19:Full :VolumeTag=A00049
     Storage Element 20:Empty:VolumeTag=
     Storage Element 21:Full :VolumeTag=A00045
     Storage Element 22:Full :VolumeTag=A00047
     Storage Element 23:Full :VolumeTag=A00046
     Storage Element 24 IMPORT/EXPORT:Empty:VolumeTag=


Note: That with this format Slot 24 does not work with the default
mtx-changer script because of the " IMPORT/EXPORT" part after the slot
number.

John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users