Hi Michael,

tar is not checking while writing, but bacula does. Is the read error on
subsequent tests failing at the same block ?

29-Oct 21:27 btape JobId 0: Error: block.c:995 Read error on fd=3 at
file:blk 0:1000

I'd suggest cleaning the tape head anyway (how frequently do you do it ?),
reformat the tape, and check again.

Michael

On 10/30/07, Michael Galloway <[EMAIL PROTECTED]> wrote:
>
> seem to be having some scsi problems with btape test. this test is with
> a spectra T50/LTO-4 attached via an LSI LSIU320 controller. i ran 100GB
> of data onto the drive with tar with no issue. but when i run this:
>
> ./btape -c bacula-sd.conf /dev/nst0
>
> test
>
> i get:
>
> *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:827 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:501 Wrote 1 EOF to "LTO4" (/dev/nst0)
> btape: btape.c:843 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:501 Wrote 1 EOF to "LTO4" (/dev/nst0)
> btape: btape.c:852 Rewind OK.
> 1000 blocks re-read correctly.
> 29-Oct 21:27 btape JobId 0: Error: block.c:995 Read error on fd=3 at
> file:blk 0:1000 on device "LTO4" (/dev/nst0). ERR=No such device or address.
> btape: btape.c:864 Read block 1001 failed! ERR=No such device or address
>
> and i the kernel ring buffer log:
>
> st0: Block limits 1 - 16777215 bytes.
> mptbase: ioc0: LogInfo(0x11010f00): F/W: bug! MID not found
> mptbase: ioc0: LogInfo(0x11010f00): F/W: bug! MID not found
> mptbase: ioc0: IOCStatus(0x004b): SCSI IOC Terminated
> st0: Error 80000 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).
> mptscsih: ioc0: attempting task abort! (sc=ffff81011bf35240)
> st 5:0:15:0:
>         command: Read(6): 08 00 00 fc 00 00
> mptbase: Initiating ioc0 recovery
> mptscsih: ioc0: task abort: SUCCESS (sc=ffff81011bf35240)
> mptbase: ioc0: IOCStatus(0x0043): SCSI Device Not There
> mptscsih: ioc0: attempting target reset! (sc=ffff81011bf35240)
> st 5:0:15:0:
>         command: Read(6): 08 00 00 fc 00 00
> mptscsih: ioc0: target reset: SUCCESS (sc=ffff81011bf35240)
> mptbase: ioc0: IOCStatus(0x0043): SCSI Device Not There
> mptscsih: ioc0: attempting bus reset! (sc=ffff81011bf35240)
> st 5:0:15:0:
>         command: Read(6): 08 00 00 fc 00 00
> mptscsih: ioc0: bus reset: SUCCESS (sc=ffff81011bf35240)
> mptbase: ioc0: IOCStatus(0x0047): SCSI Protocol Error
> mptscsih: ioc0: Attempting host reset! (sc=ffff81011bf35240)
> mptbase: Initiating ioc0 recovery
> mptbase: ioc0: IOCStatus(0x0047): SCSI Protocol Error
> st 5:0:15:0: scsi: Device offlined - not ready after error recovery
> st0: Error 80000 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).
> target5:0:15: Beginning Domain Validation
> target5:0:15: Domain Validation skipping write tests
> target5:0:15: Ending Domain Validation
> target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
> target5:0:15: Beginning Domain Validation
> target5:0:15: Domain Validation skipping write tests
> target5:0:15: Ending Domain Validation
> target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
> target5:0:15: Beginning Domain Validation
> target5:0:15: Domain Validation skipping write tests
> target5:0:15: Ending Domain Validation
> target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
> target5:0:15: Beginning Domain Validation
> target5:0:15: Domain Validation skipping write tests
> target5:0:15: Ending Domain Validation
> target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
>
> i've reseated my cables and terminator. reseated the scsi card. any idea
> where the problem is? this is centOS 5, kernel is:
>
> 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 19:05:32 EDT 2007 x86_64 x86_64 x86_64
> GNU/Linux
>
> -- michael
>
> -------------------------------------------------------------------------
> 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
>



-- 
Michael Lewinger
MBR Computers
http://mbrcomp.co.il
-------------------------------------------------------------------------
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