Ralf Gross schrieb:
> So, what is this message 'Using Volume "06D140L3" from 'Scratch' pool.' about,
> if no backup is running or scheduled for the next 10+ days?

I updated to 2.2.6 this week, but today it happend again after issuing 'status
dir days=4'. 

You have messages.
*mess
22-Nov 13:46 VU0EM005-dir JobId 0: Max configured use duration
             exceeded. Marking Volume "06D137L3" as Used.
22-Nov 13:46 VU0EM005-dir JobId 0: Using Volume "06D141L3" from
             'Scratch' pool.

No backup was running but volume 06D141L3 was moved from the Scratch
pool to the Differential pool. The next diff backup will be on sunday.

Furthermore, why didn't bacula recycle volumes 06D125L3 or 06D126L3? The volume
retention time is set to 31 days.

Pool: Differential
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes       | volfiles | 
volretention | recycle | slot | inchanger | mediatype | lastwritten         |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       6 | 06D125L3   | Used      |       1 |  9,816,468,480 |       11 |    
2,678,400 |       1 |    6 |         1 | LTO3      | 2007-10-14 00:25:18 |
|       7 | 06D126L3   | Used      |       1 | 18,565,585,920 |       20 |    
2,678,400 |       1 |    7 |         1 | LTO3      | 2007-10-21 00:33:04 |
|       8 | 06D127L3   | Used      |       1 | 29,770,094,592 |       31 |    
2,678,400 |       1 |    8 |         1 | LTO3      | 2007-10-28 00:46:41 |
|      19 | 06D137L3   | Used      |       1 | 74,883,142,656 |       76 |    
2,678,400 |       1 |   18 |         1 | LTO3      | 2007-11-18 01:10:57 |
|      37 | 06D124L3   | Used      |       1 | 10,923,623,424 |       12 |    
2,678,400 |       1 |    5 |         1 | LTO3      | 2007-11-11 00:31:07 |
|      49 | 06D141L3   | Append    |       1 |         64,512 |        0 |    
2,678,400 |       1 |   22 |         1 | LTO3      |                     |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+


This is the detailed info about the oldest volume in the pool. Why didn't
bacula just prune/recycle volume 06D125L3 instead of taking an volume from the
scratch pool? AutoPrune is set to yes.

*llist media=06D125L3
          mediaid: 6
       volumename: 06D125L3
             slot: 6
           poolid: 5
        mediatype: LTO3
     firstwritten: 2007-10-14 00:07:06
      lastwritten: 2007-10-14 00:25:18
        labeldate: 2007-10-14 00:07:06
          voljobs: 3
         volfiles: 11
        volblocks: 152,164
        volmounts: 6
         volbytes: 9,816,468,480
        volerrors: 0
        volwrites: 1,480,258
 volcapacitybytes: 0
        volstatus: Used
          enabled: 1
          recycle: 1
     volretention: 2,678,400
   voluseduration: 345,600
       maxvoljobs: 0
      maxvolfiles: 0
      maxvolbytes: 0
        inchanger: 1
          endfile: 10
         endblock: 13,870
         volparts: 0
        labeltype: 0
        storageid: 2
         deviceid: 0
       locationid: 0
     recyclecount: 0
     initialwrite:
    scratchpoolid: 0
    recyclepoolid: 0
          comment:


The last entry in the log file about volume 06D125L3 was 

18-Okt 18:05 VU0EM005-dir: Max configured use duration exceeded. Marking Volume 
"06D125L3" as Used.


After that: nothing.
No message like that (other volume as example) about pruned records or 
recycling.
07-Okt 11:03 VU0EM005-dir: ua_purge.c:611 All records pruned from Volume 
"06D132L3"; marking it "Purged"
07-Okt 11:03 VU0EM005-dir: Recycled volume "06D136L3"


This makes a scratch pool completely useless.

Questions:

* why did bacula not prune the records from volume 06D125L3 and recyle it as 
needed?
* why does bacula 'use' a new volume days before the next backup happens?


Ralf

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to