Hi all,

        I have 3 DAT drives and I want to group this drives into one 
autochenger 
virtual device via multitape-changer script. This is my configuration:

_sd.conf_

> Autochanger {
>   Name = "multitape0"
>   Device = tape1, tape2, tape3
>   Changer Command = "/etc/bacula/scripts/multitape-changer %c %o %S %a %d"
>   Changer Device = /dev/sg0
> }
>
> Device {
>   Name = tape1
>   Drive Index = 0
>   Media Type = 4mm
>   Archive Device = /dev/nst1
>   AutomaticMount = yes
>   AlwaysOpen = no
>   RemovableMedia = yes
>   RandomAccess = no
>   AutoChanger = yes
>   LabelMedia = no
> }
>
> Device {
>   Name = tape2
>   Drive Index = 1
>   Media Type = 4mm
>   Archive Device = /dev/nst2
>   AutomaticMount = yes
>   AlwaysOpen = no
>   RemovableMedia = yes
>   RandomAccess = no
>   AutoChanger = yes
>   LabelMedia = no
> }
>
> Device {
>   Name = tape3
>   Drive Index = 2
>   Media Type = 4mm
>   Archive Device = /dev/nst3
>   AutomaticMount = yes
>   AlwaysOpen = no
>   RemovableMedia = yes
>   RandomAccess = no
>   AutoChanger = yes
>   LabelMedia = no
> }

_dir.conf_

> Storage {
>   Name = changer0
>   Address = 192.168.0.20
>   SDPort = 9103
>   Password = "P00io9"
>   Device = multitape0
>   AutoChanger = yes
>   Media Type = 4mm
>   Maximum Concurrent Jobs = 1
> }

but:
1 - no automatic startup link has done by bacula, I have to link /dev/nstx 
to /dev/changer0 manually
2 - no automatic change has done by bacula
3 - look at the update slots here ...

> chronos bacula # bconsole
> Connecting to Director chronos:9101
> 1000 OK: chronos-dir Version: 1.38.5 (18 January 2006)
> Enter a period to cancel a command.
> *update slots
> Using default Catalog name=MyCatalog DB=bacula
> The defined Storage resources are:
>      ...
>      2: drive0
>      3: changer0
>      ...
> Select Storage resource (1-10): 3
> Connecting to Storage daemon changer0 at 192.168.0.20:9103 ...
> Enter autochanger drive[0]: 0
> Connecting to Storage daemon changer0 at 192.168.0.20:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "multitape0" has 0 slots.
> No slots in changer to scan.
> You have messages.

Are someone experienced with this script? What's the best configuration?

Thanks in advance.

-- 
Alessio Mineni

WaveGroup
Via Benaco 34/b
25081 Bedizzole BS

-------------------------------------------------------------------------
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