-----Original Message-----
From: Mitch Anderson [mailto:
mitch AT metauser DOT net]
Sent: Sat 9/26/2009 1:38 PM
To:
bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] One Library LTO3 and LTO4 drives
Hi,
I've been looking around for a while... and I haven't found anything to
answer a question..
I'm running bacula-3.0.1 x86_64.
I have an HP MSL8096, which has two LTO3 drives in in and we just got a new
LTO4 drive.
I'm getting an error when trying to use the new LTO4 drive with the LTO4
tapes... (trying to run label barcodes)
Sending label command for Volume "GFZ452L4" Slot 46 ...
3301 Issuing autochanger "loaded? drive 2" command.
3302 Autochanger "loaded? drive 2", result: nothing loaded.
3304 Issuing autochanger "load slot 46, drive 2" command.
3992 Bad autochanger "load slot 46, drive 2": ERR=Child died from signal 15:
Termination.
Results=Program killed by Bacula (timeout)
Currently my bacula-sd.conf looks like:
Autochanger {
Name = Autochanger
Device = lto3-1
Device = lto3-2
Device = lto4-3
Changer Command = "/usr/lib64/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg1
}
Device {
Name = lto3-1 #
Drive Index = 0
Media Type = LTO3
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
}
Device {
Name = lto3-2 #
Drive Index = 1
Media Type = LTO3
Archive Device = /dev/nst1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
}
Device {
Name = lto4-3
Drive Index = 2
Media Type = LTO4
Archive Device = /dev/nst2
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
}
And my Storage definitions from the bacula-dir.conf:
# Definition of file storage device
Storage {
Name = MSL-LTO3
Address = <host>
SDPort = 9103
Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj"
Device = "Autochanger"
Media Type = LTO3
Autochanger = yes
Maximum Concurrent Jobs = 20
}
Storage {
Name = MSL-LTO4
Address = <host>
SDPort = 9103
Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj"
Device = "Autochanger"
Media Type = LTO4
Autochanger = yes
Maximum Concurrent Jobs = 20
}
Is this the proper way to handle two different tape types? or is my error
caused by my config or just an issue with the drive?
Thanks for any information,
Mitch Anderson