Hi,

13.11.2007 07:10,, Richard Walker wrote::
> I too am trying to get DVD burning working, following Richard
> Mortimer's "tricks and tips" page.
> 
> I've been able to get a job of about 65 MB to write to DVD OK.  The
> problem I'm having is
> with a job that's about 9 GB.  As you can see I set the SpoolDirectory
> to /tmp/backup,
> but I don't have 9 GB free in there.  My reading of the
> MaximumPartSize setting is that it's
> supposed to finish one "part", then write it to DVD, then delete it
> from the spool directory
> before writing the next "part".  That's not happening - more and more
> "parts" are created
> in the spool directory and it fills up

This looks like it would be worth a bug report.

> (at least, I let it get very
> close before cancelling the job because
> it's in /tmp).  If I cancel the job after about five or six parts have
> been created, the storage
> daemon writes the _last_ part to the DVD and deletes it, leaving the
> others in the spool
> directory.
> 
> As you can see I tried the MaximumSpoolSize and MaximumJobSpoolSize
> settings as well,
> but they didn't do anything and I now have them commented out.  I
> don't have spooling turned
> on anywhere else (or in the director).
> 
> I turned on debugging of the storage daemon.  It seems it is not that
> the daemon is trying
> and failing to write a part to the DVD - it is not even trying.  So
> I've been wondering if
> my understanding of MaximumPartSize is wrong.

If it's not even writing to DVD there is something seriously wrong.

Do you see calls to dvd-handler in the SD's debug output?

> Device {
>   Name = "DVD Writer"
>   Media Type = DVD
>   Device Type = DVD
>   Archive Device = /dev/dvd
>   LabelMedia = yes;            # lets Bacula label unlabeled media
>   Random Access = Yes;
>   AutomaticMount = yes;        # when device opened, read it
>   RemovableMedia = yes;
>   AlwaysOpen = no;
>   MaximumPartSize = 800M;
> #  MaximumSpoolSize = 2000M;
> #  MaximumJobSpoolSize = 2000M;
>   RequiresMount = yes;
>   MountPoint = /media/cdrecorder;
>   MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
>   UnmountCommand = "/bin/umount %m";
>   SpoolDirectory = "/tmp/backup";
>   WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
>   FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
> }

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to