Re: [Bacula-users] Fwd: Autochanger Problems
2012-08-07 16:05:37
On Tue, Aug 7, 2012 at 3:58 PM, Leandro César
<leandro.cesar.dias AT gmail DOT com> wrote:
> Had already restarting the bacula-sd daemon. Restarting again, but the error
> remains.
>
I can not see what is wrong with your config files. However here is
what I am using:
bacula-dir.conf
Storage {
Name = "DEV6-Changer"
Address = dev6.radimg.pitt.edu
SDPort = 9103
Password = "XXXXXXXXXX" # Console password
Device = "Magnum224-0"
Media Type = "LTO-2"
Maximum Concurrent Jobs = 5
}
dev6
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 = 5G
# 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'"
# Maximum blocksize = 512K
}
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 = 5G
# 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'"
# Maximum blocksize = 512K
}
John
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|