>>>>> On Sun, 30 Dec 2018 00:08:25 -0500, Phil Stracchino said: > > On 12/29/18 11:07 PM, Phil Stracchino wrote: > > On 12/29/18 4:47 PM, Phil Stracchino wrote: > >> I'm baffled as to why creating a new volume would suddenly be blocked. > >> It's always worked before and I have made no configuration changes. > >> > >> Any suggestions? I have absolutely no idea why it is blocking. > > > > > > OK, so, this appears to be an ongoing problem: > > > > 29-Dec 22:54 minbar-dir JobId 21020: Fatal error: Catalog error updating > > Media record. bdb.h:140 update UPDATE Media SET > > VolJobs=5,VolFiles=7,VolBlocks=517599,VolBytes=33391254059,VolABytes=0,VolHoleBytes=0, > > VolHoles=0,VolMounts=1,VolErrors=0,VolWrites=517600,MaxVolBytes=0,VolStatus='Append', > > Slot=0,InChanger=0,VolReadTime=0,VolWriteTime=39513587,VolType=1,VolParts=0, > > VolCloudParts=0,LastPartBytes=0,LabelType=0,StorageId=16,PoolId=4,VolRetention=5184000, > > VolUseDuration=82800,MaxVolJobs=0,MaxVolFiles=0,Enabled=1,LocationId=0,ScratchPoolId=0, > > RecyclePoolId=1,RecycleCount=0,Recycle=0,ActionOnPurge=0,CacheRetention=0, > > EndBlock=-972806614 WHERE VolumeName='DIFF-20181229-22:04' failed: > > > > Even after rebuilding the Solaris SD correctly as 64-bit, I'm still > > getting negative EndBlock values from somewhere. I don't see any way > > that can be happening EXCEPT an integer overflow somewhere. > > > > This was all working in 9.2.1 even with the 32-bit disk SD. > > > > > > Is anyone else encountering anything similar? > > This failure mode (which looks like a block number integer overflow in > the storage daemon on Solaris 11.3) is solidly repeatable in 9.4.1. I > have had to roll back to 9.2.2 for now pending a fix.
It looks like EndBlock=%d should be EndBlock=%u in BDB::bdb_update_media_record (bacula/src/cats/sql_update.c line 378). This will be broken for both 64-bit and 32-bit. __Martin _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel