> Hi, I did some tests with a configuration file which has an Autochanger with
> only two tapes and it works, so how can I extend the file to use the eight
> (8) tapes of my autoloader ? I found only two devices in the /dev/ witch I
> identified as tape drives :
>
> the /dev/st0 and /dev/nst0 ! and the autoloader is /dev/sg2
>
<snip>
> also here is the storage daemon configuration file part witch talks about my
> autochanger :
>
> Autochanger {
>   Name = Autochanger
>   Device = Drive-1
>   Device = Drive-2
> #  Changer Command = "/home/kern/bacula/bin/mtx-changer %c
> %o %S %a %d"
>   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>
>   Changer Device = /dev/sg2
> }
>
> Device {
>   Name = Drive-1                      #
>   Drive Index = 0
>   Media Type = DLT-8000
>   Archive Device = /dev/st0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = 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-2                      #
>   Drive Index = 1
>   Media Type = DLT-8000
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = 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'"
> }
>
>
> how can I enlarge this definition to include the use of the eight tapes ?
>

Does your changer actually have 2 drives? I know that st0 and nst0
refer to the same drive so using them as two is definitely not
correct.

John

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to