/dev/rst0 errors

/dev/rst0 errors

Post by ralph landsing » Wed, 13 Jan 1993 14:34:27



I've been having some trouble recently trying to understand an
error which pops up during a backup procedure on our SparcStation 2
running SunOS 4.1.1.  This error seems to surface when using
/usr/etc/dump or /bin/bar.  An error is displayed to the console,
and an error of sorts is sent to root via mail.  

The console error resembles the following:

st0  Error for command 'write', Error level: 'Fatal'
     Block 17640 File Number: 0
     Sense Key: Media Error
     Block 17640 File Number: 0
     Sense Key: Media Error

st0  Error for command 'write file mark', Error level: 'Fatal'
     Block 17640
     Sense Key: Media Error
bar: Insert Volume 2 and press Return when ready.

The mail message to root resembles the following:

bar: Insert Volume 2 and press Return when ready.
bar: Insert Volume 3 and press Return when ready.

Sometimes the above error repeats up to 5 times, and when I verify
the data on the tape using /bin/bar tvf /dev/rst0, it's there!.
What I don't understand is why when cron runs the script backup,
an error is produced when the end of the tape is reached.
The error is also encountered when using dump.

As per the instructions in the Network Administration Manual
(Chapter 6 / File Maintenance):

A Sample Dump for using QIC-150

# /usr/etc/dump 0cdtsf 1250 18 570 /dev/rst0 /dev/r_partition

Still produces an error which states:

Dump: Tape write error 691 feet to tape 1
Dump: NEEDS ATTENTION: Do you want to restart?

I don't understand why a brand new 3M tape would have this problem,
why would dump try to write 691 feet to a tape 600 feet long using
570 as the default length.

Any assistance or insight into these errors would be appreciated.

Thank You in Advance. :-)

Ralph Landsinger

 
 
 

1. Wanted: /dev/rst0 (have /


I need to read a tar on a tape generated on a Sun 386i under SunOS
4.0.1.  The same drive is now living in a 486 with a 1542 controller
and working fine as /dev/rmt0.  Will defining a major and minor number
be enough or...?

Rick

| Richard B. Emerson     | Replies may be sent to:                         |

| 940 Delaware Avenue    |-------------------------------------------------+
| Lansdale, PA 19446 USA | You dance with the mountain when you ski,       |
| Voice: 215.855.1607    | and the mountain always leads...                |  
---
 t ATP/Linux 1.42 t Pushing 40 is exercise enough.

2. Redhat 7.2 - ipchains (i need an idiots access method)

3. reconfigure /dev/rst0

4. UDP "connection refused"

5. What is the difference between /dev/sg0, /dev/scd0 /dev/hdd and /dev/cdrom ?

6. Newbie failing at installing package...

7. /dev/dsp, /dev/audio, /dev/midi., /dev/sndsta

8. diald odd behavior

9. Closing /dev/st0 return EIO error, /dev/nst0 not

10. Help on Def. of rst0 and rmt8

11. Upgrade to V4.1 "kills" SCSI tape (rst0->rsa0)

12. How to fix - read error, I/O error dev 08:11 sector 999999

13. Install Problems: Error mounting /dev/wcd0c on /dist: Input/output error (5)