Bacula-users

Re: [Bacula-users] Using removable SATA disks as media

2010-05-20 12:21:17
Subject: Re: [Bacula-users] Using removable SATA disks as media
From: John Drescher <drescherjm AT gmail DOT com>
To: Joseph Spenner <joseph85750 AT yahoo DOT com>
Date: Thu, 20 May 2010 12:19:05 -0400
On Thu, May 20, 2010 at 12:02 PM, Joseph Spenner <joseph85750 AT yahoo DOT com> 
wrote:
> --- On Thu, 5/20/10, John Drescher <drescherjm AT gmail DOT com> wrote:
>
>
>> >
>> > I thought I fixed this, but apparently not.  How
>> should the Volume Status be set in order to cycle through
>> volumes and start over after the last one is used?  When
>> the above failure occurred, all my Volume Status's were
>> "Used".
>> >
>>
>> All of the volume status of Used is good. Next look at the
>> lastwritten
>> time to see if any of the volumes are available for
>> recycling.
>>
>> list media pool=File
>>
>
> Ok, I purged and set all my volumes to Recycle.  I also added my new 3 
> volumes so now I have 3 sets of 7 instead of 3 sets of 6:
>
>
> *list media pool=File
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       1 | file_0001  | Recycle   |       1 |          11,680 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-20 14:45:06 |
> |       2 | file_0002  | Recycle   |       1 |   9,253,254,931 |        2 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-20 14:50:48 |
> |       3 | file_0003  | Recycle   |       1 |     103,174,447 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-12 06:44:32 |
> |       4 | file_0004  | Recycle   |       1 | 301,651,823,407 |       70 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-12 22:30:03 |
> |       5 | file_0005  | Recycle   |       1 |     143,252,733 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-12 23:10:26 |
> |       6 | file_0006  | Recycle   |       1 |   8,068,070,781 |        1 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-13 15:46:13 |
> |       7 | file_0007  | Recycle   |       1 |  17,415,085,284 |        4 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-13 19:02:48 |
> |       8 | file_0008  | Recycle   |       1 |  24,341,622,352 |        5 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-13 22:47:36 |
> |       9 | file_0009  | Recycle   |       1 | 301,677,627,734 |       70 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-14 06:56:09 |
> |      10 | file_0010  | Recycle   |       1 |   1,482,610,438 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-14 06:56:56 |
> |      11 | file_0011  | Recycle   |       1 | 297,785,468,267 |       69 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-15 06:14:48 |
> |      12 | file_0012  | Recycle   |       1 |     326,827,091 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-15 06:15:21 |
> |      13 | file_0013  | Recycle   |       1 |     687,959,903 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-15 23:10:10 |
> |      14 | file_0014  | Recycle   |       1 |     700,460,095 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-16 23:10:12 |
> |      15 | file_0015  | Recycle   |       1 |   5,408,772,092 |        1 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-17 14:02:57 |
> |      16 | file_0016  | Recycle   |       1 |      85,692,487 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-17 22:02:59 |
> |      17 | file_0017  | Recycle   |       1 |   5,479,213,260 |        1 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-18 14:58:46 |
> |      18 | file_0018  | Recycle   |       1 |   7,391,498,443 |        1 |   
>  1,728,000 |       1 |    0 |         0 | File      | 2010-05-19 01:15:46 |
> |      19 | file_0019  | Recycle   |       1 |               0 |        0 |   
>  1,728,000 |       1 |    0 |         0 | File      | 0000-00-00 00:00:00 |
> |      20 | file_0020  | Recycle   |       1 |               0 |        0 |   
>  1,728,000 |       1 |    1 |         0 | File      | 0000-00-00 00:00:00 |
> |      21 | file_0021  | Recycle   |       1 |               0 |        0 |   
>  1,728,000 |       1 |    2 |         0 | File      | 0000-00-00 00:00:00 |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> *
>
> We'll see how that works.
> Thanks!
>

It looks like the problem was that 5/12/2010 was the oldest volume and
and that is not 20 days ago so it could not have been purged.

John

------------------------------------------------------------------------------

_______________________________________________
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>