From: Richard M. <ri...@ol...> - 2006-08-31 23:56:51
|
On Thu, 2006-08-31 at 23:12 +0200, Kern Sibbald wrote: > Hello, > > I've corrected several problems and committed the code to the CVS with date > 31Aug06 in version.h. It now seems to work correctly writing and restoring > from a spool file without the Write After Job set. This is something that > previously failed. I think I have fixed the problem with missing writes to > the DVD, and I have fixed several problems with the seek routine. > Closer! Your changes have uncovered a couple of things a) another issue with my changes to dvd-handler to cope with truncating. It seems that when I "tidied" the source up I put -Z before the -use-the-force-luke=tty. Thus when truncating is set it tries to use a DVD drive called "-use-the-force-luke=tty" - strangely that breaks! Patch attached to fix that b) there is no Dmsg that shows the output of a successful write. The 2nd attached patch adds that at level 400 (the same as that for the free command). c) there is a problem that triggers this with an autolabel job that spans multiple dvd parts. It seems that truncating and/or truncated_dvd get set somewhere and a normal extension write ends up blanking the dvd. Your "emulation" would have missed this because I guess that it doesn't understand the difference between -Z and -M etc. The net result of this is that I end up with a DVD containing only the last part because each write erases the previous parts. I've attached a log from the autolabel job that failed. I haven't had a look through it yet. > I haven't had a chance to test with WriteAfterJob turned on and then to toggle > it on and off. I'll test that tomorrow then let you know. Anyway, my latest > changes are in the CVS. > All my tests were done with WriteAfterJob turned on. Regards Richard -- Richard Mortimer <ri...@ol...> |