Hello,

13.09.2007 20:59,, Mike Mestnik wrote::
> Am i crazy or should "mount jobid=16" cause that job to
> unmount the just mounted volume and complain that I need to label.

Which version of Bacula?

Can you produce some console output showing the state of the DIR and 
SD before, while and after you do the mount?

> Any method of mounting causes the jobid to sqwak about not
> having a volume, and the device is unmounted.

So there's no volume available.

> When I use the File backend how do I select what volume to mount?

You don't, usually :-)

> The  best I can do is cancel the job, delete the volume.  ruining the
> job then asks for a label, the the label auto-mounts and the job says
> to use the label cmd(again!) and unmount reports the volume is
> unmounted already.
> Unfortunalty that's the loop I'm in.
> 
> I'm using these instructions:
> http://www.bacula.org/dev-manual/Brief_Tutorial.html
> but I'm altering the config for my setup.

So what does your setup look like now?

> autolabel would be nice, if it weren't for this problem.  I turned
> autolabel and every thing else off to get things working again.
> 
> I was hoping to find some one who has seen this.
> 
> The SD is running on Linux and the FD and DIR is on FreeBSD... are
> there any version mismatches I should look out for?

The only "officially" supported combination is DIR, SD and FD of the 
same version. That said, most often you can use older FDs (unless you 
rely on new features), but the DIR and SD versions should match.

> Eventually only the DIR will be on FreeBSD.
> 
> I'm also looking to do multiple directors, one for each class of
> customer, and they may need to share SDs I could not get multiple
> Directors to work in the same SD.
> 
> I'll attach some config.  I don't have access to the SD at this time,
> I'm using 'ssh -i "key"' inside inetd to run 'nc' on the sd server.
> If there is an interest I am posting this config here.

I really don't understand what you say here...

> bacula-sd   stream     tcp   nowait    root   /usr/bin/ssh -q -T -o
> BatchMode=yes -i /etc/ssh/vault7-sd_dsa_key [EMAIL PROTECTED]
> 
> # note for BatchMode to work the server's key needs to be added to the
> # "system's" known_hosts file, you can also use DNS(but don't quote
> # me.)  ""you will need BatchMode"" so you need to copy the key.
> 
> vault7:~visi/.ssh/authorized_keys
> from=mgmt8,command="nc localhost bacula-sd",<othersecureoptions> <the
> dsa key>

If I read this correctly, this won't work. The SD needs to run all the 
time. The inetd-setup will probably invoke a new SD for each connection.

Arno

> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to