On Wed, 6 Jul 2005, Kern Sibbald wrote:

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.

I did raise this point a while back... :-)

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.

This is a 2 drive barcoded HP MSL6060, aka Overland Neo4000

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

# mtx status
  Storage Changer /dev/changer:2 Drives, 60 Slots ( 2 Import/Export )
Data Transfer Element 0:Full (Storage Element 8 Loaded):VolumeTag = ALOW0008

Data Transfer Element 1:Full (Storage Element 33 Loaded):VolumeTag = AINC0013

      Storage Element 1:Full :VolumeTag=ALOW0006
      Storage Element 2:Full :VolumeTag=ALOW0010
      Storage Element 3:Full :VolumeTag=ALOW0023
      Storage Element 4:Full :VolumeTag=ALOW0026
      Storage Element 5:Full :VolumeTag=ALOW0029
      Storage Element 6:Full :VolumeTag=ALOW0028
      Storage Element 7:Full :VolumeTag=ALOW0027
      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:Full :VolumeTag=AMED0014
      Storage Element 18:Full :VolumeTag=AMED0016
      Storage Element 19:Empty
      Storage Element 20:Empty
      Storage Element 21:Empty
      Storage Element 22:Empty
      Storage Element 23:Empty
      Storage Element 24:Full :VolumeTag=AMED0028
      Storage Element 25:Empty
      Storage Element 26:Empty
      Storage Element 27:Empty
      Storage Element 28:Empty
      Storage Element 29:Empty
      Storage Element 30:Full :VolumeTag=AINC0003
      Storage Element 31:Full :VolumeTag=AINC0011
      Storage Element 32:Full :VolumeTag=AINC0012
      Storage Element 33:Empty
      Storage Element 34:Full :VolumeTag=AINC0014
      Storage Element 35:Full :VolumeTag=AINC0015
      Storage Element 36:Empty
      Storage Element 37:Empty
      Storage Element 38:Empty
      Storage Element 39:Empty
      Storage Element 40:Empty
      Storage Element 41:Empty
      Storage Element 42:Empty
      Storage Element 43:Empty
      Storage Element 44:Full :VolumeTag=AHIG0002
      Storage Element 45:Full :VolumeTag=AHIG0003
      Storage Element 46:Full :VolumeTag=AHIG0006
      Storage Element 47:Empty
      Storage Element 48:Empty
      Storage Element 49:Empty
      Storage Element 50:Empty
      Storage Element 51:Empty
      Storage Element 52:Empty
      Storage Element 53:Empty
      Storage Element 54:Empty
      Storage Element 55:Empty
      Storage Element 56:Empty
      Storage Element 57:Empty
      Storage Element 58:Empty
      Storage Element 59 IMPORT/EXPORT:Empty
      Storage Element 60 IMPORT/EXPORT:Empty



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to