SCSI tape data loss

Dan Langille dan at langille.org
Mon Jun 2 04:28:20 PDT 2003


On 1 Jun 2003 at 19:03, Matthew Jacob wrote:

> 
> Absolutely. I gave the BitKeeper URL of my toolkit, but here's a URL to
> pull just the tape pattern test from:
> 
> http://people.freebsd.org/~mjacob/tape_pattern_tester.c

# ./tpt -v -b 512 -r 100 -n 10 -f /dev/nrsa0
.......Rewind Tape
........Write Pass
WEOT at File 9 Record 100 Offset 512 (512000 total bytes written)
Elapsed Seconds: 118; Data Rate: 0MB/s
.......Rewind Tape
.........Read Pass
REOT at File 10 Record 0 Offset 0 (512000 total bytes read)
Elapsed Seconds: 5: Data Rate: 0MB/s

> I *would* like to know what the output of 'mt status' on that drive is
> too.

# mt -f /dev/nrsa0 status
Mode      Density              Blocksize      bpi      Compression
Current:  0x13:X3B5/88-185A    variable       61000    DCLZ
---------available modes---------
0:        0x13:X3B5/88-185A    variable       61000    DCLZ
1:        0x13:X3B5/88-185A    variable       61000    DCLZ
2:        0x13:X3B5/88-185A    variable       61000    DCLZ
3:        0x13:X3B5/88-185A    variable       61000    DCLZ
---------------------------------
Current Driver State: at rest.
---------------------------------
File Number: 11 Record Number: 0        Residual Count 0


-- 
Dan Langille : http://www.langille.org/



More information about the freebsd-scsi mailing list