Re: [Bacula-users] doesn't register loaded tape
2008-05-29 13:58:00
John Drescher wrote:
> > all that was needed was to issue a mount on the drive. And yes I do
> > mean drive I have both drives and the autochanger defined in my
> > bacula-dir.conf so all 3 show up as storage devices.
Does your definition of the drive in bacula-dir.conf refer to the same
device in
bacula-sd.conf that the autochanger uses or do you have to make another
Device{}
definition in bacula-sd.conf without the "Autochanger=yes" line in it?
Mark
Not sure exactly what you mean, but here is what I have in my
bacula-sd.conf:
Autochanger {
Name = Exabyte
Device = Drive-1
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/sg0
Changer Device = /dev/sg1
}
Device {
Name = Drive-1
Drive Index = 0
Media Type = VXA-2
Archive Device = /dev/st0
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = yes;
AlwaysOpen = yes;
Autochanger = yes;
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
And this is what I have in my bacula-dir.conf:
# Definition of file storage device
Storage {
Name = Exabyte
Address = billie
SDPort = 9103
Password = "IK5QXSO79ScoI+7qaEtMuJphyuOTg5/VZ8O+FV+M3acF"
Device = Exabyte
Media Type = VXA-2
}
So I think the answer to your questions is yes, unless the Autochanger
definition counts as another Device definition.
~maria
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|