Bacula-users

Re: [Bacula-users] bacula 2.0.3 (linux/sun robot/mysql) issues: VolStatus=error and 'use "label" command to create new Volume'

2008-08-15 16:32:39
Subject: Re: [Bacula-users] bacula 2.0.3 (linux/sun robot/mysql) issues: VolStatus=error and 'use "label" command to create new Volume'
From: "John Drescher" <drescherjm AT gmail DOT com>
To: Mark <mark AT jibjab DOT net>
Date: Fri, 15 Aug 2008 16:32:32 -0400
> Excepting the tapes that show as 'error' the all show as 'full' [0]. Not
> sure how to proceed further, as the next volume bacula wants to use is
> mediaid 29 and it's shown as 'full'...
>
Normally should be fine. Bacula will only recycle a volume when it
actually needs the tape. If the retention period is not yet up you can
force it with a purge.

> [0] partial list volumes report
>
> Pool: Full-Pool
> +---------+------------+-----------+---------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes     | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten    |
> | 29      | BEZ929L3   | Full      | 1       | 737240297472 | 738      |
> 2592000      | 1       | 9    | 1         | LTO-3     | 2008-08-06 06:51:42
> |
> | 30      | BEZ930L3   | Full      | 1       | 470694905856 | 471      |
> 2592000      | 1       | 8    | 1         | LTO-3     | 2008-08-07 17:01:10
> |
> | 31      | BEZ931L3   | Full      | 1       | 532642231296 | 533      |
> 2592000      | 1       | 7    | 1         | LTO-3     | 2008-08-04 06:38:20
> |
> | 32      | BEZ920L3   | Full      | 1       | 479565563904 | 480      |
> 2592000      | 1       | 18   | 1         | LTO-3     | 2008-08-04 17:57:37
> |
> | 33      | BEZ921L3   | Full      | 1       | 573118414848 | 574      |
> 2592000      | 1       | 17   | 1         | LTO-3     | 2008-08-04 20:57:39
> |
> | 34      | BEZ922L3   | Full      | 1       | 472322479104 | 473      |
> 2592000      | 1       | 16   | 1         | LTO-3     | 2008-08-04 15:20:52
> |
> | 36      | BEZ924L3   | Full      | 1       | 439641667584 | 440      |
> 2592000      | 1       | 14   | 1         | LTO-3     | 2008-08-05 17:00:48
> |
> | 41      | BEZ941L3   | Error     | 1       | 477969408000 | 478      |
> 2592000      | 1       | 22   | 1         | LTO-3     | 2008-08-06
>

If my calculation (2592000 / 60 /60 / 24) is correct your retention
time is 30 days. That means that bacula will hold these tapes for 30
days after they are marked Full or Used. So none of the above tapes
will be available since they were all written this month. If you want
to use any of them you will have to purge. And since you are already
purging the Error tapes that should be sufficient.

John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users