Hello guys!
I have been using Bacula for years, since 7.0.5. (compiled) with Centos 7.
Now I have a new backup server, with Fedora 27 and Bacula 9.0.7 (rpm).
I have seen aleatory errors in volumes, can occur in any volume
(incremental, differential or full).
In this last case, the volume was written in the last 7 days, and when the
maximum duration of the volume (7 days) occurred, the error appears.
Below copy of the last error message:
57277 27-jul 21:05 JobId 14296: Max configured use duration=604,800 sec.
exceeded. Marking Volume "bacula-vol0015" as Used.
57278 27-jul 21:05 JobId 14296: Recycled volume "bacula-vol0018"
57279 27-jul 21:05 JobId 14296: Marking Volume "bacula-vol0015" in Error in
Catalog.
57280 27-jul 21:05 JobId 14296: Attempt to set Volume Files from 1 to 0 for
Volume "bacula-vol0015".
Ignored.
57281 27-jul 21:05 JobId 14296: Error: mount.c:780 Hey!!!!! WroteVol
non-zero !!!!!
Pool: File
+---------+----------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes |
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | VolType
| VolParts | LastWritten | ExpiresIn |
+---------+----------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
| 1 | bacula-vol0001 | Used | 1 | 5,622,128,635 |
1 | 5,184,000 | 1 | 0 | 0 | File | 1
| 0 | 2018-06-27 21:09:09 | 2,379,276 |
| 10 | bacula-vol0010 | Used | 1 | 9,024,186,510 |
2 | 5,184,000 | 1 | 0 | 0 | File | 1
| 0 | 2018-07-05 21:10:09 | 3,070,536 |
| 11 | bacula-vol0011 | Used | 1 | 14,550,870,921 |
3 | 5,184,000 | 1 | 0 | 0 | File | 1
| 0 | 2018-07-12 21:08:45 | 3,675,252 |
| 13 | bacula-vol0013 | Used | 1 | 4,904,856,506 |
1 | 5,184,000 | 1 | 0 | 0 | File | 1
| 0 | 2018-07-19 21:08:59 | 4,280,066 |
| 15 | bacula-vol0015 | Error | 1 | 1 |
1 | 5,184,000 | 1 | 0 | 0 | File | 1
| 0 | 2018-07-27 21:05:01 | 4,971,028 |
| 18 | bacula-vol0018 | Append | 1 | 3,462,954,368 |
0 | 5,184,000 | 1 | 0 | 0 | File | 1
| 0 | 2018-07-29 21:09:18 | 5,144,085 |
Bellow Storage Daemon and Pool Configuration.
pools.conf
Pool
{
Name = File
Pool Type = Backup
Recycle = Yes
Recycle Oldest Volume = Yes
AutoPrune = Yes
Volume Retention = 60 Days
Volume Use Duration = 7 Days
Maximum Volume Bytes = 500GB
Maximum Volumes = 100
Label Format = "bacula-vol"
Action On Purge = Truncate
}
bacula-sd.conf
Device {
Name = FileStorage2
Media Type = File
Archive Device = /home/bacula
LabelMedia = Yes;
Random Access = Yes;
AutomaticMount = Yes;
RemovableMedia = No;
AlwaysOpen = No;
Maximum Block Size = 512K
Maximum File Size = 10GB
Maximum Concurrent Jobs = 25
}
fyi:
-Bacula 9.0.7;
-Selinux was disabled;
-using Oracle Mysql Community Server 5.7.23;
-server only runs Bacula;
-jobs running at night (low network usage);
-vlan specific for servers;
-Bacula home with nfs mount point;
I would appreciate any help to verify what is causing these errors.
Thank you
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users