On Mon, 2007-07-09 at 02:17 +0200, Lucio Crusca wrote: > Hello all, > > the following log is from a newly installed Bacula 2.0.3/Etch during the > first > full backup on DVD > > 03-lug 10:02 mybac-dir: No prior Full backup Job record found. > 03-lug 10:02 mybac-dir: No prior or suitable Full backup found in catalog. > Doing FULL backup. > 03-lug 10:02 mybac-dir: Start Backup JobId 17, > Job=Datimybac.2007-07-03_10.02.05 > 03-lug 10:02 mybac-sd: Labeled new Volume "Backup0001" on device "DVD Writer" > (/dev/hda). > 03-lug 10:02 mybac-sd: Wrote label to prelabeled Volume "Backup0001" on > device "DVD Writer" (/dev/hda) > 03-lug 10:08 mybac-sd: Part 1 (838849941 bytes) written to DVD. > 03-lug 10:08 mybac-sd: Remaining free space 4,695,588,864 on "DVD Writer" > (/dev/hda) > 03-lug 10:08 mybac-sd: Datimybac.2007-07-03_10.02.05 Fatal error: block.c:847 > Unable to open device next part "DVD Writer" (/dev/hda): ERR=Could not mount > DVD device "DVD Writer" (/dev/hda). > > I have no clue about what's going on here. It seems bacula wrote Part 1 > correctly right? What could be the cause making it fail to write the next > part? > Did you check /var/log/kern.log (or the dmesg command output) for any errors. I suspect that the problem is due to linux not re-initialising its internal state regarding the size of the DVD image when the write has completed. If that is the case then kern.log will have some errors about block numbers being greater than the device size.
If you have a DVD drive that will eject and reload the DVD without manual intervention (i.e. it is a motorised drawer on the drive) then you can comment out the following line from /etc/bacula/scripts/dvd-handler growcmd += " -use-the-force-luke=notray" Just put a # at the start of the line to comment it out. Richard > Thanks in advance, > Lucio. > > > ------------------------------------------------------------------------- > 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-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Richard Mortimer <[EMAIL PROTECTED]> ------------------------------------------------------------------------- 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-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users