Bacula-users

Re: [Bacula-users] Device is BLOCKED waiting to create a volume for:...

2009-09-10 08:42:55
Subject: Re: [Bacula-users] Device is BLOCKED waiting to create a volume for:...
From: John Drescher <drescherjm AT gmail DOT com>
To: Ralf Gross <Ralf-Lists AT ralfgross DOT de>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 10 Sep 2009 08:30:46 -0400
On Thu, Sep 10, 2009 at 6:37 AM, Ralf Gross <Ralf-Lists AT ralfgross DOT de> 
wrote:
> Hi,
>
> bacula 3.0.2 (updated 3 weeks ago). Can anyone explain why bacula is not using
> a volume from the INV-MPC-Differential pool?
>
>
> status dir:
>
> [...]
> Running Jobs:
> Console connected at 10-Sep-09 12:06
> Console connected at 10-Sep-09 12:19
>  JobId Level   Name                       Status
> ======================================================================
>  15346 Differe  VU0EF005-INV-Volume1.2009-09-10_12.16.43_07 is waiting for an 
> appendable Volume
> [...]
>
>
> status storage:
>
> [...]
> Device "ULTRIUM-TD4-D2" (/dev/ULTRIUM-TD4-D2) is mounted with:
>    Volume:      A00175L4
>    Pool:        INV-MPC-Differential
>    Media type:  LTO4
>    Device is BLOCKED waiting to create a volume for:
>       Pool:        INV-MPC-Differential
>       Media type:  LTO4
>    Slot 100 is loaded in drive 1.
> Configured device capabilities:
> EOF BSR BSF FSR FSF EOM REM !RACCESS AUTOMOUNT !LABEL !ANONVOLS ALWAYSOPEN
> Device state:
> OPENED TAPE LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT 
> !MOUNTED
> num_writers=0 reserved=1 block=2
> [...]
>
>
>
> *list media pool=INV-MPC-Differential
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | mediaid | volumename | volstatus | enabled | volbytes       | volfiles | 
> volretention | recycle | slot | inchanger | mediatype | lastwritten         |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |     595 | A00194L4   | Recycle   |       1 |          1,024 |        0 | 
>  946,080,000 |       0 |  104 |         1 | LTO4      |                     |
> |     596 | A00061L4   | Recycle   |       1 | 27,248,243,712 |        5 | 
>  946,080,000 |       0 |  102 |         1 | LTO4      | 2009-09-10 11:22:49 |
> |     597 | A00062L4   | Recycle   |       1 | 21,536,350,208 |        4 | 
>  946,080,000 |       0 |  103 |         1 | LTO4      | 2009-09-10 11:32:46 |
> |     598 | A00195L4   | Recycle   |       1 | 69,789,811,712 |       13 | 
>  946,080,000 |       0 |  105 |         1 | LTO4      | 2009-09-10 12:03:37 |
> |     599 | A00175L4   | Recycle   |       1 |          1,024 |        0 | 
>  946,080,000 |       0 |  100 |         1 | LTO4      |                     |
> |     600 | A00174L4   | Recycle   |       1 |          1,024 |        0 | 
>  946,080,000 |       0 |  101 |         1 | LTO4      |                     |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>
>
> *mount
> The defined Storage resources are:
> [...]
> Select Storage resource (1-17): 3
> Enter autochanger drive[0]: 1
> Enter autochanger slot: 100
> 3001 OK mount requested. Specified slot ignored. Device="ULTRIUM-TD4-D2" 
> (/dev/ULTRIUM-TD4-D2)
> *mess
> 10-Sep 12:32 VU0EA003-sd JobId 15346: Job 
> VU0EF005-INV-Volume1.2009-09-10_12.16.43_07 waiting. Cannot find any 
> appendable volumes.
> Please use the "label"  command to create a new Volume for:
>    Storage:      "ULTRIUM-TD4-D2" (/dev/ULTRIUM-TD4-D2)
>    Pool:         INV-MPC-Differential
>    Media type:   LTO4
>
>
>
>
>
> Even after restarting the dir and sd bacula refused to use a volume. I purged
> all volumes and updated the status to Recycle. I haven't seen this with 2.4.x.
>

All your volumes say Recycle=0 and have a 10950 day retention period.

946,080,000 / 60 / 60 /24= 10950

John

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users