On Mon, Feb 11, 2002 at 09:50:31PM -0500, John R. Jackson wrote:
> > Could you try this again and make sure you remove the /tmp files first.
> > Also, try it with bs=64k.
> 
> Did you try the above (bs=64k, remove the /tmp files)?

John, here it is:

root@bast:~# mt -f /dev/scsi/host0/bus0/target15/lun0/mtn setblk 0
root@bast:~# mt -f /dev/scsi/host0/bus0/target15/lun0/mtn status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x26 (DDS-4 or QIC-4GB).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN
root@bast:~# mt -f /dev/scsi/host0/bus0/target15/lun0/mtn rewind
root@bast:~# dd if=/dev/scsi/host0/bus0/target15/lun0/mtn bs=64k of=/tmp/first-record 
count=1
0+1 records in
0+1 records out
root@bast:~# mt -f /dev/scsi/host0/bus0/target15/lun0/mtn rewind
root@bast:~# dd if=/dev/scsi/host0/bus0/target15/lun0/mtn bs=64k of=/tmp/first-file
0+8 records in
0+8 records out
root@bast:~# ls -la /tmp/first-*
-rw-r--r--    1 root     root        32768 Feb 12 14:12 /tmp/first-file
-rw-r--r--    1 root     root         4096 Feb 12 14:11 /tmp/first-record
root@bast:~# 


and also I've probably said this before but, Thanks for your help.

Reply via email to