Hi,
I'm having the hardest time getting volumes to be recycled, under version
2.4.4-1 (Debian 5.0).
I feel like I have double-checked every item mentionned in chapters 22 and 23
(Automatic Volume Recycling / Basic Volume Management), have forced what seems
like all the relevant values with 'update media', and have changed many relevant
pool options. I've restarted the daemons, and the jobs after each change. Even
following the manual purging/recycling procedure did not change the software's
behaviour.
Every time, the storage daemon prints the message "Cannot find any appendable
volumes. Please use the "label" command to create a new Volume".
I've been using Bacula for a couple of years, and I realize that I've never
gotten through a full yearly cycle before, because of having blanked all my
catalogs and volumes a few times before because I wasn't satisfied with my
setup. So I've never seen the volume recycling in action before.
Things are apparently not as simple as stated in the manual and in numerous
messages on the list. What might I be overlooking ?
Here are excerpts of my setup for the relevant pool :
Pool: LBC Software Archive Tapes
+---------+-------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+-------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
| 1 | Fujifilm_01 | Purged | 1 | 178,965,709,824 | 179 |
7,776,000 | 1 | 0 | 0 | LTO2 Ultrium | 2009-03-10 08:19:21 |
| 2 | Fujifilm_02 | Full | 1 | 40,301,968,384 | 41 |
7,862,400 | 1 | 0 | 0 | LTO2 Ultrium | 2009-03-10 10:39:00 |
| 3 | Fujifilm_03 | Full | 1 | 187,139,884,032 | 188 |
15,724,800 | 1 | 0 | 0 | LTO2 Ultrium | 2009-05-20 10:52:30 |
| 4 | Fujifilm_04 | Used | 1 | 75,389,556,736 | 77 |
15,724,800 | 1 | 0 | 0 | LTO2 Ultrium | 2009-05-21 08:23:47 |
+---------+-------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
Pool {
Name = "LBC Software Archive Tapes"
Pool Type = Backup
Maximum Volumes = 4 # was disabled, changed to 4 with no success
Recycle = yes
#RecyclePool = Scratch
Recycle Oldest Volume = yes
#Recyle Current Volume = no
Purge Oldest Volume = yes
AutoPrune = yes
Volume Retention = 14 weeks
Storage = "Tandberg Data LTO2 Ultrium Half-Height Tape Drive"
#Use Volume Once = no # deprecated
Maximum Volume Jobs = 0
Maximum Volume Files = 0
Maximum Volume Bytes = 0
Volume Use Duration = 13 weeks
Catalog Files = yes
#Cleaning Prefix = CLN
#Label Format # deprecated since v1.31, see Python
script
}
Lucas Cohen
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|