> Something silly I am doing wrong or a bug ? Any pointers would be
> really appreciated :-)
>
I would start at a lower level than that.

Are you 100% sure /dev/sg6 is your autochanger?

tapeinfo -f /dev/sg6

will tell you.

Here is what I get for my changer:

 # tapeinfo -f /dev/autochanger1
Product Type: Medium Changer
Vendor ID: 'EXABYTE '
Product ID: 'MAGNUM 224      '
Revision: 'C112'
Attached Changer: No
SerialNumber: '000089000435'
SCSI ID: 3
SCSI LUN: 1
Ready: yes

It is /dev/autochanger1 for me because I wrote a udev rule to create a
symlink to what ever device it finds that is the changer.

Now after you have that working. test mtx

 # 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:Empty
      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:Full :VolumeTag=A00048
      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=

John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to