Hi again

Doh! I've just read the announcement about a new stable version. Don't
worry about replying to this mail, let me upgrade first and see if I
still have problems.  Sorry to have wasted your time.

Regards
Andrew

> -----Original Message-----
> From: Andrew J. Millar 
> Sent: Tuesday, November 01, 2005 4:17 PM
> To: bacula-users@lists.sourceforge.net
> Subject: bacula-1.37.40 on Autochanger with multiple drives
> 
> Hi there
> 
> I have bacula-1.37.40 running on an Adic Scalar100 (72 slot 
> autochanger, 12 of which are mailbox slots) with two tape 
> drives, and I seem to only be able to use one of the drives 
> at a time - am I right in thinking I should be able to run 
> two jobs simultaneously, one on each drive, provided of 
> course they are on different volumes?
> 
> Please find below the relevent configuration sections:
> 
> ---------------
> bacula-sd.conf:
> # Scalar100 Autochanger
> Autochanger {
>   Name = Scalar100-Autochanger
>   Device = Scalar100-1
>   Device = Scalar100-2
>   Changer Command = 
> "/usr/local/bacula-1.37.40/etc/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg1
> }
> 
> # Scalar100 first drive
> #
> Device {
>   Name = Scalar100-1                        #
>   Media Type = Ultrium-LTO-2
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Drive Index = 0
>   Changer Command = 
> "/usr/local/bacula-1.37.40/etc/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg1
>   AutoChanger = yes
>   # Enable the Alert command only if you have the mtx package loaded
>   Alert Command = "sh -c '/usr/local/mtx/sbin/tapeinfo -f %c 
> |grep TapeAlert|cat'"
> }
> 
> #
> # Scalar100 second drive
> #
> Device {
>   Name = Scalar100-2                        #
>   Media Type = Ultrium-LTO-2
>   Archive Device = /dev/nst1
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Drive Index = 1
>   Changer Command = 
> "/usr/local/bacula-1.37.38/etc/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg1
>   AutoChanger = yes
>   Alert Command = "sh -c '/usr/local/mtx/sbin/tapeinfo -f %c 
> |grep TapeAlert|cat'"
> }
> ------------
> bacula-dir.conf:
> 
> Director {                            # define myself
>   Name = breed-dir
>   DIRport = 9101                # where we listen for UA connections
>   QueryFile = "/usr/local/bacula-1.37.40/etc/query.sql"
>   WorkingDirectory = "/usr/local/bacula-1.37.40/var/bacula/working"
>   PidDirectory = "/var/run"
>   Maximum Concurrent Jobs = 2
>   Password = "asdf"         # Console password
>   Messages = Daemon
> }
> ...
> # Definition of tape storage device
> Storage {
>   Name = Scalar100
> # Do not use "localhost" here
>   Address = breed                # N.B. Use a fully qualified 
> name here
>   SDPort = 9103
>   Password = "asdf"          # password for Storage daemon
>   Device = Scalar100-Autochanger        # must be same as 
> Device in Storage daemon
>   Media Type = Ultrium-LTO-2          # must be same as 
> MediaType in Storage daemon
>   Autochanger = yes                   # enable for autochanger device
> }
> 
> -----------
> 
> When I schedule two jobs to run, which are both on different 
> volumes, the second job will wait till the first job has 
> finished using the first drive - it doesn't use the second drive:
> 
> Running Jobs:
>  JobId Level   Name                       Status
> ======================================================================
>   1633 Increme  Breed.2005-11-01_15.51.58 is running
>   1634 Increme  RMAN.2005-11-01_15.52.03 is waiting on max 
> Storage jobs
> ====
> 
> Any pointers on this would be greatly appreciated.
> 
> Regards
> Andrew
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to