I'm using bacula-1.38.10 on a Dell SC430 running CentOS 4.4. The
system has a DAT-72 drive that has been working fine. Recently, the
backups have increased beyond our initial expectations. It appears
that hardware compression is disabled (or not available), since the
volume ("SAT004") that it should be using was listed as full
(40639945417 bytes).
I changed the job, file and volume retention periods all to 3 weeks
and restarted bacula-dir. I then pruned all files and jobs (yes,
auto-recycling is enabled for normal operations). I also purged the
full volume. I cancelled any jobs that were running (prior to the
bacula-dir restart), but any newly attempted runs just seem to sit in
the queue. When I do a "status dir", it lists the new job as
"running", but no activity is happening. However, if I do a "status
client", it shows all of the cancelled jobs, still sitting there.
And any future jobs are still referencing the wrong volume
("SAT003"), rather than the intended volume ("SAT004"). Any
suggestions?
Here is the output from the relevant commands. Thanks in advance!
# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x47 (TR-5).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
# bconsole
Connecting to Director duncan:9101
1000 OK: duncan-dir Version: 1.38.10 (08 June 2006)
Enter a period to cancel a command.
*list volumes
Using default Catalog name=MyCatalog DB=bacula
Pool: Default
+---------+------------+-----------+-------------+----------
+--------------+---------+------+-----------+-----------
+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+-------------+----------
+--------------+---------+------+-----------+-----------
+---------------------+
| 1 | SAT001 | Append | 22467017372 | 33 |
2592000 | 1 | 0 | 1 | DAT-72 | 2006-10-05
23:11:30 |
| 2 | SAT002 | Append | 27899939384 | 40 |
2592000 | 1 | 0 | 1 | DAT-72 | 2006-10-12
23:11:45 |
| 3 | SAT003 | Append | 38493838281 | 52 |
2592000 | 1 | 0 | 1 | DAT-72 | 2006-10-19
23:12:10 |
| 4 | SAT004 | Purged | 40639945417 | 48 |
2592000 | 1 | 0 | 1 | DAT-72 | 2006-10-20
21:42:58 |
| 5 | SAT005 | Append | 11361490420 | 18 |
2592000 | 1 | 0 | 1 | DAT-72 | 2006-09-28
23:11:01 |
+---------+------------+-----------+-------------+----------
+--------------+---------+------+-----------+-----------
+---------------------+
*status dir
duncan-dir Version: 1.38.10 (08 June 2006) i686-redhat-linux-gnu redhat
Daemon started 20-Oct-06 23:29, 7 Jobs run since started.
Scheduled Jobs:
Level Type Pri Scheduled Name
Volume
========================================================================
===========
Incremental Backup 10 22-Oct-06 20:00 Duncan-DailyINCR
SAT003
====
Running Jobs:
JobId Level Name Status
======================================================================
67 Full Duncan-DailyINCR.2006-10-21_20.00.00 is running
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
========================================================================
56 Full 86,715 26,069,033,291 OK 13-Oct-06 21:56
Duncan-WeeklyFULL
57 Incr 6,078 5,172,709,640 OK 14-Oct-06 20:26
Duncan-DailyINCR
58 Incr 143 101,542,750 OK 15-Oct-06 20:04
Duncan-DailyINCR
59 Incr 77 101,003,021 OK 16-Oct-06 20:04
Duncan-DailyINCR
60 Incr 77 101,022,473 OK 17-Oct-06 20:04
Duncan-DailyINCR
61 Incr 69 101,039,725 OK 18-Oct-06 20:04
Duncan-DailyINCR
62 Incr 77 101,063,367 OK 19-Oct-06 20:04
Duncan-DailyINCR
63 Full 1 56,139,729 OK 19-Oct-06 23:14
BackupCatalog
65 Full 0 0 Cancel 20-Oct-06 23:25
Duncan-WeeklyFULL
66 Full 0 0 Cancel 21-Oct-06 07:09
Duncan-WeeklyFULL
*status cl
Automatically selected Storage: DAT-72
Connecting to Storage daemon DAT-72 at duncan:9103
duncan-sd Version: 1.38.10 (08 June 2006) i686-redhat-linux-gnu redhat
Daemon started 06-Sep-06 16:51, 51 Jobs run since started.
Running Jobs:
Writing: Full Backup job Duncan-WeeklyFULL JobId=64 Volume=""
pool="Default" device=""DAT-72" (/dev/nst0)"
Files=40,550 Bytes=23,350,083,659 Bytes/sec=252,681
FDReadSeqNo=677,824 in_msg=568004 out_msg=5 fd=5
Writing: Full Backup job Duncan-WeeklyFULL JobId=65 Volume=""
pool="Default" device=""DAT-72" (/dev/nst0)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=5 fd=7
Writing: Full Backup job Duncan-WeeklyFULL JobId=66 Volume=""
pool="Default" device=""DAT-72" (/dev/nst0)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=5 fd=9
Writing: Full Backup job Duncan-DailyINCR JobId=67 Volume=""
pool="Default" device=""DAT-72" (/dev/nst0)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=11
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
54 Incr 1,767 144,769,711 OK 12-Oct-06 20:03
Duncan-DailyINCR
55 Full 1 55,648,333 OK 12-Oct-06 23:13
BackupCatalog
56 Full 86,715 26,082,658,573 OK 13-Oct-06 21:56
Duncan-WeeklyFULL
57 Incr 6,078 5,173,968,539 OK 14-Oct-06 20:26
Duncan-DailyINCR
58 Incr 143 101,556,125 OK 15-Oct-06 20:04
Duncan-DailyINCR
59 Incr 77 101,010,010 OK 16-Oct-06 20:04
Duncan-DailyINCR
60 Incr 77 101,029,464 OK 17-Oct-06 20:04
Duncan-DailyINCR
61 Incr 69 101,045,888 OK 18-Oct-06 20:04
Duncan-DailyINCR
62 Incr 77 101,070,358 OK 19-Oct-06 20:04
Duncan-DailyINCR
63 Full 1 56,139,838 OK 19-Oct-06 23:14
BackupCatalog
====
Device status:
Device "DAT-72" (/dev/nst0) is not open or does not exist.
Device is BLOCKED waiting for media.
====
In Use Volume status:
====
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users