1833605 Members
3708 Online
110061 Solutions
New Discussion

DLT Tape status

 
Simmi
New Member

DLT Tape status

I want to know what does the status code mean.
The fbackup utility is used to take backup on Tapes 3m and 4m. Backup on Tape 4m failed with status code 1 as in its status log file. And now the status of the tapes are as follows
> mt -f /dev/rmt/4m status
Drive: QUANTUM DLT8000
Format:
Status: [0]
File: 0
Block: 0
> mt -f /dev/rmt/3m status
Drive: QUANTUM DLT8000
Format:
Status: [41118985] BOT online compression immediate-report-mode
File: 0
Block: 0


4 REPLIES 4
Johan Brusche
Honored Contributor

Re: DLT Tape status


Based on the device special file names, it doesn't look like you're working on a Tru64
UNIX system where the names would be:

/dev/rmt4h ### V4.0x
or
/dev/ntape/tape4c ### V5.xx

Also on a Tru64 system the "status" output would look like:

# mt -f /dev/nrmt0h status

DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device TZ89
adpt_num 0
nexus_num 0
bus_num 2
ctlr_num 2
slave_num 3
dev_name tz
unit_num 3
soft_count 0
hard_count 0
stat 0x1
DEV_BOM
category_stat 0x0
DEV_85700_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x10001
BOM POS_VALID
unit_status 0x181
Ready 2_FM_Close NO_Rewind Compacting Buffered
record_size 0
density (current) 85700 BPI
density (on write) 0 BPI
Filemark Cnt 0
Record Cnt 0
Class 1 - DLT (tk)

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0x1
DEV_BOM
mt_erreg 0x0 No error or no sense info.
mt_resid 0
mt_fileno 0
mt_blkno 0
DEV_EEI_STATUS
version 0x2
status 0x0 No EEI status available
flags 0x1000000
CAM_DATA
cam_status 0x0 No CAM status available
scsi_status 0x0 SCSI_STAT_GOOD
scsi_sense_data not valid

#

_JB_
Michael Schulte zur Sur
Honored Contributor

Re: DLT Tape status

Hi,

Johan is right. It seems you would have to post this question into the HPUX forum.

fbackup is HPUX.

greetings,

Michael
Paul Barker
Occasional Advisor

Re: DLT Tape status

Hi

A man on fbackup shows the possible return codes:

fbackup returns one of the following values:

0 upon normal completion.

1 if it is interrupted but allowed to save its state for possible restart.

2 if any error conditions prevent the session from completing.

4 if any warning conditions are encountered.

If warnings occur, the operator should check the fbackup logs to verify the sanity of the backup.

It looks like the backup was interupted (perhaps it filled the tape) or something killed the process ?

Hope this helps.
Shaikh Imran
Honored Contributor

Re: DLT Tape status

Hi,
The problem is not with the drive but with the tape make.
You have to spend some time reading this doc.

http://www.digitalstorage.com/main/product_info/Specs_FAQs/quantum/dlttape_handbook.pdf

BOT = Begining Of Tape.

Regards,

I'll sleep when i am dead.