Hi, I'm seeing what I think is suboptimal behaviour during some
testing, maybe one of the Bacula guru's can help/explain what's going
on here. I think it might be since the behaviour I want only happens
when a job first requests a tape (and what I'm seeking is a way to get
it to request _again_).
I believe that I've setup recycling and pruning correctly, however I'm
delibrately setting volumes to "full" to force errors and it's during
the subsequent manual recycling that I'm seeing problems.
If I try and manually recycle a tape it never seems to actually _use_ it
without failing a job. Full logs are below, but in summary, I'm
entering "purge volume=000006L3" (not my labelling scheme) and bacula
will be in this state:
Device status:
Autochanger "Autochanger" with devices:
"LTO-3" (/dev/nst0)
Device "LTO-3" (/dev/nst0) is mounted with:
Volume: 000006L3
Pool: DailyPool
Media type: LTO-3
Device is BLOCKED waiting to create a volume for:
Pool: DailyPool
Media type: LTO-3
Slot 1 is loaded in drive 0.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=1 Block=0
No matter what I do (spent quite some time reading, googling, testing) I
don't seem to work around this. The manual seems to say that I'll have
to relabel the tape, however I don't want to relabel the tape to a
different name (as that then won't tie in with the barcode) and I can't
relabel to the same label. I even tried the older "delete volume,
label" approach - both putting the tape in the Scratch pool and also the
DailyPool.
It's as if I need to "kick" Bacula so that it says "aha, a tape I can
recycle" however the only thing I've found is to bounce the storage
daemon (which then causes the jobs to fail).
I'm almost certainly missing something but I'd appreciate your help.
Director and storage daemon configs below. (NB: timescales are _very_
short for testing)
Many thanks,
Adrian
bacula-dir.conf
Director { # define myself
Name = bacula-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "...."
Messages = Daemon
#DirAddress = 127.0.0.1
DirAddress = 0.0.0.0
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
FileSet = "Full Set"
Schedule = "DefaultSchedule"
Storage = DefaultStorage
Messages = Standard
Pool = DailyPool
Priority = 10
Write Bootstrap = "/var/lib/bacula/bootstraps/%c.bsr"
SpoolData = yes
Spool Size = 1g
RunScript {
RunsWhen = Before
FailJobOnError = Yes
Command = "/usr/local/sbin/backup_box"
}
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Client = localhost
Schedule = "CatalogSchedule"
# This creates an ASCII copy of the catalog
# Arguments to make_catalog_backup.pl are:
# make_catalog_backup.pl <catalog-name>
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl
DefaultCatalog"
# This deletes the copy of the catalog
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/bootstraps/%n.bsr"
Priority = 11 # run after main backup
RunScript {
}
}
#
# Standard Restore template, to be changed by Console program
# Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
Name = "RestoreFiles"
Type = Restore
Client= localhost
FileSet="Full Set"
Storage = DefaultStorage
Pool = DailyPool
Messages = Standard
Where = /nonexistant/path/to/file/archive/dir/bacula-restores
}
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
aclsupport = yes
xattrsupport = yes
noatime = yes
onefs = no
}
File = /
}
Exclude {
File = /dev
File = /lib/init/rw
File = /media
File = /mnt
File = /proc
File = /sys
File = /tmp
File = /var/backups/backuppc
File = /var/cache
File = /var/db
File = /var/lib/bacula
File = /var/lib/backuppc
File = /var/lib/defoma
File = /var/log/nagios2/retention.dat
File = /var/log/ntpstats
File = /var/log/sysstat
File = /var/spool/tethereal
File = /var/run
File = /var/tmp
}
}
#
# When to do the backups
Schedule {
Name = "DefaultSchedule"
#Run = Level=Full Pool=MonthlyPool 1st sat at 03:05
#Run = Level=Full Pool=WeeklyPool 2nd-5th sat at 03:05
#Run = Level=Incremental Pool=DailyPool sun-fri at 03:05
#Run = Level=Full Pool=MonthlyPool 1st sat at 03:05
Run = Level=Full Pool=WeeklyPool hourly
Run = Level=Incremental Pool=DailyPool hourly at 0:05
Run = Level=Incremental Pool=DailyPool hourly at 0:15
Run = Level=Incremental Pool=DailyPool hourly at 0:25
Run = Level=Incremental Pool=DailyPool hourly at 0:35
Run = Level=Incremental Pool=DailyPool hourly at 0:45
Run = Level=Incremental Pool=DailyPool hourly at 0:55
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "CatalogSchedule"
#Run = Full sun-sat at 23:10
Run = Full hourly
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/var/lib/bacula/bacula.sql.gz"
}
}
# Include subfiles associated with configuration of clients.
# They define the bulk of the Clients, Jobs, and FileSets.
# Remember to "reload" the Director after adding a client file.
# (From 16.2.3. in manual)
@|"sh -c 'for f in /etc/bacula/hosts/*.conf ; do echo @${f} ; done'"
Storage {
Name = DefaultStorage
Address = localhost
SDPort = 9103
Password = "..."
Device = Autochanger
Media Type = LTO-3
Autochanger = yes
# Turn off client compression as the tape drive does it
AllowCompression = no
}
# Generic catalog service
Catalog {
Name = DefaultCatalog
dbname = bacula; DB Address = ""; dbuser = "bacula"; dbpassword =
"Bee4Rae4bo7A"
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"Bacula (%d)\"
-s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"Bacula
(%d)\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped, !saved, !info
operator = root@localhost = mount, fatal, warning, error, restored,
alert, volmgmt
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
catalog = all
}
Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"Bacula (%d)\"
-s \"Bacula\" %r"
mail = root@localhost = all, !skipped, !saved, !info
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
# Tape pool definitions
Pool {
Name = DailyPool
Volume Retention = 7 days
Pool Type = Backup
AutoPrune = yes
Recycle = yes
RecyclePool = Scratch
Cleaning Prefix = 000001L3
# Maximum Volumes = 6
}
Pool {
Name = WeeklyPool
Volume Retention = 200 mins
Volume Use Duration = 50 mins
Pool Type = Backup
AutoPrune = yes
Recycle = yes
RecyclePool = Scratch
Cleaning Prefix = 000001L3
}
Pool {
Name = MonthlyPool
Volume Retention = 90 days
Volume Use Duration = 6 days
Pool Type = Backup
AutoPrune = yes
Recycle = yes
RecyclePool = Scratch
Cleaning Prefix = 000001L3
}
# Scratch pool definition
Pool {
Name = Scratch
Pool Type = Backup
Cleaning Prefix = 000001L3
}
# Cleaning pool definition
# NB: only "Backup" Pool type currently exist
Pool {
Name = Cleaning
Pool Type = Backup
Cleaning Prefix = 000001L3
}
bacula-sd.conf (same box)
Storage { # definition of myself
Name = DefaultStorage
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = 127.0.0.1
}
Director {
Name = bacula-dir
Password = "rZtAXYY_LV49iMsJteheIXB6533FmMecu"
}
Autochanger {
Name = Autochanger
Device = LTO-3
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/changer
}
Device {
Name = LTO-3
Media Type = LTO-3
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum File Size = 4GB
AutoChanger = yes
# # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
}
bits of the logs:
*status all
bacula-dir Version: 5.0.2 (28 April 2010) x86_64-pc-linux-gnu debian
squeeze/sid
Daemon started 01-Dec-11 09:52, 0 Jobs run since started.
Heap: heap=401,408 smbytes=55,101 max_bytes=94,821 bufs=259 max_bufs=267
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 01-Dec-11 09:55 Backup-itixib02 *unknown*
Full Backup 10 01-Dec-11 10:00 Backup-itixib02 *unknown*
Full Backup 11 01-Dec-11 10:00 BackupCatalog *unknown*
Incremental Backup 10 01-Dec-11 10:05 Backup-itixib02 *unknown*
Incremental Backup 10 01-Dec-11 10:15 Backup-itixib02 *unknown*
Incremental Backup 10 01-Dec-11 10:25 Backup-itixib02 *unknown*
Incremental Backup 10 01-Dec-11 10:35 Backup-itixib02 *unknown*
Incremental Backup 10 01-Dec-11 10:45 Backup-itixib02 *unknown*
====
Running Jobs:
Console connected at 01-Dec-11 09:53
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
====================================================================
337 Incr 22 106.3 M OK 01-Dec-11 07:25
Backup-itixib02
338 Incr 24 106.3 M OK 01-Dec-11 07:35
Backup-itixib02
339 Incr 22 106.3 M OK 01-Dec-11 07:45
Backup-itixib02
340 Incr 23 106.3 M OK 01-Dec-11 07:55
Backup-itixib02
341 Full 28,659 896.7 M OK 01-Dec-11 08:03
Backup-itixib02
342 Full 1 4.275 M OK 01-Dec-11 08:05 BackupCatalog
343 Incr 22 106.3 M OK 01-Dec-11 08:06
Backup-itixib02
344 Incr 24 106.4 M OK 01-Dec-11 08:15
Backup-itixib02
345 Incr 24 106.4 M OK 01-Dec-11 08:25
Backup-itixib02
346 Incr 22 106.4 M OK 01-Dec-11 08:35
Backup-itixib02
====
Connecting to Storage daemon DefaultStorage at localhost:9103
DefaultStorage Version: 5.0.2 (28 April 2010) x86_64-pc-linux-gnu debian
squeeze/sid
Daemon started 30-Nov-11 13:36, 152 Jobs run since started.
Heap: heap=438,272 smbytes=301,131 max_bytes=301,325 bufs=146 max_bufs=148
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8
Running Jobs:
Writing: Incremental Backup job Backup-itixib02 JobId=347 Volume=""
pool="DailyPool" device="LTO-3" (/dev/nst0)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=5
Writing: Incremental Backup job Backup-itixib02 JobId=355 Volume=""
pool="DailyPool" device="LTO-3" (/dev/nst0)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=8
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
337 Incr 22 106.3 M OK 01-Dec-11 07:25
Backup-itixib02
338 Incr 24 106.3 M OK 01-Dec-11 07:35
Backup-itixib02
339 Incr 22 106.3 M OK 01-Dec-11 07:45
Backup-itixib02
340 Incr 23 106.3 M OK 01-Dec-11 07:55
Backup-itixib02
341 Full 28,659 900.1 M OK 01-Dec-11 08:02
Backup-itixib02
342 Full 1 4.275 M OK 01-Dec-11 08:05 BackupCatalog
343 Incr 22 106.3 M OK 01-Dec-11 08:06
Backup-itixib02
344 Incr 24 106.4 M OK 01-Dec-11 08:15
Backup-itixib02
345 Incr 24 106.4 M OK 01-Dec-11 08:25
Backup-itixib02
346 Incr 22 106.4 M OK 01-Dec-11 08:35
Backup-itixib02
====
Device status:
Autochanger "Autochanger" with devices:
"LTO-3" (/dev/nst0)
Device "LTO-3" (/dev/nst0) is mounted with:
Volume: 000003L3
Pool: DailyPool
Media type: LTO-3
Device is BLOCKED waiting to create a volume for:
Pool: DailyPool
Media type: LTO-3
Slot 3 is loaded in drive 0.
Total Bytes=12,065,937,408 Blocks=187,033 Bytes/block=64,512
Positioned at File=129 Block=0
====
Used Volume status:
000003L3 on device "LTO-3" (/dev/nst0)
Reader=0 writers=0 devres=2 volinuse=0
====
Data spooling: 0 active jobs, 0 bytes; 152 total jobs, 921,553,840 max
bytes/job.
Attr spooling: 0 active jobs, 155,161,643 bytes; 152 total jobs,
155,161,643 max bytes.
====
Connecting to Client itixib02 at itixib02.truphone.com:9102
itixib02 Version: 5.0.2 (28 April 2010) x86_64-pc-linux-gnu debian
squeeze/sid
Daemon started 28-Nov-11 16:35, 473 Jobs run since started.
Heap: heap=1,089,536 smbytes=101,024 max_bytes=765,753 bufs=166
max_bufs=467
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0
Running Jobs:
JobId 347 Job Backup-itixib02.2011-12-01_08.45.00_05 is running.
Incremental Backup Job started: 01-Dec-11 08:45
Files=0 Bytes=0 Bytes/sec=0 Errors=0
Files Examined=0
SDReadSeqNo=5 fd=5
JobId 355 Job Backup-itixib02.2011-12-01_09.45.00_06 is running.
Incremental Backup Job started: 01-Dec-11 09:45
Files=0 Bytes=0 Bytes/sec=0 Errors=0
Files Examined=0
SDReadSeqNo=5 fd=7
Director connected at: 01-Dec-11 09:54
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
337 Incr 22 106.3 M OK 01-Dec-11 07:25
Backup-itixib02
338 Incr 24 106.3 M OK 01-Dec-11 07:35
Backup-itixib02
339 Incr 22 106.3 M OK 01-Dec-11 07:45
Backup-itixib02
340 Incr 23 106.3 M OK 01-Dec-11 07:55
Backup-itixib02
341 Full 28,659 896.7 M OK 01-Dec-11 08:02
Backup-itixib02
342 Full 1 4.275 M OK 01-Dec-11 08:05 BackupCatalog
343 Incr 22 106.3 M OK 01-Dec-11 08:06
Backup-itixib02
344 Incr 24 106.4 M OK 01-Dec-11 08:15
Backup-itixib02
345 Incr 24 106.4 M OK 01-Dec-11 08:25
Backup-itixib02
346 Incr 22 106.4 M OK 01-Dec-11 08:35
Backup-itixib02
====
*list volumes
Pool: DailyPool
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles
| VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 2 | 000006L3 | Full | 1 | 11,111,095,296 | 160
| 604,800 | 1 | 1 | 1 | LTO-3 | 2011-11-30
14:06:40 |
| 4 | 000003L3 | Full | 1 | 12,065,937,408 | 129
| 604,800 | 1 | 3 | 1 | LTO-3 | 2011-12-01
08:35:06 |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: WeeklyPool
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 3 | 000002L3 | Used | 1 | 901,748,736 | 1
| 8,400 | 1 | 2 | 1 | LTO-3 | 2011-12-01
07:02:52 |
| 5 | 000004L3 | Used | 1 | 902,393,856 | 1
| 9,000 | 1 | 4 | 1 | LTO-3 | 2011-12-01
06:02:49 |
| 6 | 000005L3 | Used | 1 | 901,813,248 | 1
| 9,000 | 1 | 5 | 1 | LTO-3 | 2011-12-01
08:02:56 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: MonthlyPool
No results to list.
Pool: Scratch
No results to list.
Pool: Cleaning
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000001L3 | Cleaning | 1 | 0 | 0 |
31,536,000 | 1 | 0 | 0 | | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
*purge volume=000006L3
This command can be DANGEROUS!!!
It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
160 Files on Volume "000006L3" purged from catalog.
There are no more Jobs associated with Volume "000006L3". Marking it purged.
*
*status dir
bacula-dir Version: 5.0.2 (28 April 2010) x86_64-pc-linux-gnu debian
squeeze/sid
Daemon started 01-Dec-11 09:52, 0 Jobs run since started.
Heap: heap=401,408 smbytes=70,630 max_bytes=94,821 bufs=304 max_bufs=305
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Full Backup 10 01-Dec-11 10:00 Backup-itixib02 *unknown*
Full Backup 11 01-Dec-11 10:00 BackupCatalog 000006L3
Incremental Backup 10 01-Dec-11 10:05 Backup-itixib02 000006L3
Incremental Backup 10 01-Dec-11 10:15 Backup-itixib02 000006L3
Incremental Backup 10 01-Dec-11 10:25 Backup-itixib02 000006L3
Incremental Backup 10 01-Dec-11 10:35 Backup-itixib02 000006L3
Incremental Backup 10 01-Dec-11 10:45 Backup-itixib02 000006L3
Incremental Backup 10 01-Dec-11 10:55 Backup-itixib02 000006L3
====
Running Jobs:
Console connected at 01-Dec-11 09:53
JobId Level Name Status
======================================================================
356 Increme Backup-itixib02.2011-12-01_09.55.00_03 is running
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
====================================================================
337 Incr 22 106.3 M OK 01-Dec-11 07:25
Backup-itixib02
338 Incr 24 106.3 M OK 01-Dec-11 07:35
Backup-itixib02
339 Incr 22 106.3 M OK 01-Dec-11 07:45
Backup-itixib02
340 Incr 23 106.3 M OK 01-Dec-11 07:55
Backup-itixib02
341 Full 28,659 896.7 M OK 01-Dec-11 08:03
Backup-itixib02
342 Full 1 4.275 M OK 01-Dec-11 08:05 BackupCatalog
343 Incr 22 106.3 M OK 01-Dec-11 08:06
Backup-itixib02
344 Incr 24 106.4 M OK 01-Dec-11 08:15
Backup-itixib02
345 Incr 24 106.4 M OK 01-Dec-11 08:25
Backup-itixib02
346 Incr 22 106.4 M OK 01-Dec-11 08:35
Backup-itixib02
====
*
*list volumes
Pool: DailyPool
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles
| VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 2 | 000006L3 | Recycle | 1 | 1 | 0
| 604,800 | 1 | 1 | 1 | LTO-3 | 2011-11-30
14:06:40 |
| 4 | 000003L3 | Full | 1 | 12,065,937,408 | 129
| 604,800 | 1 | 3 | 1 | LTO-3 | 2011-12-01
08:35:06 |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: WeeklyPool
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 3 | 000002L3 | Used | 1 | 901,748,736 | 1
| 8,400 | 1 | 2 | 1 | LTO-3 | 2011-12-01
07:02:52 |
| 5 | 000004L3 | Used | 1 | 902,393,856 | 1
| 9,000 | 1 | 4 | 1 | LTO-3 | 2011-12-01
06:02:49 |
| 6 | 000005L3 | Used | 1 | 901,813,248 | 1
| 9,000 | 1 | 5 | 1 | LTO-3 | 2011-12-01
08:02:56 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: MonthlyPool
No results to list.
Pool: Scratch
No results to list.
Pool: Cleaning
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000001L3 | Cleaning | 1 | 0 | 0 |
31,536,000 | 1 | 0 | 0 | | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
*
*
*list volumes
Pool: DailyPool
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles
| VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 2 | 000006L3 | Recycle | 1 | 1 | 0
| 604,800 | 1 | 1 | 1 | LTO-3 | 2011-11-30
14:06:40 |
| 4 | 000003L3 | Full | 1 | 12,065,937,408 | 129
| 604,800 | 1 | 3 | 1 | LTO-3 | 2011-12-01
08:35:06 |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: WeeklyPool
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 3 | 000002L3 | Used | 1 | 901,748,736 | 1
| 8,400 | 1 | 2 | 1 | LTO-3 | 2011-12-01
07:02:52 |
| 5 | 000004L3 | Used | 1 | 902,393,856 | 1
| 9,000 | 1 | 4 | 1 | LTO-3 | 2011-12-01
06:02:49 |
| 6 | 000005L3 | Used | 1 | 901,813,248 | 1
| 9,000 | 1 | 5 | 1 | LTO-3 | 2011-12-01
08:02:56 |
+---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: MonthlyPool
No results to list.
Pool: Scratch
No results to list.
Pool: Cleaning
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000001L3 | Cleaning | 1 | 0 | 0 |
31,536,000 | 1 | 0 | 0 | | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Device status:
Autochanger "Autochanger" with devices:
"LTO-3" (/dev/nst0)
Device "LTO-3" (/dev/nst0) is mounted with:
Volume: 000003L3
Pool: DailyPool
Media type: LTO-3
Device is BLOCKED waiting to create a volume for:
Pool: DailyPool
Media type: LTO-3
Slot 3 is loaded in drive 0.
Total Bytes=12,065,937,408 Blocks=187,033 Bytes/block=64,512
Positioned at File=129 Block=0
====
Used Volume status:
000006L3 on device "LTO-3" (/dev/nst0)
Reader=0 writers=0 devres=3 volinuse=0
01-Dec 08:45 DefaultStorage JobId 347: Job
Backup-itixib02.2011-12-01_08.45.00_0
5 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "LTO-3" (/dev/nst0)
Pool: DailyPool
Media type: LTO-3
01-Dec 09:41 bacula-dir JobId 0: Max configured use duration exceeded.
Marking Volume "000005L3" as Used.
01-Dec 09:45 bacula-dir JobId 355: Start Backup JobId 355,
Job=Backup-itixib02.2011-12-01_09.45.00_06
01-Dec 09:45 bacula-dir JobId 355: Using Device "LTO-3"
01-Dec 09:45 itixib02 JobId 355: shell command: run ClientBeforeJob
"/usr/local/sbin/backup_box"
01-Dec 09:55 bacula-dir JobId 356: Start Backup JobId 356,
Job=Backup-itixib02.2011-12-01_09.55.00_03
01-Dec 09:55 bacula-dir JobId 356: Recycled volume "000006L3"
01-Dec 09:55 bacula-dir JobId 356: Using Device "LTO-3"
01-Dec 09:55 itixib02 JobId 356: shell command: run ClientBeforeJob
"/usr/local/sbin/backup_box"
(then I gave up)
01-Dec 11:05 itixib02 JobId 356: Fatal error: job.c:2001 Comm error with
SD. bad response to Append Data. ERR=No data available
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|