Hello,

since the current svn revision should become Version 2.2.0 I just
checked against my favorite autochanger-scratchpool test.
The status is still like I wrote a few days ago (see mail below)

Is there any hope left, that this will be fixed before Version 2.2.0?

Andreas


On 13.07.2007 16:46, Andreas Helmcke wrote:
> Hello,
>
> On 12.07.2007 15:15, Kern Sibbald wrote:
>> I have just released the source code and Windows binaries of Bacula BETA
>> 2.1.26 to the bacula-beta section of Source Forge.
>>
>> The main changes since the last beta release are:
>>
>> - Keep prune_volumes() from pruning the whole Scratch pool.
>> - More debug output in status storage.
>> - Correct moving a Scratch volume from pool to pool (some
>>   critical columns were lost).
>> - New more efficient db_get_query_dbids() -- not yet implemented
>>   everywhere, but currently used in volume pruning.
>>
>
> I did some more tests concerning autochanger and RecyclePool=Scratch:
>
> Test scenario:
>
> - I have removed (actually moved to export slots) all tapes which are in
>  pools default or scratch from automounter.
> -  There are plenty of tapes left in the autochanger which are in other
> pools but could be recycled and for this pools RecyclePool is set to
> scratch.
> - Started a job which uses pool default.
>
> Positiv:
> - a volume was found, pruned and used so the job could complete
> - only one volume was pruned
>
>
> not so positv:
> - I still get sometimes strange sql error messages:
>
> e.g.:
> 13-Jul 15:59 elablnsrv04-dir: Backup.2007-07-13_15.59.40 Warning: Unable
> to update Volume record: ERR=sql_update.c:382 Update failed:
> affected_rows=0 for UPDATE Media SET
>
VolJobs=0,VolFiles=0,VolBlocks=0,VolBytes=0,VolMounts=0,VolErrors=0,VolWrites=0,MaxVolBytes=0,VolStatus='Recycle',Slot=0,InChanger=0,VolReadTime=0,VolWriteTime=0,VolParts=0,LabelType=0,StorageId=3,PoolId=1,VolRetention=31536000,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,Enabled=1,LocationId=0,ScratchPoolId=0,RecyclePoolId=2,RecycleCount=0
> WHERE VolumeName=''
>
> - some important attributes of the new tape had wrong (old) values (e.g.
> VolRetention)
>
> I think, that when (automatically) moving a volume from the scratch pool
> to the pool of the job, which required the volume, the following
> attributes should be set from the new pool:
>   VolRetention, VolUseDuration, MaxVolJobs, MaxVolFiles, MaxVolBytes and
> RecyclePoolId
>
>
> Andreas


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to