Bacula-users

[Bacula-users] Tapes not recycling: VolStatus = Error, all job are stalled

2009-04-17 18:14:59
Subject: [Bacula-users] Tapes not recycling: VolStatus = Error, all job are stalled
From: Erik Lucero <erik.lucero AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 17 Apr 2009 15:10:04 -0700
Hello,

I am running bacula release 2.2.7 on Debian (Etch distribution 4.1.2-24) using a sony tape drive and I am having some problems recycling my volumes. I have read through the manual a number of times and searched the email archive, but it looks like I might be the first to experience this particular problem.

In the director configuration file I have specified the pool definition as the following:
# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       
  AutoPrune = yes                    
  Volume Retention = 365 days         
}

Bacula has failed to execute any new jobs, because the volume it wants to use is marked "Error". It seems that Bacula will not automatically recycle the volume because its retention period has not expired. Therefore, I tried to manually recycle the volume marked in error (following the instructions in the manual), but received the following message:
"0 Files on Volume "June08-02" purged from catalog." And then when I list volumes the offending volume is still marked "error". Is there way to recycle a volume that has been marked "error"? 


Below is a shortened version of the volumes in my pool:
The media 1-41 are all full of data. Starting with media ID 42 and running to ID 48, I want to continue running jobs on. These volumes were added to the pool more recently than those that have data and therefore the "Recycle Oldest Volume =Yes" option in the director configuration will not enforce the correct recycling of media.

Any ideas? 

I appreciate any help and/or insight.

-ERIK


Pool: Default
+---------+----------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName     | VolStatus | Enabled | VolBytes    | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+----------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1       | July05-01      | Full      | 1       | 30048334848 | 32       | 31536000     | 1       | 0    | 0         | DDS-4     | 2008-12-19 16:00:27 |
|2       | July05-03      | Full      | 1       | 30035561472 | 31       | 31536000     | 1       | 0    | 0         | DDS-4     | 2008-12-19 23:39:15 |
...


| 42      | June08-02      | Error     | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
| 43      | June08-03      | Full      | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
| 44      | June08-04      | Full      | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
| 45      | June08-05      | Full      | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
| 46      | June08-06      | Full      | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
| 47      | June08-07      | Full      | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
| 48      | June08-08      | Full      | 1       | 0           | 0        | 31536000     | 1       | 0    | 0         | DDS-4     | 0                   |
+---------+----------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users