Bacula-users

[Bacula-users] Bacula gets stuck on Device is BLOCKED waiting to create a volume for

2008-12-04 14:01:52
Subject: [Bacula-users] Bacula gets stuck on Device is BLOCKED waiting to create a volume for
From: "Dos mage" <dosmage AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 4 Dec 2008 10:59:41 -0800
I am having another issue that is more troublesome.  It seems that Bacula will become certain that there are no possibilities of available media and require me to label a new volume to proceed.

04-Dec 10:49 coal-sd JobId 21258: Job CoalEMC.2008-12-04_01.10.41 waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "jrcac-coal-0" (/var/lib/bacula/vchanger/jrcac/drive0)
    Pool:         jrcac13-coal
    Media type:   File

Pool: jrcac13-coal
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|     199 | Vol0021    | Recycle   |       1 |               1 |        0 |    1,123,200 |       1 |   17 |         0 | File      | 2008-09-07 04:25:00 |
|     200 | Vol0022    | Append    |       1 |  64,864,439,230 |       15 |    1,123,200 |       1 |   18 |         0 | File      | 2008-09-25 08:50:36 |
|     212 | Vol0024    | Full      |       1 | 109,999,943,448 |       25 |    1,123,200 |       1 |   20 |         0 | File      | 2008-09-22 20:29:06 |
|     240 | Vol0161    | Append    |       1 |  72,585,550,048 |       16 |    1,123,200 |       1 |  161 |         1 | File      | 2008-12-02 16:38:01 |
|     241 | Vol0162    | Append    |       1 |   6,817,449,847 |        1 |    1,123,200 |       1 |  162 |         1 | File      | 2008-12-03 23:14:25 |
|     242 | Vol0163    | Recycle   |       1 |               1 |        0 |    1,123,200 |       1 |  163 |         1 | File      | 0000-00-00 00:00:00 |
|     243 | Vol0164    | Purged    |       1 |             191 |        0 |    1,123,200 |       1 |  164 |         1 | File      | 0000-00-00 00:00:00 |
|     244 | Vol0165    | Purged    |       1 |             191 |        0 |    1,123,200 |       1 |  165 |         1 | File      | 0000-00-00 00:00:00 |
|     245 | Vol0166    | Purged    |       1 |             191 |        0 |    1,123,200 |       1 |  166 |         1 | File      | 0000-00-00 00:00:00 |
|     246 | Vol0167    | Purged    |       1 |             191 |        0 |    1,123,200 |       1 |  167 |         1 | File      | 0000-00-00 00:00:00 |
|     247 | Vol0168    | Purged    |       1 |             191 |        0 |    1,123,200 |       1 |  168 |         1 | File      | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

When I attempt to mount a volume that is appendable it simply restates that I need to label a new volume for the pool.

*mount
The defined Storage resources are:
     1: CoalFile
     2: vcsjrcac-coal
     3: vcsjrcac-pitch
Select Storage resource (1-3): 2
Enter autochanger drive[0]:
Enter autochanger slot: 161
3001 OK mount. Device="jrcac-coal-0" (/var/lib/bacula/vchanger/jrcac/drive0)
*messages
04-Dec 10:56 coal-sd JobId 21258: Job CoalEMC.2008-12-04_01.10.41 waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "jrcac-coal-0" (/var/lib/bacula/vchanger/jrcac/drive0)
    Pool:         jrcac13-coal
    Media type:   File

I have not found any workaround to this other than giving in to its demands and labeling a new volume.  That option is not available to me 99.99% of the time.  Has anyone seen this behaviour?  If so, what was your solution?


--
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 gets stuck on Device is BLOCKED waiting to create a volume for, Dos mage <=