Hello,
I have a job waiting for an appendable volume even if I have a purged volume in the concerned pool.
In the messages, I have this error : "28-Mar 10:07 my-dir: Cannot purge Volume with VolStatus=Purged"
(I'm using bacula 1.38.5)
While having this output for "status dir" :
--
Running Jobs:
JobId Level Name Status
======================================================================
7846 Increme alix.2006-03-27_22.05.08 is waiting for an appendable Volume
--
and for "list volumes pool=alix-ip" :
--
+---------+---------------+-----------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+---------------+-----------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 125 | Inc-Alix-0001 | Used | 566,575,554 | 0 | 432,000 | 1 | 0 | 1 | File | 2006-03-26 22:21:48 |
| 126 | Inc-Alix-0002 | Purged | 513,182,530 | 0 | 432,000 | 0 | 0 | 1 | File | 2006-03-21 22:15:11 |
+---------+---------------+-----------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
--
Trying to purge Inc-Alix-0002 fails :
--
*purge volume=Inc-Alix-0002
This command is can be DANGEROUS!!!
It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
for retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Volume "Inc-Alix-0002" has VolStatus "Purged" and cannot be purged.
The VolStatus must be: Append, Full, Used, or Error to be purged.
--
What should I do with this this situation ? delete the volume Inc-Alix-0002 ?
Thanks,
--
Mikael Kermorgant