Hello,
On 12/12/2006 11:59 AM, Alessio Mineni wrote:
> Hi all,
>
> I have 3 DAT drives and I want to group this drives into one
> autochenger
> virtual device via multitape-changer script.
There was some discussion about multitape-changer recently. Use some of
the list archives to see if there is relevant information for you...
> 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
>>}
I don't think this is how multitape-changer works. I never actually used
it, but I think it simulates a one-drive autochanger with a number of
slots equal to the number of drives you have.
>>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
Sure, Bacula doesn't create device nodes for you.
> 2 - no automatic change has done by bacula
So the autochanger setup didn't work. What does btapes test command tell
you?
> 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.
So the multitape-changer setup is not correct. See that thread I
mentioned for more information.
Or hope to find someone who actually uses that... (or pay me :-)
seriously, I didn't get the impression that the suggested multichanger
script is easy to use).
Arno
>
> Are someone experienced with this script? What's the best configuration?
>
> Thanks in advance.
>
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users