On Thu, Dec 13, 2007 at 06:18:54AM -0800, Gary Danko wrote:
> I think I am doing something wrong in configuring my autochanger. Would
> someone who successfully uses a changer with more than one tape engine
> please post their configs so I can examine them? The field the I am not sure
> about is the "Changer Device" in the Device section.
>
> >From the documentation I read: " The specified *name-string* must be
> the *generic
> SCSI* device name of the autochanger that corresponds to the normal
> read/write *Archive Device* specified in the Device resource. This generic
> SCSI device name should be specified if you have an autochanger or if you
> have a standard tape drive and want to use the *Alert Command* (see below)."
>
> Does this mean that in the Device section, my "Changer Device" needs to be
> the generic SCSI device name of the changer itself or of the individual tape
> drive?
>
> My setup looks like this:
>
> tape drive 0 = /dev/nst0 = /dev/sg2
> tape drive 1 = /dev/nst1 = /dev/sg3
> tape drive 2 = /dev/nst2 = /dev/sg5
> tape drive 3 = /dev/nst3 = /dev/sg6
> changer = /dev/sg4
>
> The configuration for the changer and two of its drives is below. I am not
> sure if I should change the Changer Device to /dev/sg4 for each of the
> Device entries. Any ideas?
>
i don't have multiple drives but i think it should be like this:
> Autochanger {
> Name = Dell
> Device = ML6020-D0
> Device = ML6020-D1
> Device = ML6020-D2
> Device = ML6020-D3
> Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg4
> }
>
Device {
Name = ML6020-D0
Archive Device = /dev/nst0
Device Type = Tape
Media Type = LTO4
Autochanger = Yes
Changer Device = /dev/sg4
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Drive Index = 0
Autoselect = Yes
AlwaysOpen = Yes;
RemovableMedia = Yes;
RandomAccess = No;
RequiresMount = No;
}
Device {
Name = ML6020-D1
Archive Device = /dev/nst1
Device Type = Tape
Media Type = LTO4
Autochanger = Yes
Changer Device = /dev/sg4
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Drive Index = 1
Autoselect = Yes
AlwaysOpen = Yes;
RemovableMedia = Yes;
RandomAccess = No;
RequiresMount = No;
}
Device {
Name = ML6020-D2
Archive Device = /dev/nst2
Device Type = Tape
Media Type = LTO4
Autochanger = Yes
Changer Device = /dev/sg4
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Drive Index = 2
Autoselect = Yes
AlwaysOpen = Yes;
RemovableMedia = Yes;
RandomAccess = No;
RequiresMount = No;
}
etc ....
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> 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
-------------------------------------------------------------------------
SF.Net email is sponsored by:
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