> i already have "Prefer Mounted Volumes = no" set in bacula-dir.conf
>
One other thing you can do is to use the individual drives in the job
and not the archive device.
Here is what I have for my 2 drive changer:
my bacula-sd.conf
Autochanger {
Name = Magnum224-0
Device = LTO2-0, LTO2-1
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/sg5
# 02/12/2007 added udev rule to link /dev/autochanger1 to the changer
Changer Device = /dev/autochanger1
}
Device {
Name = LTO2-0
Media Type = LTO-2
Drive Index = 0
Archive Device = /dev/nst0
Autochanger=yes
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Spool Directory = /mnt/tmp/bacula/tape
Maximum Job Spool Size = 2G
# Maximum Block Size = 262144
# Minimum Block Size = 262144
# Volume Poll Interval = 5 minutes
# Close on Poll = Yes
# Offline On Unmount = no
LabelMedia = Yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
Device {
Name = LTO2-1
Media Type = LTO-2
Drive Index = 1
Archive Device = /dev/nst1
Autochanger=yes
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Spool Directory = /mnt/tmp/bacula/tape
Maximum Job Spool Size = 2G
# Maximum Block Size = 262144
# Minimum Block Size = 262144
# Volume Poll Interval = 5 minutes
# Close on Poll = Yes
# Offline On Unmount = no
LabelMedia = Yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
And my bacula-dir.conf:
Name = "DEV6-LTO-0"
Address = dev6.radimg.pitt.edu
SDPort = 9103
Password = "XXXXXXX" # Console p$
Device = "LTO2-0"
Media Type = "LTO-2"
Maximum Concurrent Jobs = 5
}
Storage {
Name = "DEV6-LTO2-1"
Address = dev6.radimg.pitt.edu
SDPort = 9103
Password = "XXXXXXXX" # Console p$
Device = "LTO2-1"
Media Type = "LTO-2"
Maximum Concurrent Jobs = 5
}
Storage {
Name = "DEV6-Changer"
Address = dev6.radimg.pitt.edu
SDPort = 9103
Password = "XXXXXX" # Console p$
Device = "Magnum224-0"
Media Type = "LTO-2"
Maximum Concurrent Jobs = 5
}
So then I can hav my jobs go to DEV6-Changer or the individual drives.
John
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users