Bacula-users

Re: [Bacula-users] Auto label frustration....

2010-02-01 13:44:40
Subject: Re: [Bacula-users] Auto label frustration....
From: John Drescher <drescherjm AT gmail DOT com>
To: Russell Sutherland <russ AT madhaus.cns.utoronto DOT ca>
Date: Mon, 1 Feb 2010 13:42:33 -0500
On Mon, Feb 1, 2010 at 12:56 PM, Russell Sutherland
<russ AT madhaus.cns.utoronto DOT ca> wrote:
> My autolabels just stopped working. For no apparent reason. Here's the
> error message:
>
> *messages
> 01-Feb 12:49 tank-dir JobId 21689: Start Backup JobId 21689,
> Job=madhaus-home.2010-02-01_12.49.16_07
> 01-Feb 12:49 tank-dir JobId 21689: Using Device "Tank-large-device"
> 01-Feb 12:49 tank-sd JobId 21689: Job madhaus-home.
> 2010-02-01_12.49.16_07 waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "Tank-large-device" (/opt/bacula)
>     Pool:         Inc-Pool
>     Media type:   Tank-large-file
>
> I  believe my configuration is set to allow for auto labeling:
>
> Pool {
>         Name = Inc-Pool
>         Pool Type = Backup
>         Recycle = yes
>         AutoPrune = yes
>         Volume Retention = 20 days
>         Maximum Volume Jobs = 216             # 6 times number of
> total Jobs, One week of Incs
>         Label Format = Inc-
>         Maximum Volumes = 7
> }
>
> Here's the appropriate section from the SD configuration file:
>
> Device {
>   Name = Tank-large-device
>   Media Type = Tank-large-file
>   Archive Device =  /opt/bacula
>   Random Access = yes
>   Automatic Mount = yes
>   Removable Media = no
>   Always Open = no
>   Label Media = yes
> }
>
>
> And here's the job definition:
>
>
> JobDefs {
>   Name = "DefaultJob"
>   Type = Backup
>   Level = Incremental
>   Client = tank-fd
>   FileSet = "Full Set"
>   Schedule = "WeeklyCycle"
>   Messages = Standard
>   Storage = Storage-tank-large
>   Pool = Default
>   Write Bootstrap = "/var/db/bacula/%c_%n.bsr"
>   Priority = 10
>   Full Backup Pool = Full-Pool
>   Differential Backup Pool = Diff-Pool
>   Incremental Backup Pool = Inc-Pool
> }
>
> Job {
>   Name = madhaus-home
>   Enabled = yes
>   JobDefs = DefaultJob
>   Client = madhaus-fd
>   FileSet = "Home"
> }
>
>
> Here's the Pool Volume info:
>
> +---------+------------+-----------+---------+----------------
> +----------+--------------+---------+------+-----------
> +-----------------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes       |
> VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType
> | LastWritten         |
> +---------+------------+-----------+---------+----------------
> +----------+--------------+---------+------+-----------
> +-----------------+---------------------+
> |      26 | Inc-0026   | Full      |       1 | 40,815,227,791 |
> 9 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2010-01-25 03:13:46 |
> |      54 | Inc-0054   | Full      |       1 | 39,945,080,087 |
> 9 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2010-01-29 03:20:10 |
> |      55 | Inc-0055   | Full      |       1 |  4,443,222,157 |
> 1 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2010-01-30 03:08:30 |
> |      78 | Inc-0078   | Full      |       1 |  2,171,538,568 |
> 0 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2010-01-30 03:13:46 |
> |     245 | Inc-0245   | Error     |       1 | 25,158,288,533 |
> 5 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2009-01-22 13:54:26 |
> |     344 | Inc-0344   | Full      |       1 | 49,866,197,436 |
> 11 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2010-01-20 03:19:11 |
> |     399 | Inc-0399   | Full      |       1 | 49,112,140,617 |
> 11 |    1,728,000 |       1 |    0 |         0 | Tank-large-file |
> 2010-01-13 03:09:55 |
> +---------+------------+-----------+---------+----------------
> +----------+--------------+---------+------+-----------
> +-----------------+---------------------+
>
>
> Any ideas?
>

You have 7 unusable volumes and the you told bacula to not use more than 7.

John

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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>