Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* "mt_resid" field of mt
@ 1994-03-29 23:13 David Ferreira
  0 siblings, 0 replies; only message in thread
From: David Ferreira @ 1994-03-29 23:13 UTC (permalink / raw)


 I am having problems with an Exabyte 8500 tape drive.  It will not read
a tape written by an identical type of drive, we keep getting the following 
error.

# dd if=/dev/rmt0h of=tmp
dd read error: No space left on device
0+0 records in
0+0 records out


The only difference I found was the last entry in the mt -f <tape> status 
command:

DEVIOGET ELEMENT        CONTENTS
----------------        --------
category                DEV_TAPE
bus                     DEV_UB
interface
device                  TZxx
adpt_num                1
nexus_num               0
bus_num                 1
ctlr_num                1
slave_num               112
dev_name                tz
unit_num                14
soft_count              U
hard_count              U
stat                    9
                        DEV_BOM DEV_WRTLCK 
category_stat           40000
                        DEV_54000_BPI

MTIOCGET ELEMENT        CONTENTS
----------------        --------
mt_type                 MT_ISSCSI
mt_dsreg                0
mt_erreg                0
mt_resid                1

Does anyone out there know what a status code of "1" means in the "mt_resid" 
field of "mt". I looked in the file /usr/include/sys/mtio.h and it only says 
that it is of type short and is the "Resudual count"?????

Please e-mail if you have any ideas?

David Ferreira
Lockheed Missiles and Space
davef@lmsc.lockheed.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-03-29 23:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-29 23:13 "mt_resid" field of mt David Ferreira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox