Bacula-users

Re: [Bacula-users] Wierd append to tape selection by Bacula

2015-08-30 10:57:25
Subject: Re: [Bacula-users] Wierd append to tape selection by Bacula
From: Heitor Faria <heitor AT bacula.com DOT br>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 30 Aug 2015 11:52:37 -0300 (BRT)
> I added 5 tapes to my 24 slot library.  I noticed bacula did not start using 
> the
> previous tape in append mode that it had been using.  It skipped to the next.
> 
> Then after I labelled the new tapes (label barcodes slots=17-22), the next job
> then skipped a blank tape and went to another new tape.  I have a screenshot
> showing my volumes in the changed.
> 
> Why did it not resume backups on the last used and not full tape,  then why 
> did
> it skip a new tape for the next job?
> 
> All tapes are in same pool, and all jobs use same pool.
> 
> Here is the last tapes in the changer:
>|      37 | PH0036L4   | Append    |       1 |   271,029,104,640 |      283 |
>|      63,072,000 |       0 |   15 |
>|      38 | PH0037L4   | Append    |       1 |            64,512      |        
>0 |
>|      63,072,000 |       0 |   16 |     1 |
>|      39 | PH0038L4   | Append    |       1 |     5,490,809,856  |        6 |
>|      63,072,000 |       0 |   17 |
>|      40 | PH0039L4   | Append    |       1 |            64,512      |        
>0 |
>|      63,072,000 |       0 |    0 |
>|      41 | PH0040L4   | Append    |       1 |    13,999,104,000 |       14 |
>|      63,072,000 |       0 |    0 |
>|      42 | PH0041L4   | Append    |       1 |            64,512     |        
>0 |
>|      63,072,000 |       0 |   18 |
>|      43 | PH0042L4   | Append    |       1 |            64,512     |        
>0 |
>|      63,072,000 |       0 |   19 |
>|      44 | PH0043L4   | Append    |       1 |            64,512     |        
>0 |
>|      63,072,000 |       0 |   20 |
>|      45 | PH0044L4   | Append    |       1 |            64,512     |        
>0 |
>|      63,072,000 |       0 |   21 |
>|      46 | PH0045L4   | Append    |       1 |            64,512     |        
>0 |
>|      63,072,000 |       0 |   22 |
> undefined
> 

Hello Phil: 
Did you execute an "update slots" command after changing the tapes in the tape 
library? It's required so Bacula is aware of any changes in the tapes order.
Maybe Bacula loaded a tape thinking it was loading another. You can verify that 
in the job joblog.

Regards,
=========================================================================== 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Do you need Bacula training? 
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list 
I do Bacula training and deploy in any city of the world. More information: 
http://bacula.us/ 
+55 61 8268-4220 
Site: http://bacula.us FB: heitor.faria 
===========================================================================

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users