Hello all-
        I am new on the list, and I'm in the process of replacing a single
DDS4/Arkeia system with a new VXA2 1x10 autoloader. The dedicated backup
box is running Debian-3.1 with Bacula 1.36 and sqllite. 
        The autoloader passes all the tests described in the manual with flying
colors, but when go to label the tapes with the #label barcode command,
it throws an error. The result is the same regardless if the drive is
loaded with a tape or not. I'm at a bit of a loss as to why it's calling
"loaded drive 0"... does that check the drive status?

Thanks,
Z

output from console:

label barcode
Automatically selected Storage: Exabyte
Connecting to Storage daemon Exabyte at backup.smartbrief.com:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with
code 1.
3306 Issuing autochanger "list" command.
No Volumes found to label, or no barcodes.

---------------------------------------------------------------------------------------------------------------------

backup:~# mtx -f /dev/sg1 status
  Storage Changer /dev/sg1:1 Drives, 10 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag =
A0000001                           
      Storage Element 1:Empty:VolumeTag=                                
      Storage Element 2:Full :VolumeTag=A0000002                        
      Storage Element 3:Full :VolumeTag=A0000003                        
      Storage Element 4:Full :VolumeTag=A0000004                        
      Storage Element 5:Full :VolumeTag=A0000005                        
      Storage Element 6:Full :VolumeTag=A0000006                        
      Storage Element 7:Full :VolumeTag=A0000007                        
      Storage Element 8:Full :VolumeTag=A0000008                        
      Storage Element 9:Full :VolumeTag=A0000009                        
      Storage Element
10:Full :VolumeTag=CLNA0001                        
backup:~# 

---------------------------------------------------------------------------------------------------------------------

backup:/etc/bacula# scripts/mtx-changer /dev/sg1 list 0 /dev/st0 0
2:A0000002
3:A0000003
4:A0000004
5:A0000005
6:A0000006
7:A0000007
8:A0000008
9:A0000009
10:CLNA0001
backup:/etc/bacula# 

---------------------------------------------------------------------------------------------------------------------

from /etc/bacula/bacula-sd.conf:

Device {
       Name = VXA
       Media Type = 8mm
       Archive Device = /dev/st0
       Autochanger = Yes
       Changer Device = /dev/sg1
       Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %
d"
       Maximum Changer Wait = 240 # seconds
       Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAlert|cat'"
#       Drive Index = 0
       Always Open = Yes
       AutomaticMount = Yes
       Removable media = Yes
       Random access = No
       Hardware End of Medium = Yes
       Fast Forward Space File = Yes
       Maximum Network Buffer Size = 65536
}       

---------------------------------------------------------------------------------------------------------------------

from /etc/bacula/bacula-dir.conf:

Storage {
  Name = "Exabyte"
#  Do not use "localhost" here
  Address = backup.smartbrief.com     # N.B. Use a fully qualified name
here
  SDPort = 9103
  Password = "xxx"
  Device = "VXA"
  MediaType = "8mm"
  Autochanger = "yes"
  Maximum Concurrent Jobs = 1
}








-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to