Bacula-users

Re: [Bacula-users] Fwd: Bacula complains about volumes, intervention needed, (Jean Gobin)

2009-01-05 11:45:30
Subject: Re: [Bacula-users] Fwd: Bacula complains about volumes, intervention needed, (Jean Gobin)
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Mon, 5 Jan 2009 08:43:15 -0800
John Drescher wrote:
> ---------- Forwarded message ----------
> From: John Drescher <drescherjm AT gmail DOT com>
> Date: Mon, Jan 5, 2009 at 7:32 AM
> Subject: Re: [Bacula-users] Bacula complains about volumes,
> intervention needed, (Jean Gobin)
> To: Tarja Harmokivi <tarja.harmokivi AT r2m DOT se>
>
>
> On Mon, Jan 5, 2009 at 2:34 AM, Tarja Harmokivi <tarja.harmokivi AT r2m DOT 
> se> wrote:
>   
>> Hey, here is the output, not really sure what you're looking for though.
>> _____________________________________________
>> *list media pool=WwwServerPool
>> +---------+----------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> | MediaId | VolumeName     | VolStatus | Enabled | VolBytes       | VolFiles
>> | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
>>   |
>> +---------+----------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> |      36 | WwwServer-0036 | Used      |       1 |    317,870,536 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-24
>> 21:11:22 |
>> |      51 | WwwServer-0051 | Used      |       1 |    195,533,472 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-25
>> 21:05:32 |
>> |      59 | WwwServer-0059 | Used      |       1 |    203,517,929 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-26
>> 21:05:07 |
>> |      66 | WwwServer-0066 | Used      |       1 |    210,258,818 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-27
>> 21:05:41 |
>> |      72 | WwwServer-0072 | Used      |       1 |    466,456,483 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-28
>> 21:15:08 |
>> |      79 | WwwServer-0079 | Used      |       1 |    307,647,653 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-01
>> 21:04:16 |
>> |      95 | WwwServer-0095 | Used      |       1 |    202,445,246 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-02
>> 21:03:33 |
>> |     103 | WwwServer-0103 | Used      |       1 |    207,785,629 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-03
>> 21:03:47 |
>> |     111 | WwwServer-0111 | Used      |       1 |    216,164,212 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-04
>> 21:04:33 |
>> |     119 | WwwServer-0119 | Used      |       1 | 15,508,277,850 |        3
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-05
>> 22:07:46 |
>> |     127 | WwwServer-0127 | Used      |       1 |    333,229,122 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-08
>> 21:04:14 |
>> |     142 | WwwServer-0142 | Used      |       1 |    209,195,031 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-09
>> 21:02:37 |
>> |     150 | WwwServer-0150 | Used      |       1 |    214,028,655 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-10
>> 21:04:40 |
>> |     159 | WwwServer-0159 | Used      |       1 |    384,473,691 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-12
>> 21:07:57 |
>> |     169 | WwwServer-0169 | Used      |       1 |    302,474,042 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-15
>> 21:07:23 |
>> |     178 | WwwServer-0178 | Used      |       1 |    416,427,139 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-19
>> 21:07:16 |
>> |     198 | WwwServer-0198 | Used      |       1 |    298,587,654 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-22
>> 21:03:42 |
>> |     218 | WwwServer-0218 | Used      |       1 |    174,873,091 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-23
>> 21:03:29 |
>> |     222 | WwwServer-0222 | Used      |       1 |    198,893,200 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-24
>> 21:03:29 |
>> |     232 | WwwServer-0232 | Used      |       1 |    184,279,538 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-25
>> 21:02:25 |
>> |     243 | WwwServer-0243 | Used      |       1 |    394,735,032 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-12-26
>> 21:08:12 |
>> |     262 | WwwServer-0262 | Used      |       1 |    282,082,555 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-10-27
>> 21:08:16 |
>> |     272 | WwwServer-0272 | Used      |       1 |    202,939,312 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-10-28
>> 21:15:00 |
>> |     282 | WwwServer-0282 | Used      |       1 |    240,166,810 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-10-29
>> 21:04:43 |
>> |     292 | WwwServer-0292 | Used      |       1 |    214,727,221 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-10-30
>> 21:08:36 |
>> |     302 | WwwServer-0302 | Used      |       1 |    491,291,861 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-10-31
>> 21:10:40 |
>> |     321 | WwwServer-0321 | Used      |       1 |    283,483,486 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-03
>> 21:03:30 |
>> |     331 | WwwServer-0331 | Used      |       1 |    196,415,001 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-04
>> 21:05:42 |
>> |     341 | WwwServer-0341 | Used      |       1 |    206,380,438 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-05
>> 21:02:51 |
>> |     351 | WwwServer-0351 | Used      |       1 |    242,923,215 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-06
>> 21:07:15 |
>> |     362 | WwwServer-0362 | Used      |       1 | 15,600,117,144 |        3
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-07
>> 22:02:52 |
>> |     382 | WwwServer-0382 | Used      |       1 |    292,284,363 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-10
>> 21:03:37 |
>> |     392 | WwwServer-0392 | Used      |       1 |    209,226,326 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-11
>> 21:05:21 |
>> |     402 | WwwServer-0402 | Used      |       1 |    215,519,158 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-12
>> 21:03:39 |
>> |     412 | WwwServer-0412 | Used      |       1 |    222,653,894 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-13
>> 21:06:16 |
>> |     422 | WwwServer-0422 | Used      |       1 |    376,114,568 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-14
>> 21:13:01 |
>> |     442 | WwwServer-0442 | Used      |       1 |    335,583,850 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-17
>> 21:08:11 |
>> |     453 | WwwServer-0453 | Used      |       1 |    201,186,340 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-18
>> 21:07:22 |
>> |     463 | WwwServer-0463 | Used      |       1 |    223,564,669 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-19
>> 21:03:28 |
>> |     473 | WwwServer-0473 | Used      |       1 |    223,129,119 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-20
>> 21:03:40 |
>> |     483 | WwwServer-0483 | Used      |       1 |    447,563,069 |        0
>> |   15,552,000 |       1 |    0 |         0 | File      | 2008-11-21
>> 21:10:01 |
>> |     525 | WwwServer-0484 | Used      |       1 |    289,134,170 |        0
>> |    2,592,000 |       1 |    0 |         0 | File      | 2009-01-02
>> 09:24:08 |
>> |     529 | WwwServer-0485 | Used      |       1 |    292,473,659 |        0
>> |    2,592,000 |       1 |    0 |         0 | File      | 2009-01-02
>> 13:41:47 |
>> +---------+----------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>
>>     
>
> The problem is that all volumes except the last 2 have a 15,552,000
> volume retention period. This is in seconds so dividing by 60 then 60
> then 24 leads to 180 days. And I can see that 180 days have not passed
> since November 24 2008. I believe the problem here is at some point
> you reduced the volume retention (to 30 days) in the bacula
> configuration files but did not know that this does not apply to
> already labeled volumes. To fix this you need to open a bconsole and
> use the update volume command and follow the prompts to change the
> Volume Retention Period on each volume. Since you have a lot of
> volumes this is going to be a tedious task. You may want to edit the
> database directly if you know SQL. If you do edit the database you
> will need to restart the director for the new retention period to take
> effect.
>
> John
>   
Instead of updating each individual volume, you can also update the pool 
in bacula-dir.conf, restart bacula-dir, go into bconsole, update the 
pool from resources, and then use the "update all volumes in pool" 
command. That will update them all at the same time.

-- 
Kevin Keane
Owner
The NetTech
Turn your NetWORRY into a NetWORK!

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>