>>>>> On Fri, 09 Nov 2007 20:57:11 +0100, Eric =?utf-8?Q?B=C3=B6se-Wolf?= said: > > Hello, > > I called bcopy with this line: > > ./bcopy -c ../config/bacula-sd.conf -w /opt/bacula/working/ DVD-RAM \ > Dell-TD6100-152 -i 'Archive-0001|Archive-0002|Archive-0003|Archive-0004\ > |Archive-0005|Archive-0006|Archive-0007|Archive-0008|Archive-0009' \ > -o 'Archive-Tape-1' > > This is the first part of the output (newlines inserted): > > bcopy: butil.c:282 Using device: "DVD-RAM" for reading. > 09-Nov 20:09 bcopy JobId 0: Ready to read from volume "Archive-0001" on > device "DVD-RAM" (/media/cdrom0). > > bcopy: butil.c:285 Using device: "Dell-TD6100-152" for writing. > > 09-Nov 20:09 bcopy JobId 0: Labeled new Volume "Archive-Tape-1" on > device "Dell-TD6100-152" (/dev/nst0). > > 09-Nov 20:10 bcopy JobId 0: Wrote label to prelabeled Volume > "Archive-Tape-1" on device "Dell-TD6100-152" (/dev/nst0) > > bcopy: bcopy.c:242 Volume label not copied. > > 09-Nov 20:32 bcopy JobId 0: Error: block.c:1091 Volume data error at > 1:284417160! Short block of 4983 bytes on device "DVD-RAM" > (/media/cdrom0) discarded. > > 09-Nov 20:32 bcopy JobId 0: Error: read_record.c:142 block.c:1091 Volume > data error at 1:284417160! Short block of 4983 bytes on device "DVD-RAM" > (/media/cdrom0) discarded. > > What shall those errors tell me? Can't bcopy handle the short block at > the end of a volume?
The error means that the block length recorded in the block's header is longer than the data read from the device. I would expect that to be impossible unless the volume is corrupted. Did you get any syslog messages? Is the error repeatable with the same numbers in the message? Which version of Bacula wrote the volume? __Martin ------------------------------------------------------------------------- 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