Bacula-users

Re: [Bacula-users] Labeling when using native virtual autochanger

2015-10-23 10:26:18
Subject: Re: [Bacula-users] Labeling when using native virtual autochanger
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: Dan Langille <dan AT langille DOT org>
Date: Fri, 23 Oct 2015 11:24:23 -0300
Thank you Dan :)

Regards,
Ana

On Fri, Oct 23, 2015 at 9:51 AM, Dan Langille <dan AT langille DOT org> wrote:

On Sep 12, 2015, at 2:42 PM, Ana Emília M. Arruda <emiliaarruda AT gmail DOT com> wrote:

Hello Dan,

On Sun, Sep 6, 2015 at 6:56 PM, Dan Langille <dan AT langille DOT org> wrote:
I'm not sure if this is a configuration problem or not.  The problem recurred later in the day when the pool filled up.

​I don't think this is a configuration problem, but ​a version 7.0.5 bug. I was able to reproduce this error using version 7.0.5, but it worked fine using version 7.2.0:


***** using version 7.0.5 (output from debug mode):

bacula-sd: dircmd.c:802-0 Found changer device vDrive-1
3001 OK mount requested. Device="vDrive-1" (/opt/bacula/volumes)
bacula-dir: next_vol.c:268-62 Vol=Teste-0312 expired=0
bacula-sd: file_dev.c:173-62 open failed: file_dev.c:172 Could not open(/opt/bacula/volumes/Teste-0312,OPEN_READ_WRITE,0640): ERR=No such file or directory
bacula-sd: mount.c:746-62 Create new volume label vol=Teste-0312
bacula-sd: file_dev.c:173-62 open failed: file_dev.c:172 Could not open(/opt/bacula/volumes/Teste-0312,OPEN_READ_WRITE,0640): ERR=No such file or directory
bacula-sd: label.c:379-62 Call reserve_volume
bacula-dir: next_vol.c:268-62 Vol=Teste-0312 expired=0

***** using version 7.2.0:

*reload
*m
12-Sep 15:29 bacula-server-dir JobId 31: Created new Volume="VirtualFull-0017", Pool="VirtualFullPool", MediaType="File" in catalog.
12-Sep 15:29 bacula-server-sd JobId 31: Labeled new Volume "VirtualFull-0017" on file device "vDrive-2" (/home/bacula/volumes).
12-Sep 15:29 bacula-server-sd JobId 31: Wrote label to prelabeled Volume "VirtualFull-0017" on file device "vDrive-2" (/home/bacula/volumes)
12-Sep 15:29 bacula-server-sd JobId 31: New volume "VirtualFull-0017" mounted on device "vDrive-2" (/home/bacula/volumes) at 12-Sep-2015 15:29.
12-Sep 15:29 bacula-server-sd JobId 31: Elapsed time=00:00:01, Transfer rate=16.66 M Bytes/second
12-Sep 15:29 bacula-server-sd JobId 31: Sending spooled attrs to the Director. Despooling 4,361 bytes ...

I upgraded to 7.2.0 a few weeks ago. The pool filled up today.  I bumped the max-volumes, did a reload, and backups continued.

The best test will be 1 Nov, when full backups are run.  Thank you for the help.

Please use the "label" command to create a new Volume for:
    Storage:      "vDrive-1" (/usr/local/bacula/volumes)
    Pool:         IncrFile
    Media type:   File
23-Oct 10:10 crey-sd JobId 221773: Job BackupCatalog.2015-10-23_03.05.25_03 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "vDrive-1" (/usr/local/bacula/volumes)
    Pool:         IncrFile
    Media type:   File
23-Oct 12:15 crey-sd JobId 221773: Job BackupCatalog.2015-10-23_03.05.25_03 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "vDrive-1" (/usr/local/bacula/volumes)
    Pool:         IncrFile
    Media type:   File
