tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paulo Gomes <paulo () dexel ! co ! za>
To: tru64-unix-managers
Subject: The mt command and a tar archive
Date: Fri, 21 Nov 1997 13:43:04 +0000	[thread overview]
Message-ID: <96078619210605.tru64-unix-managers.marc@archive.invalid> (raw)

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.

                 reply	other threads:[~1997-11-21 13:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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