Hi-
I'm in the process of upgrading from 1.38.10 to 1.38.11 , and I
have noticed something wierd with the autochanger resource.
If I define the autochanger with only one drive device, i.e.:
Autochanger {
Name = Autochanger
Device = drive1
Changer Device = /dev/changer
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
}
I get a 3999 error when I try to do: label barcodes, like so:
*label barcodes
Automatically selected Storage: tapelib2
Connecting to Storage daemon tapelib2 at xxx.yyy.com:9103 ...
3306 Issuing autochanger "slots" command.
Device "Autochanger" has 30 slots.
Connecting to Storage daemon tapelib2 at xxx.yyy.com:9103 ...
3301 Issuing autochanger "loaded drive 1" command.
3302 Autochanger "loaded drive 1", result: nothing loaded.
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot Volume
==============
1 JT512345
2 JT512346
Do you want to continue? (yes|no): yes
Automatically selected Pool: def-pool
Connecting to Storage daemon tapelib2 at xxx.yyy.com:9103 ...
Sending label command for Volume "JT512345" Slot 1 ...
3999 Device "Autochanger" not found or could not be opened.
Label command failed for Volume JT512345.
Sending label command for Volume "JT512345" Slot 2 ...
3999 Device "Autochanger" not found or could not be opened.
Label command failed for Volume JT512345.
...
However, when I define a second drive under the autochanger, like so:
Device = drive1, drive2
Then it works, even if I never use that drive.
Erik
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users