I am running into problems with multi-volume DVD backups with Bacula. I have an external USB 2.0 DVD writer which seems to work fine standalone; however, when I attempt to carry out a backup via Bacula it fails randomly with Input / Output errors.
I have attempted backups several times with several different DVD media. I can confirm that it fails every time on the first volume. It writes between 1 and 5 parts before dieing with an Input / Output error. I all cases it is caused by growisofs. Any ideas? Bacula version: 2.4.2 (source rpms) dvd+rw-tools version: 7.1 (compiled from source) Storage daemon configuration: Device { Name = "DVDStorage"; Media Type = DVDStor; Archive Device = /dev/sr0; LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize = 800M; RequiresMount = yes; MountPoint = /mnt/bacula-dvd; MountCommand = "/bin/mount.sh %a"; UnmountCommand = "/bin/umount %a"; SpoolDirectory = "/var/spool/bacula"; WritePartCommand = "/usr/lib/bacula/dvd-handler %a write %e %v" FreeSpaceCommand = "/usr/lib/bacula/dvd-handler %a free" } Bacula directory configuration: Storage { Name = DVDStorage Address = [REMOVED] SDPort = 9103 Password = [REMOVED] Device = DVDStorage Media Type = DVDStor } Pool { Name = MonthlyDVD-1 Pool Type = Backup Maximum Volume Jobs = 1 Maximum Volume Bytes = 4294967296 AutoPrune = yes Volume Retention = 3 weeks Recycle Oldest Volume = yes Label Format = Monthly-DVD1-VOL Volume Use Duration = 3 weeks } Typical failure notice: 04-Jan 00:24 sd-local JobId 586: Part 1 (0 bytes) written to DVD. 04-Jan 00:24 sd-local JobId 586: Remaining free space 4,689,526,784 on "DVDStorage" (/dev/sr0) 04-Jan 00:24 sd-local JobId 586: Recycled volume "Monthly-DVD1-VOL0001" on device "DVDStorage" (/dev/sr0), all previous data lost. 04-Jan 00:24 hostnamesrv-dir JobId 586: Max Volume jobs exceeded. Marking Volume "Monthly-DVD1-VOL0001" as Used. 04-Jan 00:32 sd-local JobId 586: Part 1 (838849752 bytes) written to DVD. 04-Jan 00:32 sd-local JobId 586: Remaining free space 3,850,665,984 on "DVDStorage" (/dev/sr0) 04-Jan 00:37 sd-local JobId 586: Fatal error: dvd.c:263 Error writing part 2 to the DVD: ERR=Running /usr/bin/growisofs -use-the-force-luke=notray -quiet -use-the-force-luke=4gms -A 'Bacula Data' -input-charset=default -iso-level 3 -pad -p 'dvd-handler / growisofs' -sysid 'BACULADATA' -R -M /dev/sr0 /var/spool/bacula/Monthly-DVD1-VOL0001.2 Executing 'mkisofs -quiet -A Bacula Data -input-charset=default -iso-level 3 -pad -p dvd-handler / growisofs -sysid BACULADATA -R -C 16,409776 -M /dev/fd/3 /var/spool/bacula/Monthly-DVD1-VOL0001.2 | builtin_dd of=/dev/sr0 obs=32k seek=25611' NO Rock Ridge present Disabling Rock Ridge / XA / AA genisoimage: Old session has illegal name 'INTERCHANGE PROTOCOL PROVIDES SU' length 32 genisoimage: New session will use name 'INTERCHANGE_PROTOCOL_PROVIDES_S' genisoimage: Old session has illegal name 'PLEASE CONTACT DISC PUBLISHER FOR SPECIFICATION SOURCE. SEE PUBLISHER IDENTIFIER I' length 83 genisoimage: New session will use name 'PLEASE_CONTACT_.__SEE_PUBLISHER;1' genisoimage: Old session has illegal name ' PRIMARY VOLUME DESCRIPTOR FOR CONTACT INFORMATION.' len 04-Jan 00:37 sd-local JobId 586: Marking Volume "Monthly-DVD1-VOL0001" in Error in Catalog. 04-Jan 00:37 sd-local JobId 586: Fatal error: block.c:856 Unable to open device next part "DVDStorage" (/dev/sr0): ERR=dvd.c:265 Error while writing current part to the DVD: Running /usr/bin/growisofs -use-the-force-luke=notray -quiet -use-the-force-luke=4gms -A 'Bacula Data' -input-charset=default -iso-level 3 -pad -p 'dvd-handler / growisofs' -sysid 'BACULADATA' -R -M /dev/sr0 /var/spool/bacula/Monthly-DVD1-VOL0001.2 Executing 'mkisofs -quiet -A Bacula Data -input-charset=default -iso-level 3 -pad -p dvd-handler / growisofs -sysid BACULADATA -R -C 16,409776 -M /dev/fd/3 /var/spool/bacula/Monthly-DVD1-VOL0001.2 | builtin_dd of=/dev/sr0 obs=32k seek=25611' NO Rock Ridge present Disabling Rock Ridge / XA / AA genisoimage: Old session has illegal name 'INTERCHANGE PROTOCOL PROVIDES SU' length 32 genisoimage: New session will use name 'INTERCHANGE_PROTOCOL_PROVIDES_S' genisoimage: Old session has illegal name 'PLEASE CONTACT DISC PUBLISHER FOR SPECIFICATION SOURCE. SEE PUBLISHER IDENTIFIER I' length 83 genisoimage: New session will use name 'PLEASE_CONTACT_.__SEE_PUBLISHER;1' genisoimage: Old session has illegal name ' PRIMARY VOLUME DESCRIPTOR FOR CONTACT INFORMATION.' len 04-Jan 00:37 sd-local JobId 586: Job write elapsed time = 00:13:07, Transfer rate = 2.129 M bytes/second 04-Jan 00:37 hostnamesrv-fd JobId 586: Fatal error: backup.c:892 Network send error to SD. ERR=Broken pipe 04-Jan 00:38 hostnamesrv-dir JobId 586: Error: Bacula hostnamesrv-dir 2.4.2 (26Jul08): 04-Jan-2009 00:38:07 Build OS: i686-redhat-linux-gnu redhat JobId: 586 Job: FullDocumentBackup.2009-01-04_00.24.15 Backup Level: Full Client: "fd-local" 2.4.2 (26Jul08) i686-redhat-linux-gnu,redhat, FileSet: "FullDocumentBackup" 2009-01-03 15:00:00 Pool: "MonthlyDVD-1" (From User input) Storage: "DVDStorage" (From user selection) Scheduled time: 04-Jan-2009 00:24:06 Start time: 04-Jan-2009 00:24:26 End time: 04-Jan-2009 00:38:07 Elapsed time: 13 mins 41 secs Priority: 10 FD Files Written: 6,354 SD Files Written: 6,345 FD Bytes Written: 1,676,097,059 (1.676 GB) SD Bytes Written: 1,676,187,778 (1.676 GB) Rate: 2041.5 KB/s Software Compression: 8.2 % VSS: no Storage Encryption: no Volume name(s): Volume Session Id: 5 Volume Session Time: 1231022235 Last Volume Bytes: 231 (231 B) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination: *** Backup Error ***
------------------------------------------------------------------------------
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users