Bacula-users

[Bacula-users] volume recycling problem

2009-04-15 14:30:10
Subject: [Bacula-users] volume recycling problem
From: Dirk Kleinhesselink <dkleinh AT phy.ucsf DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 15 Apr 2009 11:07:33 -0700 (PDT)
I'm having a problem with over-writing recycled volumes.  I have my
jobs setup so that I retain file information for 90 days and job
retention for 6 months:

   File Retention = 90 days            # 90 days
   Job Retention = 6 months            # six months

And my catalog has:
   Volume REtention = 6 months

I have my tapes labelled sequentially and I overwrite them - no earlier
than 6 months.  However sometimes it will decide to skip a tape - I don't 
know why.  I have purged the volume when putting it into my autoloader,
so it should be considered available.  The most recent time this
happened, I noticed that it shows the tape as being written less
than 6 months ago.  That apparently happened when I did a restore from 
that tape - and for some reason bacula decided it had written to the tape. 
I'm pretty sure that when I did the restore, I set the tape read-only
out of paranoia I'd forget the tape in the drive and it would've been
over written.  I believe I did unset the read-only switch on the tape and 
I did purge the volume:


+---------+------------+-----------+---------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes     | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten 
|
+---------+------------+-----------+---------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
+---------+------------+-----------+---------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 85      | Keck-084   | Full      | 1       | 590132745216 | 720      | 
15552000     | 1       | 1    | 1         | LTO-3     | 2009-04-11 
17:48:50 |
| 86      | Keck-085   | Full      | 1       | 583355114496 | 585      | 
15552000     | 1       | 2    | 1         | LTO-3     | 2009-04-12 
00:04:31 |
| 87      | Keck-086   | Purged    | 1       | 579806631936 | 583      | 
15552000     | 1       | 3    | 1         | LTO-3     | 2009-01-14 
13:08:05 |
| 88      | Keck-087   | Full      | 1       | 573925976064 | 596      | 
15552000     | 1       | 4    | 1         | LTO-3     | 2009-04-13 
20:53:37 |
| 89      | Keck-088   | Append    | 1       | 106350418944 | 151      | 
15552000     | 1       | 5    | 1         | LTO-3     | 2009-04-15 
02:40:12 |

So you can see it skipped tape Keck-086.  How can I make it use this tape?

Thanks for any help.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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>