Am Freitag, 20. Mai 2005 15:25 schrieb McGraw, Robert P.:
> When I tried to run "label barcodes"
>
> Connecting to Director banach.math.purdue.edu:9101
> 1000 OK: banach-dir Version: 1.36.3 (22 April 2005)
> Enter a period to cancel a command.
> *label barcode
> Using default Catalog name=MyCatalog DB=bacula
> Automatically selected Storage: SDLT1
> Connecting to Storage daemon SDLT1 at banach.math.purdue.edu:9103 ...
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3306 Issuing autochanger "list" command.
> Illegal character "=" in a volume name.
> Invalid Volume name: 1:Full:VolumeTag=000065
> Illegal character "=" in a volume name.
> Invalid Volume name: 2:Full:VolumeTag=000066
> Illegal character "=" in a volume name.
> Invalid Volume name: 3:Full:VolumeTag=000067
> Illegal character "=" in a volume name.
> Invalid Volume name: 4:Full:VolumeTag=000068
> Illegal character "=" in a volume name.
> Invalid Volume name: 5:Full:VolumeTag=000069
> Illegal character "=" in a volume name.
> Invalid Volume name: 6:Full:VolumeTag=000070
> Illegal character "=" in a volume name.
> Invalid Volume name: 15:Full:VolumeTag=000015
> No Volumes found to label, or no barcodes.
>
> The documentation sounds like it is suppose to find the tape, load into
> the tape drive using the mtx-changer, and label the tape with the
> barcode.

It seems to me that the mtx-changer command doesn't work properly
with your mtx command.

To test it without the bconsole you need to login to the machine where the 
storage daemon resides and run the mtx-changer command by hand:

/etc/bacula/mtx-changer /dev/scsi/your-scsi-generic-device list

That should give you a numbered list with all Barcodes residing in the 
changer. If this doesn't work, you have to tweak the mtx-changer script.
There is a single line that uses awk and sed to extract the info from mtx.
It processes the output from this command:

mtx -f /dev/scsi/your-scsi-generic-device status

If you don't know how to adapt your mtx-changer to your mtx output send the
mtx output to the list and maybe someone can help you fix this problem.

CU Sven


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to