Good Afternoon,
I am having a problem with Bacula utilizing all the drives in my Quantum Scalar 50 Tape Library. I added a print to /var/log/messages to see what was being passed to the mtx-changer script and it only has references to the 1st drive, never seems to look or ask about either of the other two drives.
Far as I can tell I have set it up with the correct values in the correct places. I am running Bacula 3.0. On a FreeBSD 7.0 platform. After running with it just using the 1st drive I tried labeling 2 new tapes in the library and when asked what drive to use I listed the 2nd drive which it used without issue or error, so Bacula is able to see and use the the other drives. Why will it not automatically use the other drives. Do I need to specify which drive to use, or can Bacula decide to use a free drive on its own. Which is how I expected it to work.
Any an all assistance is greatly appreciated.
Bacula-Dir.conf(Excerpt):
JobDefs {
Name = "Bourne"
Type = Backup
Level = Incremental
Client = bourne-fd
FileSet = "Full Set - Bourne"
Schedule = "BH_WeeklyDailyCycle"
Full Backup Pool = Full
Incremental Backup Pool = Incr
Differential Backup Pool = Diff
Storage = LTO4
Messages = Standard
Pool = Default
Priority = 6
Max Start Delay = 168h
Max Run Time = 240h
}
Storage {
Name = LTO4
# Do not use "localhost" here
Address = untouchables # N.B. Use a fully qualified name here
SDPort = 9103
Password = "VeriVue00Bacula00"
#Device = Drive-1
#Device = Drive-2
#Device = Drive-3
Device = "Autochanger"
Media Type = LTO4
Autochanger = yes
}
Bacula-sd.conf(Excerpt):
#
# An autochanger device with two drives
#
Autochanger {
Name = Autochanger
Device = Drive-1
Device = Drive-2
Device = Drive-3
# Changer Device = /dev/sg0
Changer Device = /dev/pass1
Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
}
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = LTO4
Archive Device = /dev/nsa0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
Autoselect = yes
# #
# # Enable the Alert command only if you have the mtx package loaded
# # Note, apparently on some systems, tapeinfo resets the SCSI controller
# # thus if you turn this on, make sure it does not reset your SCSI
# # controller. I have never had any problems, and smartctl does
# # not seem to cause such problems.
# #
# Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
Device {
Name = Drive-2 #
Drive Index = 1
Media Type = LTO4
Archive Device = /dev/nsa1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
Autoselect = yes
# # Enable the Alert command only if you have the mtx package loaded
# Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
Device {
Name = Drive-3 #
Drive Index = 2
Media Type = LTO4
Archive Device = /dev/nsa2
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
Autoselect = yes
# # Enable the Alert command only if you have the mtx package loaded
# Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
--
Warm Regards,
Brian R. Claveau
-==-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==-
Brian R. Claveau
Email: brc AT beehivesecurity DOT com
Beehive Security Management, LLC.
-==-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==-
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|