tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* The mt command and a tar archive
@ 1997-11-21 13:43 Paulo Gomes
  0 siblings, 0 replies; only message in thread
From: Paulo Gomes @ 1997-11-21 13:43 UTC (permalink / raw)
  To: tru64-unix-managers

Hello osf managers,

I am doing a tar restore command # tar xv     
and the error is [offset 0] : no space left on device.

The tar backup archives # tar cv .   
were run on two seperate unix machines both running unix 4.0
with same model tape devices.

I then ran the mt status command for both tapes and the only difference
is the  mt_resid parameter. Is anyone able to tell me what this
parameter
does?

The output from the tape that did not work with the tar command is as
follows:

DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			Python 2
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		1
dev_name		tz
unit_num		1
soft_count		0
hard_count		0
stat			9
			DEV_BOM DEV_WRTLCK 
category_stat		20000
			DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x9
                        BOM WrtProt 
unit_status             0x101
                        Ready 2_FM_Close NO_Rewind Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            <Not Valid>
Record Cnt              <Not Valid>
Class                   2 - RDAT

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

#######################################################################
The output from the tape that worked with a tar command.


DEVIOGET ELEMENT	CONTENTS
----------------	--------
category		DEV_TAPE
bus			DEV_SCSI
interface		SCSI
device			Python 2
adpt_num		0
nexus_num		0
bus_num			0
ctlr_num		0
slave_num		1
dev_name		tz
unit_num		1
soft_count		0
hard_count		0
stat			9
			DEV_BOM DEV_WRTLCK 
category_stat		20000
			DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x9
                        BOM WrtProt 
unit_status             0x101
                        Ready 2_FM_Close NO_Rewind Buffered 
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            <Not Valid>
Record Cnt              <Not Valid>
Class                   2 - RDAT

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

Any suggestions would be appreciated.

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

only message in thread, other threads:[~1997-11-21 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-21 13:43 The mt command and a tar archive Paulo Gomes

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