On Thursday 14 September 2006 00:07, Fred Dussault wrote: > I think this might be related to my issue, I'm not sure, here is a > snippet of my level 100 debug log for the storage daemon > I could be way off base too...
As far as I can tell, Bacula is trying to reserve the same device to read and to write. Either this is a bug, which I doubt since I have tested this part, or your configuration has a problem that is making Bacula try to read and write to the same device. I haven't looked back at your conf, but it may have something to do with the MediaType you assigned to your File device. I haven't yet added deadlock resolution to the Migration code, but I can see that it will probably be necessary -- Bacula really should realize that the same job is trying to get the single device VAX-2 and kill your job. Regards, Kern > > > 3 <dird device: use device=Drive-1 > adcd1149-sd: reserve.c:795 Inc reserve=1 dev="Drive-1" (/dev/nst0) 80b5e50 > adcd1149-sd: reserve.c:743 Read reserved=1 dev_name=Drive-1 > mediatype=VXA-2 pool=Tape ok=1 > adcd1149-sd: reserve.c:656 >dird dev: 3000 OK use device device=Drive-1 > adcd1149-sd: reserve.c:580 Suitable device found=Drive-1 > adcd1149-sd: reserve.c:364 <dird: use storage=Tape media_type=VXA-2 > pool_name=Tape pool_type=Backup append=1 copy=0 stripe=0 > adcd1149-sd: reserve.c:393 <dird device: use device=Drive-1 > adcd1149-sd: askdir.c:245 >dird: CatReq > Job=Migrate-Volumes.2006-09-13_16.48.48 FindMedia=1 pool_name=Tape > media_type=VXA-2 > adcd1149-sd: reserve.c:146 New Vol=Tape00001 dev="Drive-1" (/dev/nst0) > adcd1149-sd: reserve.c:723 JobId=2 looking for Volume=Tape00001 > adcd1149-sd: wait.c:195 Enter wait_for_device > adcd1149-sd: wait.c:206 I'm going to wait for a device. > > ======= > In Use Volume status: > Tape00001 on device "Drive-1" (/dev/nst0) > ====== > > > > > A quick followup on the mount request mail I just sent... > > > > Using the console I unmounted and remounted that volume, and it still > asks for > > a mount. Current status is below. > > > > -- Michael > > > > Running Jobs: > > JobId Level Name Status > > ====================================================================== > > 138 Increme NNNNNN-Archive.2006-09-13_16.33.14 is waiting for a mount > > request > > ==== > > > > Device status: > > Autochanger "Q47" with devices: > > "Drive-0" (/dev/nst0) > > "Drive-1" (/dev/nst1) > > "Drive-2" (/dev/nst2) > > "Drive-3" (/dev/nst3) > > Device "FileStorage" (/backup/bacula) is not open. > > Device "Drive-0" (/dev/nst0) open but no Bacula volume is mounted. > > Device is BLOCKED waiting for mount of volume "FNI0016". > > Slot 20 is loaded in drive 0. > > Total Bytes Read=0 Blocks Read=0 Bytes/block=0 > > Positioned at File=0 Block=0 > > Device "Drive-1" (/dev/nst1) is not open. > > Drive 1 status unknown. > > Device "Drive-2" (/dev/nst2) is not open. > > Drive 2 status unknown. > > Device "Drive-3" (/dev/nst3) is not open. > > Drive 3 status unknown. > > ==== > > > > In Use Volume status: > > FNI0016 on device "Drive-0" (/dev/nst0) > > ==== > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > > -- > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users