Hi,

13.12.2007 02:52,, Daniel Bareiro wrote::
> Hi all!
> 
> This is my first mail to the list. I'm newbie with Bacula.

I noticed that, when looking at the configuration ;-)

> I'm using
> Bacula version (1.38.11-8) from Debian Etch for Sparc respositories.

I recommend upgrading to 2.2.6, even if that means installing from 
source. 1.38 is really outdated by now.

> The operating system detects the tape library and I can operate it with
> mt and mtx:

Good start.

...
> sparky:~# mtx -f /dev/sg2 status
>   Storage Changer /dev/sg2:1 Drives, 8 Slots ( 0 Import/Export )

Keep this in mind... you've got one drive and 8 slots.

...

> But checking the status storage from the Baculas's console delays long
> time without returns some results.
> 
...
> sparky:/etc/bacula# bconsole
> Connecting to Director sparky.educ.gov.ar:9101
> 1000 OK: maquinadirectora-dir Version: 1.38.11 (28 June 2006)
> Enter a period to cancel a command.
> *status
> Using default Catalog name=MyCatalog DB=bacula
> Status available for:
>      1: Director
>      2: Storage
>      3: Client
>      4: All
> Select daemon type for status (1-4): 2
> The defined Storage resources are:
>       1: respaldadora-sd
>       2: File
> Select Storage resource (1-2): 1
> Connecting to Storage daemon respaldadora-sd at sparky.educ.gov.ar:9103
> [ ... delays long time without returns some results ... ]

Really no output, it just returns to the '*' prompt?

...
> In the bacula-sd.conf:
> 
> Autochanger {
>   Name = Autochanger
>   Device = Drive-1
>   Device = Drive-2
>   Device = Drive-3
>   Device = Drive-4
>   Device = Drive-5
>   Device = Drive-6
>   Device = Drive-7
>   Device = Drive-8

There should be only one device entry here.

>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg2
> }
> 
> Device {
>   Name = Drive-1                  #
>   Drive Index = 0
>   Media Type = DLT-7000
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }

Drive 2 to 8 are not correct.

> Any idea to resolve this issue?

Remove the unneeded device lines from the SD configuration. Then make 
sure the 'status storage' command returns with some information at 
all. Even if the DIR can't connect or authenticate to the DIR, there 
should be a message.

Arno

> Thanks in advance.
> 
> Regards,
> Daniel

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to