Date: Tue, 25 Apr 2000 18:07:05 -0400 From: "Paul Haddad" <paul@pth.com> To: <freebsd-questions@freebsd.org> Subject: Problem with multiple writes to a tape drive Message-ID: <024b01bfaf02$a6c2c180$0bac2ac0@pth.com>
next in thread | raw e-mail | index | archive | help
Hi All,
Can anyone explain the following problem.
1. rewind tape, dump, rewind tape
2. forward to end of 1st dump, dump, rewind tape
3. Attempt to repeat step 2.
This causes the following error message.
(sa0:ncr0:0:6:0): WRITE(06). CDB: a 0 0 80 0 0
(sa0:ncr0:0:6:0): ILLEGAL REQUEST asc:90,1
(sa0:ncr0:0:6:0): Vendor Specific ASC
Here's a camcontrol inquiry on the device. This is an AIWA TR-5 tape.
pass6: <AIWA TD-20001 0159> Removable Sequential Access SCSI-2 device
pass6: Serial Number 8CB203D1
pass6: 10.000MB/s transfers (10.000MHz, offset 7)
I've included the steps that caused this below. This is under 4.0 stable.
---
Paul Haddad (paul@pth.com) AIM:(ETS Paul)
Philadelphia is not dull -- it just seems so because it is next to
exciting Camden, New Jersey.
netserver/root# mt rewind
netserver/root# /sbin/dump -0 -ua -b 32 -f /dev/nrsa0 /dev/da0a
DUMP: Date of this level 0 dump: Tue Apr 25 17:41:24 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/da0a to /dev/nrsa0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 27226 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 27285 tape blocks on 1 volume
DUMP: finished in 47 seconds, throughput 580 KBytes/sec
DUMP: level 0 dump on Tue Apr 25 17:41:24 2000
DUMP: Closing /dev/nrsa0
DUMP: DUMP IS DONE
netserver/root# mt rewind
netserver/root# mt fsf 1
netserver/root# /sbin/dump -0 -ua -b 32 -f /dev/nrsa0 /dev/da0a
DUMP: Date of this level 0 dump: Tue Apr 25 17:45:42 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/da0a to /dev/nrsa0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 27226 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 27285 tape blocks on 1 volume
DUMP: finished in 29 seconds, throughput 940 KBytes/sec
DUMP: level 0 dump on Tue Apr 25 17:45:42 2000
DUMP: Closing /dev/nrsa0
DUMP: DUMP IS DONE
netserver/root# mt rewind
netserver/root# mt fsf 1
netserver/root# /sbin/dump -0 -ua -b 32 -f /dev/nrsa0 /dev/da0a
DUMP: Date of this level 0 dump: Tue Apr 25 17:47:57 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/da0a to /dev/nrsa0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 27226 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: write error 64 blocks into volume 1
DUMP: Do you want to restart?: ("yes" or "no") no
DUMP: The ENTIRE dump is aborted.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024b01bfaf02$a6c2c180$0bac2ac0>