*list pools
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+--------+--------------------+---------+---------+----------+---------------------+
| poolid | name               | numvols | maxvols | pooltype | labelformat         |
+--------+--------------------+---------+---------+----------+---------------------+
|      1 | Default            |       1 |       0 | Backup   | *                   |
|      3 | Fulls              |     275 |       0 | Backup   | *                   |
|     19 | Incrementals       |     131 |       0 | Backup   | *                   |
|     20 | Differentials      |      32 |       0 | Backup   | *                   |
|     22 | FullFile           |   2,040 |   2,040 | Backup   | FullAuto-           |
|     23 | DiffFile           |     132 |     135 | Backup   | DiffAuto-           |
|     24 | IncrFile           |     276 |     276 | Backup   | IncrAuto-           |
|     25 | Scratch            |      23 |       0 | Backup   | *                   |
|     26 | IncrFileNoNextPool |      87 |       0 | Backup   | IncrAutoNoNextPool- |
|     27 | FullFileNoNextPool |     248 |       0 | Backup   | FullAutoNoNextPool- |
|     29 | TwoHourlyBackups   |      20 |      20 | Backup   | TwoHourly-          |
|     30 | DailyBackups       |      25 |      35 | Backup   | Daily-              |
|     31 | WeeklyBackups      |       6 |      10 | Backup   | Weekly-             |
|     32 | MonthlyBackups     |      12 |      13 | Backup   | Monthly-            |
|     33 | KeepThreeMonths    |       3 |       0 | Backup   | *                   |
+--------+--------------------+---------+---------+----------+---------------------+
*reload
*m
You have no messages.
*list pools
+--------+--------------------+---------+---------+----------+---------------------+
| poolid | name               | numvols | maxvols | pooltype | labelformat         |
+--------+--------------------+---------+---------+----------+---------------------+
|      1 | Default            |       1 |       0 | Backup   | *                   |
|      3 | Fulls              |     275 |       0 | Backup   | *                   |
|     19 | Incrementals       |     131 |       0 | Backup   | *                   |
|     20 | Differentials      |      32 |       0 | Backup   | *                   |
|     22 | FullFile           |   2,040 |   2,040 | Backup   | FullAuto-           |
|     23 | DiffFile           |     132 |     135 | Backup   | DiffAuto-           |
|     24 | IncrFile           |     276 |     300 | Backup   | IncrAuto-           |
|     25 | Scratch            |      23 |       0 | Backup   | *                   |
|     26 | IncrFileNoNextPool |      87 |       0 | Backup   | IncrAutoNoNextPool- |
|     27 | FullFileNoNextPool |     248 |       0 | Backup   | FullAutoNoNextPool- |
|     29 | TwoHourlyBackups   |      20 |      20 | Backup   | TwoHourly-          |
|     30 | DailyBackups       |      25 |      35 | Backup   | Daily-              |
|     31 | WeeklyBackups      |       6 |      10 | Backup   | Weekly-             |
|     32 | MonthlyBackups     |      12 |      13 | Backup   | Monthly-            |
|     33 | KeepThreeMonths    |       3 |       0 | Backup   | *                   |
+--------+--------------------+---------+---------+----------+---------------------+
*
23-Oct 12:45 bacula-dir JobId 221773: Created new Volume="IncrAuto-5030", Pool="IncrFile", MediaType="File" in catalog.
23-Oct 12:45 crey-sd JobId 221773: Labeled new Volume "IncrAuto-5030" on file device "vDrive-1" (/usr/local/bacula/volumes).
23-Oct 12:45 crey-sd JobId 221773: Wrote label to prelabeled Volume "IncrAuto-5030" on file device "vDrive-1" (/usr/local/bacula/volumes)
23-Oct 12:45 crey-sd JobId 221773: New volume "IncrAuto-5030" mounted on device "vDrive-1" (/usr/local/bacula/volumes) at 23-Oct-2015 12:45.
*

— 
Dan Langille






------------------------------------------------------------------------------

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


------------------------------------------------------------------------------
_______________________________________________
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>