Re: [Bacula-users] Volume issues with 11.0.6 running in docker

2023-09-07 Thread Ana Emília M . Arruda
Hello Daniel,

You should have a look at the NFS server logs. Looks like the volumes files
are getting corrupted.

There is the SyncOnClose device directive that may help in these cases
where volumes are stored in nfs.

Best,
Ana

El lun., 7 ago. 2023 18:59, Daniel Rich via Bacula-users <
bacula-users@lists.sourceforge.net> escribió:

> I recently migrated my bacula director and storage daemon to version 11
> and am running them in docker. Ever since, I have started getting
> occasional volume errors that can only be resolved by restarting the
> bacula-sd container or in some cases deleting and relabeling a volume.
> Thinks will run fine for a week or two (or more) and then start throwing
> errors. Has anyone else seen anything like this?
>
> These volumes are file volumes that live on my Synology and are mounted
> over NFS.
>
> Here’s a example of what I’m seeing:
> 07-Aug 06:10 morpheus-dir JobId 3671: shell command: run BeforeJob
> "/opt/bacula/etc/scripts/make_catalog_backup.pl MyCatalog"
> 07-Aug 06:11 morpheus-dir JobId 3671: Start Backup JobId 3671,
> Job=BackupCatalog.2023-08-07_06.10.00_18
> 07-Aug 06:11 morpheus-dir JobId 3671: Using Device "vDrive-03" to write.
> 07-Aug 06:11 morpheus-sd JobId 3671: Fatal error: block_util.c:478 Volume
> data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
> 07-Aug 06:11 morpheus-fd JobId 3671: Fatal error: job.c:3012 Bad response
> from SD to Append Data command. Wanted 3000 OK data
> , got len=257 msg="3903 Error append data: Read label block failed:
> requested Volume "morpheus-0076" on File device "vDrive-03" (/srv/backup)
> is not a Bacula labeled Volume, because: ERR=block_util.c:478 Volume data
> error at 0:0! Wanted ID: "BB02", got "". Buffer discarded."
> 07-Aug 06:11 morpheus-dir JobId 3671: Error: Bacula morpheus-dir 11.0.6
> (10Mar22):
> Build OS: x86_64-redhat-linux-gnu-bacula redhat (Core)
> JobId: 3671
> Job: BackupCatalog.2023-08-07_06.10.00_18
> Backup Level: Full
> Client: "morpheus-fd" 9.6.7 (10Dec20) x86_64-pc-linux-gnu,ubuntu,20.04
> FileSet: "Catalog" 2022-08-07 06:10:00
> Pool: "morpheus" (From Job resource)
> Catalog: "MyCatalog" (From Client resource)
> Storage: "File" (From Job resource)
> Scheduled time: 07-Aug-2023 06:10:00
> Start time: 07-Aug-2023 06:11:39
> End time: 07-Aug-2023 06:11:40
> Elapsed time: 1 sec
> Priority: 10
> FD Files Written: 0
> SD Files Written: 0
> FD Bytes Written: 0 (0 B)
> SD Bytes Written: 0 (0 B)
> Rate: 0.0 KB/s
> Software Compression: None
> Comm Line Compression: None
> Snapshot/VSS: no
> Encryption: no
> Accurate: no
> Volume name(s):
> Volume Session Id: 72
> Volume Session Time: 1690744006
> Last Volume Bytes: 1 (1 B)
> Non-fatal FD errors: 1
> SD Errors: 1
> FD termination status: Error
> SD termination status: Error
> Termination: *** Backup Error ***
>
> Dan Rich  |   http://www.employees.org/~drich/
>|  "Step up to red alert!"  "Are you sure,
> sir?
>|   It means changing the bulb in the
> sign..."
>|  - Red Dwarf (BBC)
> ___
> 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


[Bacula-users] Volume issues with 11.0.6 running in docker

2023-08-07 Thread Daniel Rich via Bacula-users
I recently migrated my bacula director and storage daemon to version 11 and am 
running them in docker. Ever since, I have started getting occasional volume 
errors that can only be resolved by restarting the bacula-sd container or in 
some cases deleting and relabeling a volume. Thinks will run fine for a week or 
two (or more) and then start throwing errors. Has anyone else seen anything 
like this? 

These volumes are file volumes that live on my Synology and are mounted over 
NFS.

Here’s a example of what I’m seeing:
07-Aug 06:10 morpheus-dir JobId 3671: shell command: run BeforeJob 
"/opt/bacula/etc/scripts/make_catalog_backup.pl MyCatalog" 
07-Aug 06:11 morpheus-dir JobId 3671: Start Backup JobId 3671, 
Job=BackupCatalog.2023-08-07_06.10.00_18 
07-Aug 06:11 morpheus-dir JobId 3671: Using Device "vDrive-03" to write. 
07-Aug 06:11 morpheus-sd JobId 3671: Fatal error: block_util.c:478 Volume data 
error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. 
07-Aug 06:11 morpheus-fd JobId 3671: Fatal error: job.c:3012 Bad response from 
SD to Append Data command. Wanted 3000 OK data 
, got len=257 msg="3903 Error append data: Read label block failed: requested 
Volume "morpheus-0076" on File device "vDrive-03" (/srv/backup) is not a Bacula 
labeled Volume, because: ERR=block_util.c:478 Volume data error at 0:0! Wanted 
ID: "BB02", got "". Buffer discarded." 
07-Aug 06:11 morpheus-dir JobId 3671: Error: Bacula morpheus-dir 11.0.6 
(10Mar22): 
Build OS: x86_64-redhat-linux-gnu-bacula redhat (Core) 
JobId: 3671 
Job: BackupCatalog.2023-08-07_06.10.00_18 
Backup Level: Full 
Client: "morpheus-fd" 9.6.7 (10Dec20) x86_64-pc-linux-gnu,ubuntu,20.04 
FileSet: "Catalog" 2022-08-07 06:10:00 
Pool: "morpheus" (From Job resource) 
Catalog: "MyCatalog" (From Client resource) 
Storage: "File" (From Job resource) 
Scheduled time: 07-Aug-2023 06:10:00 
Start time: 07-Aug-2023 06:11:39 
End time: 07-Aug-2023 06:11:40 
Elapsed time: 1 sec 
Priority: 10 
FD Files Written: 0 
SD Files Written: 0 
FD Bytes Written: 0 (0 B) 
SD Bytes Written: 0 (0 B) 
Rate: 0.0 KB/s 
Software Compression: None 
Comm Line Compression: None 
Snapshot/VSS: no 
Encryption: no 
Accurate: no 
Volume name(s): 
Volume Session Id: 72 
Volume Session Time: 1690744006 
Last Volume Bytes: 1 (1 B) 
Non-fatal FD errors: 1 
SD Errors: 1 
FD termination status: Error 
SD termination status: Error 
Termination: *** Backup Error *** 

Dan Rich  |   http://www.employees.org/~drich/
                               |  "Step up to red alert!"  "Are you sure, sir?
                               |   It means changing the bulb in the sign..."
                               |          - Red Dwarf (BBC)

signature.asc
Description: Message signed with OpenPGP using AMPGpg
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users