Bacula-users

Re: [Bacula-users] When does bacula use multiple tape drives

2014-03-31 12:09:40
Subject: Re: [Bacula-users] When does bacula use multiple tape drives
From: Randall Svancara <rsvancara AT gmail DOT com>
To: Wolfgang Denk <wd AT denx DOT de>
Date: Mon, 31 Mar 2014 09:04:31 -0700
Hi,  

Looks like I can use both drives when I add 

  Changer Device = /dev/changer-sg2 

to the bacuala-sd.conf file

and additionally I had to add to the Storage directive

  Device = Qualstar


# Definition of LTO tape storage device
Storage {
  Name =  "Qualstar"
  #Do not use "localhost" here
  Address = localhost                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "haaaaahahahahahahahaahah"          # password for Storage daemon
  #Device = Drive-1                   # must be same as Device in Storage daemon
  #Device = Drive-2
  Device = Qualstar
  Media Type = LTO6                  # must be same as MediaType in Storage daemon
  Autochanger = yes                   # enable for autochanger device
  Maximum Concurrent Jobs = 2
}


In the bacula-dir.conf.  Apparently you have to reference the changer, not the actual tape devices like this example below.

  Device = Drive-1                   # must be same as Device in Storage daemon
  Device = Drive-2


In terms of running multiple jobs, and writing to the same tape...this sounds like a pretty cool idea that Bacula can interleave the jobs.  How long has it been able to do this.  When I first used this software many years ago, it did not seem like this was available or maybe it was not advocated for reasons mentioned before.  





On Mon, Mar 31, 2014 at 8:58 AM, Wolfgang Denk <wd AT denx DOT de> wrote:
Dear John,

In message <CAEhu1-6BLDpXhGvzWaU+hqB2QH_TkDfL-ybOVP52CoPGZ6CVGA AT mail.gmail DOT com> you wrote:
>
> > bacula seems to only use one drive.  What determines in bacula when it is
> > optimal to use two drives?  I am using bacula Version: 5.2.13.  Additionally
> > I have set "Maximum Concurrent Jobs = 4" in all the relevant places, but all
> > this seems to do is allow multiple concurrent jobs run, which I have tested
> > and seems to work, but strangely, I was under the impression that one job
> > could write to one tape exclusively.  But in this case, it seems multiple
> > jobs can write to the same tape concurrently or is this not correct?  Lastly
> > I have specified spool directory, however it is never used.  Any ideas here
> > would be appreciated or clarity.
>
> Bacula can write to more than 1 drive at a time. However I believe by
> default bacula can not load the same pool into more than 1 drive at a
> time.

Yes, it can.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd AT denx DOT de
Two wrongs don't make a right, but three rights make a left.



--
Randall Svancara

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users