Hi guys,
We are now bitten by one issue in our failed jobs. Once our disk is full and can not create a catalog, which can be fixed easily, here is the log
08-Mar 22:10 bacsd01:storage JobId 16767: Warning: mount.c:227 Open device "bacdir01:Catalog"
(/opt/bacula/bacdir01/catalog) Volume "bacdir01.catalog.255" failed: ERR=dev.c:549
Could not open: /opt/bacula/bacdir01/catalog/bacdir01.catalog.255,
ERR=No space left on device
but what is not expected is that the job did not just stop, it kept retrying, so we got the error log below
08-Mar 22:10 bacsd01:storage JobId 16767: Please mount Volume "bacdir01.catalog.255" or label a new one for:
Job: bacdir01:Catalog.2014-03-08_22.10.00_34
Storage: "bacdir01:Catalog" (/opt/bacula/bacdir01/catalog)
Pool: bacsd01:pool:catalog
Media type: File
08-Mar 22:15 bacsd01:storage JobId 16767: Warning: mount.c:227 Open device "bacdir01:Catalog"
(/opt/bacula/bacdir01/catalog) Volume "bacdir01.catalog.255"failed: ERR=dev.c:549 Could not open:
/opt/bacula/bacdir01/catalog/bacdir01.catalog.255, ERR=No such file or directory
08-Mar 22:15 bacsd01:storage JobId 16767: Warning: mount.c:227 Open device "bacdir01:Catalog"
(/opt/bacula/bacdir01/catalog) Volume "bacdir01.catalog.255"failed: ERR=dev.c:549 Could not open:
/opt/bacula/bacdir01/catalog/bacdir01.catalog.255, ERR=No such file or directory
08-Mar 22:15 bacsd01:storage JobId 16767: Warning: mount.c:227 Open device "bacdir01:Catalog"
(/opt/bacula/bacdir01/catalog) Volume "bacdir01.catalog.255"failed: ERR=dev.c:549 Could not open:
/opt/bacula/bacdir01/catalog/bacdir01.catalog.255, ERR=No such file or directory
There are millions of "Could not open: .... No such file or directory" message generated into log file, email file and database, eventually filled all our bacula directory disk.
So the questions here is:
- Why failed open a Volume is not failling the job?
- How can I disable the massive warning log?