christian zimmermann wrote:
> Am Freitag, den 24.11.2006, 09:56 +0000 schrieb James Ray:
>> Troy Daniels wrote:
>> It seems to be a 2U, 1 Drive, 12 Slot loader
>>
>> So your bacula-dir.conf should contain something like:
>> Storage {
>> Name = Overland
>> Address = <whatever>
>> SDPort = 9103
>> Password = <you must be kidding me>
>> Device = Overland
>> Media Type = <Something else important here>
>> Autochanger = yes
>> Maximum Concurrent Jobs = 8
>> }
>>
>> Then your -sd.conf should have something like:
>> Autochanger {
>> Name = Overland
>> Device = Overland.0
>> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
>> Changer Device = <The changer device here, /dev/sg1 maybe?>
>> }
>>
>> Device {
>> Name = Overland.0
>> Drive Index = 0
>> Media Type = <Something else important here>
>> Archive Device = <where ever your tape dev is, /dev/nst0 maybe>;
>> AutomaticMount = yes;
>> AlwaysOpen = yes;
>> RemovableMedia = yes;
>> RandomAccess = no;
>> Autochanger = yes;
>> Maximum Network Buffer Size = 65536
>> }
>>
>> The mtx-changer script may need changing of course, but this -should- work.
>>
>>
>>> Cheers,
>>>
>>>
>>> Troy Daniels
>>> Systems Administrator
>>> iTouch Australia (pty) ltd.
>>>
>
>
> Hello Troy,
>
> thanks for your reply and you´re right I messed up drives with slots.
> I´ve corrected my bacula config, but it´s still the same.
> I can´t mount a tape with bconsole.
> When no tape is in the first slot
> an I issue the command mount, following will hapen.
>
> *mount
> Using default Catalog name=MyCatalog DB=bacula
> The defined Storage resources are:
> 1: File
> 2: Overland
> Select Storage resource (1-2): 2
> Connecting to Storage daemon Overland at 10.2.0.43:9103 ...
> 3905 Device "Overland-LTO2" (/dev/st0) open but no Bacula volume is
> mounted.
> If this is not a blank tape, try unmounting and remounting the Volume.
>
>
> I mountet a tape with the mtx command returned to the bconsole and tried
> to umount and then to mount a tape.
>
> *umoun
> The defined Storage resources are:
> 1: File
> 2: Overland
> Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result is Slot 1.
> 3307 Issuing autochanger "unload slot 1, drive 0" command.
> 3002 Device "Overland-LTO2" (/dev/st0) unmounted.
> *
> *
> *
> *
> *mount
> The defined Storage resources are:
> 1: File
> 2: Overland
> Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3902 Cannot mount Volume on Storage Device "Overland-LTO2" (/dev/st0)
> because:
> Couldn't rewind device "Overland-LTO2" (/dev/st0): ERR=dev.c:678 Rewind
> error on "Overland.0" (/dev/st0). ERR=No medium found.
>
> Any hints?
Can you show the list volumes output?
I'm guessing you haven't run update slots or something to pick up any
tapes are actually in the autoloader.
--
James Ray. <[EMAIL PROTECTED]>
Computing Services
Queen Mary, University of London
-------------------------------------------------------------------------
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