[Bacula-users] Testing Changer?

2007-10-17 Thread [EMAIL PROTECTED]
I've successfully run btape and the test functions on the tape drive in my 
changer.

I can't seem to find any information on how I will be using the changer itself 
now, to add/remove tapes, change them, etc. 

I'm using a 12 drive changer, Qualstar TLS-412360 with only one drive 
installed at this time.

Mike



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Testing Changer?

2007-10-17 Thread Chris Howells
[EMAIL PROTECTED] wrote:

 As I am testing right now, the changer has 180 slots on the one side which I 
 am using. I need to tell bacula about those slots from what I can tell. Using 
 slot 1 and 2 and such does not seem to work. 
 
 The changers slots are labeled L1A01 to L6C10. I don't see how I am to tell 
 bacula about the slots?

Bacula doesn't care what the slots are called. It just queries mtx for 
information about what slots are available, which slots are full, which 
are empty, and which label (and therefore tape) is in each slot.

Have you tried manipulating the change using mtx?

What does 'mtx -f /dev/sgN status' do?

You should be able to 'update slots' to make bacula see what is in each 
slot, and 'label barcodes' to write the tape label to the tape.

For instance on my autochanger 'update slots' says:

*update slots
Automatically selected Storage: Autochanger
Connecting to Storage daemon Autochanger at xxx:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 24 slots.
Connecting to Storage daemon Autochanger at xxx:9103 ...
3306 Issuing autochanger list command.
Catalog record for Volume ABC456L4 updated to reference slot 11.
Catalog record for Volume ABC123L4 updated to reference slot 7.

Whilst mtx gives the following info:

[EMAIL PROTECTED]:/etc/bacula# mtx -f /dev/sg1 status
   Storage Changer /dev/sg1:1 Drives, 24 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 7 Loaded):VolumeTag = ABC123L4
   Storage Element 1:Empty
   Storage Element 2:Empty
   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:Full :VolumeTag=ABC456L4
   Storage Element 12:Empty
   Storage Element 13:Empty
   Storage Element 14:Empty
   Storage Element 15:Empty
   Storage Element 16:Empty
   Storage Element 17:Empty
   Storage Element 18:Empty
   Storage Element 19:Empty
   Storage Element 20:Empty
   Storage Element 21:Empty
   Storage Element 22:Empty
   Storage Element 23:Empty
   Storage Element 24 IMPORT/EXPORT:Empty


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users