Please can you help?
We have bacula-mysql 2.0.3-1 loaded from the rpm on Fedora Core 6
(2.6.20-1.2948.fc6) and we are having trouble with the Autoloader
We have also tried bacula-mysql-2.0.2-1.fc6.i386.rpm
The Autoloader is a HP MSL5030 with two Ultrium 2 drives
We have mtx-1.2.18-8.2.2 loaded and this seems to be OK.
Looking back through the mailing list I see some others are having the
same issue in this area, but I can not determine the fix.
I can re create this quite simply by issuing a label barcodes in
bconsole.
This is the output from bconsole:
Catalog record for Volume "STA697L2", Slot 1 successfully created.
Sending label command for Volume "STA696L2" Slot 2 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 1.
3307 Issuing autochanger "unload slot 1, drive 0" command.
3995 Bad autochanger "unload slot 1, drive 0": ERR=Child exited with
code 1
Results=Unloading Data Transfer Element into Storage Element 1...mtx:
Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 53
mtx: Request Sense: Additional Sense Qualifier = 02
mtx: Request Sense: BLabel command failed for Volume STA696L2.
Here is an extract from our bacula-sd.conf
Autochanger {
Name = "HPML5300"
Device = Drive0, Drive1
Changer Device = /dev/sg0
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
}
Device {
Name = Drive0
Drive Index = 0
Media Type = LTO2
Archive Device = /dev/nst0 # Normal archive device
AutoChanger = yes
LabelMedia = no;
AutomaticMount = yes;
AlwaysOpen = yes;
Maximum Changer Wait = 180;
RemovableMedia = yes;
}
Device {
Name = Drive1
Drive Index = 1
Media Type = LTO2
Archive Device = /dev/nst1 # Normal archive device
Autochanger = yes
LabelMedia = no;
AutomaticMount = yes;
AlwaysOpen = yes;
Maximum Changer Wait = 180;
RemovableMedia = yes;
}
Here is the extract from our bacula-dir.conf
Storage {
Name = HPML5300
Address = backup # N.B. Use a fully qualified name here
SDPort = 9103
Password = "bacula2007"
Device = HPML5300
Media Type = LTO2
Autochanger = yes
}
Many thanks in advance
_____________________________________________________________________
The information in this email is confidential and may be legally privileged. It
is intended solely for the addressee. Access to this email by anyone else is
unauthorised. If you are not the intended recipient, any disclosure, copying,
distribution, or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. You may use and apply this information only for
its intended purpose. When addressed to our clients any opinions or advice or
quotations contained in this email are subject to the Hytec Information
Security Limited standard terms and conditions. Neither Hytec Information
Security Limited nor the sender accepts responsibility for viruses. It is your
responsibility to scan the email and any attachments.
This message has been checked for all known viruses by MessageLabs.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users