hi,
Seems that I can't get recycling to work as expected. Somethimes I have
to manually issue a 'mount' to make Bacula recycle the volume. After
that, the jobs start running emediatly. Othertimes everything works as
expected.
Normaly, when the volum is recycled, I get this messages:
23-Nov 17:09 server-dir: Max configured use duration exceeded. Marking
Volume "Wednesday-0001" as Used.
23-Nov 17:10 server-dir: Pruned 6 Jobs on Volume "Wednesday-0001" from
catalog.
23-Nov 17:10 server-dir: Recycled volume "Wednesday-0001"
But this messages is missing the "Recycled" statement:
28-Nov 11:56 server-dir: Max configured use duration exceeded. Marking
Volume "Monday-0001" as Used.
28-Nov 11:56 server-dir: Pruned 1 Job on Volume "Monday-0001" from
catalog.
And when the backup job starts, I get this message:
29-Nov 02:00 server-sd: Job ServerFull.2005-11-29_02.00.01 waiting.
Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: Ultrium2
Media type: LTO
Pool: MondayPool
If I open the bacula console and issue a 'mount', everything starts
perfectly...even though I have "AutomaticMount = yes" on the SD.
I'm guessing this is a configuration error, but I have not been able to
track it down. I thought that "Volume Retention" controlled the
recycling, but I might be wrong? Any comments to help me out?
Device definition:
Device {
Name = Ultrium2
Media Type = LTO
Archive Device = /dev/nst0
AutomaticMount = yes # when device opened, read it
AlwaysOpen = no
RemovableMedia = yes
RandomAccess = no
}
Pool definitions:
Pool {
Name = MondayPool
Pool Type = Backup
Volume Use Duration = 23h
Volume Retention = 6d # Jobs/files retention period will be truncated
to
# this. Makes sure the volume is recycleable
Recycle = Yes # We want to use the same volume next week
AutoPrune = Yes
Label Format = Monday-
Maximum Volumes = 1 # Only one tape allocated for this
}
Pool {
Name = TuesdayPool
Pool Type = Backup
Volume Use Duration = 23h
Volume Retention = 6d # Jobs/files retention period will be truncated
to
# this. Makes sure the volume is recycleable
Recycle = Yes # We want to use the same volume next week
AutoPrune = Yes
Label Format = Tuesday-
Maximum Volumes = 1 # Only one tape allocated for this
}
Pool {
Name = WednesdayPool
Pool Type = Backup
Volume Use Duration = 23h
Volume Retention = 6d # Jobs/files retention period will be truncated
to
# this. Makes sure the volume is recycleable
Recycle = Yes # We want to use the same volume next week
AutoPrune = Yes
Label Format = Wednesday-
Maximum Volumes = 1 # Only one tape allocated for this
}
Pool {
Name = ThursdayPool
Pool Type = Backup
Volume Use Duration = 23h
Volume Retention = 6d # Jobs/files retention period will be truncated
to
# this. Makes sure the volume is recycleable
Recycle = Yes # We want to use the same volume next week
AutoPrune = Yes
Label Format = Thursday-
Maximum Volumes = 1 # Only one tape allocated for this
}
Schedule definition:
Schedule {
Name = "WeeklyGFS"
Run = Level=Full Pool=MondayPool tuesday at 02:00
Run = Level=Full Pool=TuesdayPool wednesday at 02:00
Run = Level=Full Pool=WednesdayPool thursday at 02:00
Run = Level=Full Pool=ThursdayPool friday at 02:00
Run = Level=Full Pool=WeeklyPool 2nd-5th sunday at 02:00
Run = Level=Full Pool=MonthlyPool 1st sunday at 02:00
}
I don't know if this is related, but even if I have defined some pools
to have maximum 1 volume, they are listed with 2...
*list pools
+--------+---------------+---------+---------+----------+-------------+
| PoolId | Name | NumVols | MaxVols | PoolType | LabelFormat |
+--------+---------------+---------+---------+----------+-------------+
| 1 | MondayPool | 1 | 1 | Backup | Monday- |
| 2 | TuesdayPool | 1 | 1 | Backup | Tuesday- |
| 3 | WednesdayPool | 2 | 2 | Backup | Wednesday- |
| 4 | ThursdayPool | 2 | 2 | Backup | Thursday- |
| 8 | MonthlyPool | 4 | 0 | Backup | Monthly- |
| 9 | WeeklyPool | 5 | 5 | Backup | Weekly- |
+--------+---------------+---------+---------+----------+-------------+
Regards,
Magne
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users