If the drive is good, I believe the sense code is telling us the drive
believes the tape media is blank:

>From Sun Microsystems:
http://sunsolve.sun.com/handbook_pub/Systems/Sun4/TrDISK_SCSI_Sense_Keys.html
8       BLANK CHECK
A write-once device or a sequential-access device encountered blank
medium or format-defined end-of-data indication while reading or a
write-once device encountered.


And from:
http://www.optisys.com/scsisupport.htm

 08 Blank Check: Indicates a blank sector (one on which no data has been
previously been written).


Can anyone else confirm the SCSI Sense code?  Is this the correct
interpretation?

You didn't lay the tape on a magnet, now did you? ;)

E!



> At 05:44 PM 4/11/2005 -0500, you wrote:
>
>>You might try the:
>>mt -f /dev/st0 rewind
>
> Seems to work (no errors), .. but
>
>>tar -tvf /dev/st0.1
>
> tar: Failed open to read on /dev/st0.1: No such file or directory
>
> Tried again with Knoppix 3.6:
>
> [EMAIL PROTECTED]/]# tar -tvf /dev/st0.1
> tar: /dev/st0.1: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
>
>>I believe st0 would be the entire device. So a tar of that would not
>>work, while st0.1 should be the first tape header.
>>
>>You've got blocksize=0
>>I know that in AIX blocksize=0 is variable blocksize.  Is that the case
>>with the OS you are currently attempting to use?
>
> Currently trying OpenBSD, .. we're upgrading an old RH 7.3 server.
>
>>Or is it a wiggy status from the drive?
>
> Shouldn't be - this is the actual tape drive from the old system.
>
>>And any attempt at cpio or dd?
>>
>>dd if=/dev/st0 of=/dir/of/really_big_file
>>or would that be,
>>dd if=/dev/st0.1 of=/dir/of/really_big_file
>
> dd seems to work, but it errors our also:
>
> dd if=/dev/st0 of=/home/dump
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.006 secs (0 bytes/sec)
> Apr 11 17:51:39 Mainserver /bsd: st0(ahc1:2:0): Check Condition (error
> 0x70) on opcode 0x8
> Apr 11 17:51:39 Mainserver /bsd: st0(ahc1:2:0): Check Condition (error
> 0x70) on opcode 0x8
> Apr 11 17:51:39 Mainserver /bsd:     SENSE KEY: Blank Check
> Apr 11 17:51:39 Mainserver /bsd:     SENSE KEY: Blank Check
> Apr 11 17:51:39 Mainserver /bsd:          INFO: 0x800 (VALID flag on)
> Mainserver# Apr 11 17:51:39 Mainserver /bsd:          INFO: 0x800 (VALID
> flag on)
> Apr 11 17:51:39 Mainserver /bsd:      ASC/ASCQ: No Additional Sense
> Information
> Apr 11 17:51:39 Mainserver /bsd:      ASC/ASCQ: No Additional Sense
> Information
>
> Tried again with Knoppix, ..
>
> [EMAIL PROTECTED]/]# tar -tvf /dev/st0
> tar: /dev/st0: Cannot read: Input/output error
> tar: At beginning of tape, quitting now
> tar: Error is not recoverable: exiting now
> [EMAIL PROTECTED]/]# dd if=/dev/st0 of=/tmp/lee
> dd: reading `/dev/st0': Input/output error
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.007700 seconds (0 bytes/sec)
>
>>Hey!  that reminds me dump is a FS backup util too.  I've not used it
>> but
>>it could be worth a try.
>
> 'Twould be nice! If you have any outher suggestions, please give me a
> shout.
>
>          Lee
>
>
>


_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/    
[email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to