On 6 Sep 2007 at 16:29, Tom Plancon wrote: > > Hello all, > > I'm getting errors on a HP DAT-72 external SCSI drive I'm trying to > set up. I'm hoping I can get some idea of what is going on and if it > is correctable. I'm running Bacula 2.0.3 on Fedora Core 6. Bacula > backs-up to disk just fine.
This makes me think it is a hardware issue, not a software (i.e. Bacula) issue. > Checking /proc/scsi: > [EMAIL PROTECTED] bacula]# cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 06 Lun: 00 > Vendor: HP Model: C7438ARev: ZP5A > Type:Sequential-AccessANSI SCSI revision: 03 > > Checking with "mt": > [EMAIL PROTECTED] bacula]# mt -f /dev/nst0 status > SCSI 2 tape drive: > File number=0, block number=0, partition=0. > Tape block size 0 bytes. Density code 0x47 (TR-5). > Soft error count since last status=0 > General status bits on (41010000): > BOT ONLINE IM_REP_EN > > Testing with "btape": > [EMAIL PROTECTED] bacula]# btape DAT-72 > Tape block granularity is 1024 bytes. > btape: butil.c:286 Using device: "DAT-72" for writing. > btape: btape.c:368 open device "DAT-72" (/dev/nst0): OK > *test > > === Write, rewind, and re-read test === > > I'm going to write 1000 records and an EOF > then write 1000 records and an EOF, then rewind, > and re-read the data to verify that it is correct. > > This is an *essential* feature ... > > btape: btape.c:825 Wrote 1000 blocks of 64412 bytes. > btape: btape.c:499 Wrote 1 EOF to "DAT-72" (/dev/nst0) > btape: btape.c:841 Wrote 1000 blocks of 64412 bytes. > btape: btape.c:499 Wrote 1 EOF to "DAT-72" (/dev/nst0) > btape: btape.c:850 Rewind OK. > 06-Sep 14:15 btape: btape Error: block.c:317 Volume data error at 0:0! > Block checksum mismatch in block=0 len=64480: calc=40203cbc > blk=b1d8a199 > btape: btape.c:862 Read block 1 failed! ERR=Input/output error OK. Does btape give any suggestions for change to your configuration? > Finally a test with "tar": > [EMAIL PROTECTED] bacula]# tar xvf /dev/nst0 /proj/Arch_Proj > tar: /dev/nst0: Cannot read: Cannot allocate memory > tar: At beginning of tape, quitting now > tar: Error is not recoverable: exiting now Was there a tar -cf /dev/nst0 before this? If so, OK. > I just noticed that /proc/scsi reports "ANSI SCSI revision: 03" and > mt status reports "SCSI 2 tape drive:". Is that an issue? No idea. That may be an OS specific issue... Is the SCSI chain properly terminated? Have you tried a different SCSI cable? A different SCSI terminator? In this image, the cable coming in from the bottom is attached to the computer. The looped cable goes from one SCSI device to another. The block closest to the right is the SCSI terminator. The green light on the terminator indicates the SCSI bus is active. http://www.freebsddiary.org/images/tape-libraries-cables.jpg > Any help here is appreciated! Thanks! Try what I did for btape: http://www.freebsddiary.org/digital-tl891.php -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- 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