I'm not sure that I have found a bug because all of the tapes did get
labeled correctly but the drive number that is printed changes as you can
see. While all of this labeling was happening, there was another backup
writing to Drive 0.

Has anyone else seen this behavior in a multi-drive auto changer?

Terminal output:
[root@ripper ~]# bconsole
Connecting to Director ripper:9101
1000 OK: ripper.some.domain-dir Version: 16.2.4 (01 July 2016)
Enter a period to cancel a command.
*label barcodes slot=29-38 Storage=Tape Pool=Scratch
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Select Drive:
     1: Drive 0
     2: Drive 1
Select drive (1-2): 2
Connecting to Storage daemon Tape at ripper.some.domain:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot  Volume
==============
  29  000150
  30  000151
  31  000152
  32  000153
  33  000154
  34  000155
  35  000156
  36  000157
  37  000158
  38  000159
Do you want to label these Volumes? (yes|no): yes
Connecting to Storage daemon Tape at ripper.some.domain:9103 ...
Sending label command for Volume "000150" Slot 29 ...
3304 Issuing autochanger "load slot 29, drive 0" command.
3305 Autochanger "load slot 29, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000150" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000150", Slot 29 successfully created.
Sending label command for Volume "000151" Slot 30 ...
3307 Issuing autochanger "unload slot 29, drive 1" command.
3304 Issuing autochanger "load slot 30, drive 0" command.
3305 Autochanger "load slot 30, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000151" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000151", Slot 30 successfully created.
Sending label command for Volume "000152" Slot 31 ...
3307 Issuing autochanger "unload slot 30, drive 1" command.
3304 Issuing autochanger "load slot 31, drive 0" command.
3305 Autochanger "load slot 31, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000152" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000152", Slot 31 successfully created.
Sending label command for Volume "000153" Slot 32 ...
3307 Issuing autochanger "unload slot 31, drive 1" command.
3304 Issuing autochanger "load slot 32, drive 0" command.
3305 Autochanger "load slot 32, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000153" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000153", Slot 32 successfully created.
Sending label command for Volume "000154" Slot 33 ...
3307 Issuing autochanger "unload slot 32, drive 1" command.
3304 Issuing autochanger "load slot 33, drive 0" command.
3305 Autochanger "load slot 33, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000154" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000154", Slot 33 successfully created.
Sending label command for Volume "000155" Slot 34 ...
3307 Issuing autochanger "unload slot 33, drive 1" command.
3304 Issuing autochanger "load slot 34, drive 0" command.
3305 Autochanger "load slot 34, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000155" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000155", Slot 34 successfully created.
Sending label command for Volume "000156" Slot 35 ...
3307 Issuing autochanger "unload slot 34, drive 1" command.
3304 Issuing autochanger "load slot 35, drive 0" command.
3305 Autochanger "load slot 35, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000156" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000156", Slot 35 successfully created.
Sending label command for Volume "000157" Slot 36 ...
3307 Issuing autochanger "unload slot 35, drive 1" command.
3304 Issuing autochanger "load slot 36, drive 0" command.
3305 Autochanger "load slot 36, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000157" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000157", Slot 36 successfully created.
Sending label command for Volume "000158" Slot 37 ...
3307 Issuing autochanger "unload slot 36, drive 1" command.
3304 Issuing autochanger "load slot 37, drive 0" command.
3305 Autochanger "load slot 37, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000158" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000158", Slot 37 successfully created.
Sending label command for Volume "000159" Slot 38 ...
3307 Issuing autochanger "unload slot 37, drive 1" command.
3304 Issuing autochanger "load slot 38, drive 0" command.
3305 Autochanger "load slot 38, drive 0", status is OK.
3000 OK label. VolBytes=216 Volume="000159" Device="Tan2" (/dev/nst1)
Catalog record for Volume "000159", Slot 38 successfully created.
*

-- 
This email and its contents are confidential. If you are not the intended 
recipient, please do not disclose or use the information within this email 
or its attachments. If you have received this email in error, please report 
the error to the sender by return email and delete this communication from 
your records.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to