Consolidate jobs trying to use same volume?

22 views
Skip to first unread message

Brock Palen

unread,
Sep 16, 2022, 1:40:27 PM9/16/22
to bareos-users
Started allowing concurrent jobs. Backups work great but Consolidate job created virtual has issues.
The symptom is a deadlock scheduling volumes on devices. Specific error is:

16-Sep 13:33 myth-sd JobId 66233: Warning: stored/vol_mgr.cc:514 Need volume from other drive, but swap not possible. Status: read=0 num_writers=1 num_reserve=0 swap=0 vol=AI-Consolidated-2281 from dev="FileStorage3" (/mnt/bacula) to "FileStorage2" (/mnt/bacula)

Preferablly I would like to run condolidate jobs in serial but allow normal backups to run in parallel. I don’t see a way to do this as the Virtuals created have all the same properties of the backup jobs.

Currently eveyrhting is deadlocked and the SD shows:

Running Jobs:
Reading: Virtual Full Backup job rose-Users JobId=66232 Volume="AI-Consolidated-2281"
pool="AI-Incremental" device="FileStorage" (/mnt/bacula)
Writing: Virtual Full Backup job rose-Users JobId=66232 Volume="AI-Consolidated-2281"
pool="AI-Consolidated" device="FileStorage3" (/mnt/bacula)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
FDSocket closed
Reading: Virtual Full Backup job macfu-Users JobId=66233 Volume="AI-Consolidated-2281"
pool="AI-Incremental" device="FileStorage2" (/mnt/bacula)
Writing: Virtual Full Backup job macfu-Users JobId=66233 Volume="AI-Consolidated-2280"
pool="AI-Consolidated" device="FileStorage4" (/mnt/bacula)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
FDSocket closed

The interesting one is the rose-Users is tring to read and write to the same volume? Currently that volume shows as mounted in FileStorage3 AI-Consolidated-2281 is one of 1 Append volumes in that pool, but autolabeling is also allowed.

Device "FileStorage2" (/mnt/bacula) is waiting for sysop intervention:
Volume: AI-Consolidated-2281
Pool: AI-Consolidated
Media type: File
Device is BLOCKED waiting for mount of volume "AI-Consolidated-2281",
Pool: AI-Incremental
Media type: File
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0
==

Device "FileStorage3" (/mnt/bacula) is mounted with:
Volume: AI-Consolidated-2281
Pool: AI-Consolidated
Media type: File
Total Bytes=10,161,332,896 Blocks=157,514 Bytes/block=64,510
Positioned at File=2 Block=1,571,398,304
==

Device "FileStorage4" (/mnt/bacula) is mounted with:
Volume: AI-Consolidated-2280
Pool: AI-Consolidated
Media type: File
Total Bytes=16,152,513,964 Blocks=250,380 Bytes/block=64,511
Positioned at File=3 Block=3,267,612,076
==

Device "FileStorage5" (/mnt/bacula) is not open.


Any thoughts what might cause this deadlock?

Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



Reply all
Reply to author
Forward
0 new messages