I have had several of those incidents over the years.
Never got to the bottom of it.
Every once in a while, I have to manually purge a volume Bacula should
have recycled of its own.

Am 14.02.2019 um 12:08 schrieb Ben Laurie:
> I had this problem the other day, even tho I do have automatic volume
> recycling, which has always worked in the past. I had to purge one of
> the expired volumes to get it to accept it...
> 
> On Thu, 14 Feb 2019 at 10:51, Radosław Korzeniewski
> <rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>> wrote:
> 
>     Hello,
> 
>     śr., 6 lut 2019 o 16:15 byron <lbgpub...@gmail.com
>     <mailto:lbgpub...@gmail.com>> napisał(a):
> 
>         Hi
> 
>         I write my backups to LTO 7 tape.  I have 3 sets of tapes which
>         i rotate every month.  I run one full backup at the start of the
>         month and then incrementals for the rest of the month.
> 
>         I've been running these jobs for a few months now and have never
>         seen this problem.
> 
>         This month the full backups were running smoothly and had filled
>         11 tapes and then stopped with the following error
> 
>         nibbler-sd JobId 4139: Job eslab.2019-02-06_15.40.27_08 is
>         waiting. Cannot find any appendable volumes.
>         Please use the "label" command to create a new Volume for:
>         Storage: "Drive-1" (/dev/tapedrive1)
>         Pool: Labs
>         Media type: LTO-7
> 
>         However when I run "list volume" in bconsole it shows that there
>         are plenty of volumes available.  Also I see no difference
>         between the available volumes and the others 11 it was able to
>         write to.
> 
>         Pool: Labs
>         
> +---------+------------+-----------+---------+--------------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
>         | mediaid | volumename | volstatus | enabled |
>         volbytes           | volfiles | volretention | recycle | slot |
>         inchanger | mediatype | voltype | volparts | lastwritten        
>         | expiresin |
>         
> +---------+------------+-----------+---------+--------------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
>         |       2 | LAB002L7   | Full      |       1 |
>         10,083,116,090,368 |      204 |    7,776,000 |       1 |   14
>         |         1 | LTO-7     |       2 |        0 | 2018-11-03
>         03:04:02 |         0 |
>         |       3 | LAB003L7   | Full      |       1 | 
>         9,651,812,668,416 |      194 |    7,776,000 |       1 |   10
>         |         1 | LTO-7     |       2 |        0 | 2018-11-05
>         21:28:39 |         0 |
>         |       4 | LAB004L7   | Full      |       1 | 
>         7,373,476,856,832 |      147 |    7,776,000 |       1 |   19
>         |         1 | LTO-7     |       2 |        0 | 2018-11-06
>         19:13:34 |         0 |
>         |       5 | LAB005L7   | Full      |       1 | 
>         8,344,623,933,440 |      166 |    7,776,000 |       1 |   15
>         |         1 | LTO-7     |       2 |        0 | 2018-11-08
>         12:47:16 |         0 |
>         |       6 | LAB006L7   | Full      |       1 | 
>         8,224,654,758,912 |      164 |    7,776,000 |       1 |   11
>         |         1 | LTO-7     |       2 |        0 | 2018-11-07
>         02:44:29 |         0 |
>         |       7 | LAB007L7   | Full      |       1 | 
>         8,141,419,162,624 |      162 |    7,776,000 |       1 |    8
>         |         1 | LTO-7     |       2 |        0 | 2018-11-07
>         10:15:38 |         0 |
>         |       8 | LAB008L7   | Full      |       1 | 
>         9,178,463,554,560 |      183 |    7,776,000 |       1 |    5
>         |         1 | LTO-7     |       2 |        0 | 2018-11-07
>         18:43:17 |         0 |
>         |       9 | LAB009L7   | Full      |       1 | 
>         7,620,054,748,160 |      152 |    7,776,000 |       1 |    2
>         |         1 | LTO-7     |       2 |        0 | 2018-11-06
>         04:37:55 |         0 |
>         |      11 | LAB001L7   | Full      |       1 | 
>         8,706,243,009,536 |      174 |    7,776,000 |       1 |   18
>         |         1 | LTO-7     |       2 |        0 | 2018-11-08
>         03:09:23 |         0 |
>         |      13 | LAB010L7   | Full      |       1 | 
>         8,101,448,123,392 |      162 |    7,776,000 |       1 |    9
>         |         1 | LTO-7     |       2 |        0 | 2018-11-06
>         12:13:09 |         0 |
>         |      14 | LAB011L7   | Full      |       1 | 
>         7,217,116,941,312 |      144 |    7,776,000 |       1 |    0
>         |         0 | LTO-7     |       2 |        0 | 2018-11-08
>         21:28:51 |    21,234 |
>         |      15 | LAB012L7   | Full      |       1 | 
>         8,524,868,334,592 |      174 |    7,776,000 |       1 |    0
>         |         0 | LTO-7     |       2 |        0 | 2018-12-18
>         20:32:00 | 3,473,823 |
>         |      16 | LAB013L7   | Full      |       1 | 
>         7,077,963,338,752 |      142 |    7,776,000 |       1 |    0
>         |         0 | LTO-7     |       2 |        0 | 2018-12-21
>         23:10:57 | 3,742,560 |
> 
>         Its my understanding that if the value "expiresin" in is set to
>         "0" then the backups should be able to use it  (I appreciate
>         there are other values such as ""recycle" that come into play
>         but since these tape are being recycled for the nth time I dont
>         see how they could be wrong).
> 
>         Any help much appreciated.
> 
> 
>     The volume has to be in Append, Purge or Recycle status for Bacula
>     to use it. All your volumes have a Full status and Bacula cannot use
>     them.
> 
>     In your case it is very plausible that you do not setup an automatic
>     volume recycling, so you have to do it manually.
> 
>     best regards 
>     -- 
>     Radosław Korzeniewski
>     rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>
>     _______________________________________________
>     Bacula-users mailing list
>     Bacula-users@lists.sourceforge.net
>     <mailto:Bacula-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to