Bacula-users

[Bacula-users] Bacula asking for volume when inchange is 0

2008-12-04 13:43:54
Subject: [Bacula-users] Bacula asking for volume when inchange is 0
From: "Dos mage" <dosmage AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 4 Dec 2008 10:41:48 -0800
I've been having this issue since I started using Bacula.  Here is an example of my problem.  I can provide more information, but I don't know what is relevant.

04-Dec 09:50 pitch-sd JobId 21275: 3301 Issuing autochanger "loaded? drive 3" command.
04-Dec 09:50 pitch-sd JobId 21275: 3302 Autochanger "loaded? drive 3", result: nothing loaded.
04-Dec 09:50 pitch-sd JobId 21275: 3301 Issuing autochanger "loaded? drive 3" command.
04-Dec 09:50 pitch-sd JobId 21275: 3302 Autochanger "loaded? drive 3", result: nothing loaded.
04-Dec 09:50 pitch-sd JobId 21275: Invalid slot=0 defined in catalog for Volume "Vol0095" on "jrcac-pitch-3" (/var/lib/bacula/vchanger/jrcac/drive3). Manual load may be required.
04-Dec 09:50 pitch-sd JobId 21275: Please mount Volume "Vol0095" or label a new one for:
    Job:          Guppy.2008-12-04_01.10.58
    Storage:      "jrcac-pitch-3" (/var/lib/bacula/vchanger/jrcac/drive3)
    Pool:         jrcac43-pitch
    Media type:   File

Device "jrcac-pitch-3" (/var/lib/bacula/vchanger/jrcac/drive3) is not open.
    Device is BLOCKED waiting for mount of volume "Vol0095",
       Pool:        jrcac43-pitch
       Media type:  File
    Drive 3 status unknown.

Pool: jrcac43-pitch
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      25 | Vol0041    | Full      |       1 | 109,999,956,725 |       25 |    3,715,200 |       1 |   41 |         0 | File      | 2008-08-21 22:44:12 |
|      26 | Vol0042    | Full      |       1 | 109,999,972,601 |       25 |    3,715,200 |       1 |   42 |         0 | File      | 2008-09-03 23:16:25 |
|      27 | Vol0043    | Append    |       1 |  51,163,597,330 |       11 |    3,715,200 |       1 |   43 |         0 | File      | 2008-09-27 07:57:12 |
|      28 | Vol0044    | Recycle   |       1 |               1 |        0 |    3,715,200 |       1 |   44 |         0 | File      | 2008-08-20 23:53:28 |
|     285 | Vol0057    | Append    |       1 |  91,464,541,028 |       21 |    3,715,200 |       1 |   57 |         1 | File      | 2008-12-04 04:07:19 |
|     286 | Vol0058    | Full      |       1 | 109,999,959,170 |       25 |    3,715,200 |       1 |   58 |         1 | File      | 2008-11-23 01:19:53 |
|     287 | Vol0059    | Append    |       1 |  73,415,262,524 |       17 |    3,715,200 |       1 |   59 |         1 | File      | 2008-12-04 10:17:46 |
|     288 | Vol0060    | Append    |       1 |  10,009,114,933 |        2 |    3,715,200 |       1 |   60 |         1 | File      | 2008-12-04 03:04:50 |
|     297 | Vol0093    | Append    |       1 |   1,272,453,195 |        0 |    3,715,200 |       1 |   97 |         0 | File      | 2008-10-19 01:32:52 |
|     298 | Vol0094    | Full      |       1 | 102,438,890,846 |       23 |    3,715,200 |       1 |   98 |         0 | File      | 2008-11-13 22:49:12 |
|     299 | Vol0095    | Append    |       1 |  49,853,364,381 |       11 |    3,715,200 |       1 |   99 |         0 | File      | 2008-11-13 03:40:48 |
|     300 | Vol0096    | Append    |       1 |  21,765,280,110 |        5 |    3,715,200 |       1 |  100 |         0 | File      | 2008-11-06 03:07:00 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

I can then mount a different volume and it will proceed.  My problem is that this breaks automation.  I believe the root of the issue is the low number of available volumes.  I just don't understand why it tries to pick one that isn't in the magazine.  Is there a way I can configure it to wait for an available media or does this have to be taken care of manually at this point?

04-Dec 10:35 pitch-sd JobId 21275: 3301 Issuing autochanger "loaded? drive 3" command.
04-Dec 10:35 pitch-sd JobId 21275: 3302 Autochanger "loaded? drive 3", result: nothing loaded.
04-Dec 10:35 pitch-sd JobId 21275: 3301 Issuing autochanger "loaded? drive 3" command.
04-Dec 10:35 pitch-sd JobId 21275: 3302 Autochanger "loaded? drive 3", result: nothing loaded.
04-Dec 10:35 pitch-sd JobId 21275: 3301 Issuing autochanger "loaded? drive 3" command.
04-Dec 10:35 pitch-sd JobId 21275: 3302 Autochanger "loaded? drive 3", result: nothing loaded.
04-Dec 10:35 pitch-sd JobId 21275: 3307 Issuing autochanger "unload slot 59, drive 2" command.
04-Dec 10:35 pitch-sd JobId 21275: 3304 Issuing autochanger "load slot 59, drive 3" command.
*messages
04-Dec 10:35 pitch-sd JobId 21275: 3305 Autochanger "load slot 59, drive 3", status is OK.
04-Dec 10:35 pitch-sd JobId 21275: Volume "Vol0059" previously written, moving to end of data.
04-Dec 10:35 pitch-sd JobId 21275: Ready to append to end of Volume "Vol0059" size=73415262524


--
Vex
-------------------------------------------------------------------------
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Bacula asking for volume when inchange is 0, Dos mage <=