Hello, 

I'm now working on getting "update slots" working with multiple drive 
autochangers.  It currently works OK with a single drive changer by unloading 
any loaded drive, then doing an mtx status.  Now with a 30 drive autochanger, 
it will be a bit of chaos to unload 30 drives just to update Bacula's slot 
information, so I need to modify how it is done.  

The appropriate information is already returned by mtx even for drives that 
are loaded, so it is just a bit of painful script writing.  However, I do not 
have at hand any typical output for multiple drive autochangers with 
barcodes. 

So, could any of you who have single or multiple drive autochangers with 
barcodes do the following:

- Ensure that you have at least one of your drives loaded with a volume
  having barcodes (preferably two or more drives).
- Run the following command:

     mtx -f /dev/sgN status

  where you replace /dev/sgN with the control device name for your autochanger
- Send me the output from the above command, and I will make sure that
  the new mtx-changer script is able to process it correctly without unloading
  your drives :-)

Thanks.  

-- 
Best regards,

Kern

  (">
  /\
  V_V

PS: For reference my output looks like the following (but of course, I don't 
have the barcode info that I need):

[EMAIL PROTECTED] bin]# mtx -f /dev/sg3 status
  Storage Changer /dev/sg3:2 Drives, 17 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
Data Transfer Element 1:Full (Storage Element 2 Loaded)
      Storage Element 1:Empty
      Storage Element 2:Empty
      Storage Element 3:Full
      Storage Element 4:Full
      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
      Storage Element 17:Empty


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to