I'm new to bacula (v. 1.38.9), and I'm trying to set up an autochanger (Dell
pv132T, 2 drives, 23 LTO2 tapes) so that jobs can use both drives
simultaneously.
Currently, bacula is configured with all volumes in a single pool, and with 4
clients--1 is the local backup server itself, and 3 remote clients. The remote
machines spool data to disk, and the bacula server does not.
I've defined "Maximum Concurrent Jobs" in the 48 necessary locations :), and
backups do take place simulaneously, but using the same tape device.
I'd like to have both drives active. Is this possible without creating
different pools? I like the flexibility of having a single pool, so that
there's less of a concern with stocking the autochanger and balancing the
number of tapes per pool with the anticipated nightly backup needs.
Ideally, based on the estimated backup size and the tape capacity, bacula would
decide whether the jobs in progress will all fit on the current tape (in which
case, they'd be written there), or not. If they wouldn't fit onto the current
tape, then I'd like to see the 2nd drive used simultaneously.
For example, here's the output of "stat storage" and "stat dir" (slightly
trimmed):
----------------------------------------------------------------------------
Automatically selected Storage: pv132t
Connecting to Storage daemon pv132t at parthenon:9103
parthenon-sd Version: 1.38.9 (02 May 2006) i686-pc-linux-gnu redhat (Yarrow)
Daemon started 20-Jun-06 21:53, 0 Jobs run since started.
Running Jobs:
Writing: Full Backup job parthenon JobId=69 Volume="000006"
pool="Default" device=""Drive-0" (/dev/tape0)"
Files=858,769 Bytes=928,023,755,183 Bytes/sec=19,219,711
FDReadSeqNo=18,915,299 in_msg=17288741 out_msg=5 fd=9
Writing: Incremental Backup job delphi JobId=74 Volume="000006"
pool="Default" device=""Drive-0" (/dev/tape0)"
Files=2,310 Bytes=7,652,957,399 Bytes/sec=5,513,658
FDReadSeqNo=135,366 in_msg=129087 out_msg=5 fd=11
Writing: Full Backup job braid2 JobId=75 Volume="000006"
pool="Default" device=""Drive-0" (/dev/tape0)"
Files=148,993 Bytes=7,843,124,621 Bytes/sec=5,771,246
FDReadSeqNo=1,222,390 in_msg=850687 out_msg=5 fd=15
====
Jobs waiting to reserve a drive:
====
Device status:
Autochanger "pv132t" with devices:
"Drive-0" (/dev/tape0)
"Drive-1" (/dev/tape1)
Device "Drive-0" (/dev/tape0) is mounted with Volume="000006" Pool="Default"
Slot 6 is loaded in drive 0.
Total Bytes=235,675,750,903 Blocks=3,653,208 Bytes/block=64,511
Positioned at File=235 Block=10,709
Device "Drive-1" (/dev/tape1) open but no Bacula volume is mounted.
Drive 1 is not loaded.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
====
In Use Volume status:
000006 on device "Drive-0" (/dev/tape0)
====
Data spooling: 2 active jobs, 15,514,859,776 bytes; 0 total jobs,
15,514,859,776 max bytes/job.
Attr spooling: 2 active jobs, 0 bytes; 0 total jobs, 0 max bytes.
stat dir
parthenon-dir Version: 1.38.9 (02 May 2006) i686-pc-linux-gnu redhat (Yarrow)
Daemon started 20-Jun-06 22:00, 0 Jobs run since started.
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 21-Jun-06 23:05 parthenon 000006
Incremental Backup 10 21-Jun-06 23:05 cbic 000006
Incremental Backup 10 21-Jun-06 23:05 braid2 000006
Incremental Backup 10 21-Jun-06 23:05 delphi 000006
Full Backup 11 21-Jun-06 23:10 BackupCatalog 000006
====
Running Jobs:
JobId Level Name Status
======================================================================
69 Full parthenon.2006-06-20_23.05.00 is running
73 Full BackupCatalog.2006-06-20_23.10.00 is waiting for higher priority
jobs to finish
74 Increme delphi.2006-06-21_12.16.44 is running
75 Full braid2.2006-06-21_12.17.13 is running
====
----------------------------------------------------------------------------
Since the backup of parthenon (currently writing to tape0) will be much
more than a single tape, I'd like to see the data spooled from the other two
backups directed to the second tape drive, rather than assigning those jobs to
the same volume as the running backup, and having them blocked.
Thanks,
Mark
The information contained in this e-mail message is intended only for the
personal and confidential use of the recipient(s) named above. If the reader of
this message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that you have
received this document in error and that any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you have
received this communication in error, please notify us immediately by e-mail,
and delete the original message.
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users