I had hope this was resolved in the new version but it appears it’s still
possible with consolidate jobs that you can hang the system.
Short SD never actually lets a volume swap to a second job. This happens when
you have multiple concurrent jobs allowed. I would be ok serilizing virtual
jobs but that appears not possible if you want to allow parallel real jobs.
*list joblog jobid=71021
Automatically selected Catalog: myth_catalog
Using Catalog "myth_catalog"
2023-01-07
04:00:26 myth-dir JobId 71021: Start Virtual Backup JobId 71021,
Job=mlds-host.2023-01-07_04.00.22_27
2023-01-07 04:00:26 myth-dir JobId 71021: Bootstrap
records written to /var/lib/bareos/myth-dir.restore.2.bsr
2023-01-07 04:00:26 myth-dir
JobId 71021: Consolidating JobIds 70983,70192 containing 1327 files
2023-01-07 04:00:26 myth-dir JobId 71021: Connected Storage daemon at
myth.sheptechllc.com:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2023-01-07 04:00:26 myth-dir JobId 71021:
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2023-01-07 04:00:26
myth-dir JobId 71021: Using Device "FileStorage3" to read.
2023-01-07 04:00:26 myth-dir JobId 71021: Using Device "FileStorage4" to
write.
2023-01-07 04:00:26 myth-sd JobId 71021: Volume
"AI-Consolidated-2391" previously written, moving to end of data.
2023-01-07 04:00:26
myth-sd JobId 71021: Ready to append to end of Volume "AI-Consolidated-2391"
size=9711190052
2023-01-07 04:00:26 myth-sd JobId 71021: Warning: stored/vol_mgr.cc:495
Need volume from other drive, but swap not possible. Status: read=0
num_writers=1 num_reserve=0 swap=0 vol=AI-Consolidated-2391 from
dev="FileStorage4" (/mnt/bacula) to "FileStorage3" (/mnt/bacula)
2023-01-07 04:00:26 myth-sd JobId 71021: Warning: stored/acquire.cc:336 Read
acquire: stored/label.cc:255 Could not reserve volume AI-Consolidated-2391 on
"FileStorage3" (/mnt/bacula)
2023-01-07 04:00:26 myth-sd
JobId 71021: Please mount read Volume "AI-Consolidated-2391" for:
Job: mlds-host.2023-01-07_04.00.22_27
Storage: "FileStorage3" (/mnt/bacula)
Pool: AI-Incremental
Media type:
File
2023-01-07 04:05:26 myth-sd JobId 71021: Warning: stored/vol_mgr.cc:495
Need volume from other drive, but swap not possible. Status: read=0
num_writers=1 num_reserve=0 swap=0 vol=AI-Consolidated-2391 from
dev="FileStorage4" (/mnt/bacula) to "FileStorage3" (/mnt/bacula)
This just goes on forever until you restart the SD which will cause the job to
fail rather than wait on mount, and the next time it will run fine if it is
able to grab the volume that’s needed first.
Expected behavior is that once the job that first reserved the volume finishes
it is released for the other job that’s waiting.
Brock Palen
[email protected]
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/2457ED57-E79F-4DAE-B92A-D9DC4A3D948B%40mlds-networks.com.