I have noticed the last couple of times I have had to move tapes from our
library that Bacula does not recover well.
Unexpected behavior
After tape library modifications, label, and catalog additions, when the next
tape job runs, the media is loaded but hangs in acquiring with zero bytes, the
job runs indefinitely until stopped. Behavior continues until bacula-sd
service is restarted.
Expected behavior
After tape library modifications, label, and catalog additions, next job runs
normally as expected.
Steps to reproduce:
1. From bconsole issue an unmount command
2. Using your tape library, execute a magazine unlock
3. Using your tape library Remove old tapes, add new tapes
4. Using your tape library Replace magazine, issue an inventory
5. From bconsole issue a mount command
6. Next issue a label barcodes command
7. Finally verify slots are updated by issuing a status slots command
Status during the issue:
* status director
Running Jobs:
Console connected at 30-Mar-18 09:32
JobId Type Level Files Bytes Name Status
======================================================================
8895 Back Diff 0 0 C2T-Data is running
8896 Back Diff 0 0 C2T-Archive is waiting for higher
priority jobs to finish
====
* status client=bacula-fd
Running Jobs:
JobId 8895 Job C2T-Data.2018-03-29_19.00.00_29 is running.
Differential Backup Job started: 29-Mar-18 21:32
Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0 Errors=0
Bwlimit=0 ReadBytes=0
Files: Examined=0 Backed up=0
SDReadSeqNo=6 fd=6 SDtls=0
Director connected at: 30-Mar-18 09:33
* mount storage=Tape
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
5: Tape
Select Storage resource (1-5): 5
Enter autochanger slot: 1
3001 Device ""ULT3580" (/dev/nst0)" is doing acquire.
Thank you for your assistance.
Jim Richardson
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this email in error, please
notify the sender and delete this email from your system. 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