System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

SOLVED
Go to solution
Bruno Vilardo
Regular Advisor

vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

Hello all

I got this message from the backup log.

vdump: cant open dev Place TZ88 tape drive unit. #11 online
The tape was inserted..
Does anybody knows what this error means?

Thanks a lot everybody.
Bruno
9 REPLIES
Ralf Puchner
Honored Contributor
Solution

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

in case of hardware, have a look into binary.errlog. Use "mt status" for further investigations
Help() { FirstReadManual(urgently); Go_to_it;; }
Johan Brusche
Honored Contributor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error


Inserted does not mean online, the take-up leader has to pull the tape out of the cartdrige and position it a bot, then the green ready lamp on the drive should come up and at that moment the drive is "on-line" for the operating system.
An I/O error can also mean that a write was attempted on a write-protected cartdrige, or you have a bad media in the cartdrige
Or you simply have a broken drive. Examine the binary.errlog with DECevent(dia) or ca to obtain details on the error.

Johan.

_JB_
Ravi_8
Honored Contributor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

Hi Bruno

check /var/adm/binary.errlog file to confirm whether the device (/dev/nrmtt0h) has been found by the system or not.

when you start the backup look into
#mt status
check for "unit_status" whether it is offline or online.

if online and you are getting error tape is in problem, try with new tape.
if offline tape drive is not getting initiated for backup
never give up
Bruno Vilardo
Regular Advisor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

Hello all
Well i checked the binary.errlog and apparently there is nothing wrong.

Maybe the tape is corrupt .

What do you think ?

Thanks a Lot people


Bruno
Johan Brusche
Honored Contributor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

Bruno, what's the result of :

file /dev/nrmt0h
mt status

Johan.

_JB_
Michael Schulte zur Sur
Honored Contributor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

Hi,

insert a tape and look what mt status gives you.
what does file /dev/*rmt/ tell you?
Does it see a tape at rmt0?

The second error is probably from the mt rewoffl command.

yes, it may be, the tape is bad.

Michael
Bruno Vilardo
Regular Advisor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

This is what it brings to the screen:


DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device TZ88
adpt_num 0
nexus_num 0
bus_num 5
ctlr_num 5
slave_num 11
dev_name tz
unit_num 11
soft_count 0
hard_count 0
stat 0x1
DEV_BOM
category_stat 0x1000000
DEV_81630_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) 81630 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 0x3 Nonrecoverable medium error.
mt_resid 1
mt_fileno 0
mt_blkno 0
DEV_EEI_STATUS
version 0x2
status 0x6400 Device/bus reset occured
flags 0x1000007
CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
cam_status 0x4 CCB request completed with an err
scsi_status 0x2 SCSI_STAT_CHECK_CONDITION
scsi_sense_data (hex)
f0 0 3 0 0 0 1 15
0 0 0 0 80 0 0 0
0 0 86 2 ba 0 0 64
8f 0 46 eb f 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0
ASC/ASQ = 80/0 ASC/ASQ code not listed


Thanks Guys ...
Bruno
Mohamed K Ahmed
Trusted Contributor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

It says clearly that the meduim is corrupted. Change the tape and try a new one.
I always get this because I use my tapes in rotation, so sometimes it happens.
But the main thing with checking the tape drive with a new tape is to ensure that the tape drive mechanism works, if it didn't pick the tape or perform a good backup and read, then get a tech to replace it.

HTH

Mohamed
Bruno Vilardo
Regular Advisor

Re: vdump: cant open dev </dev/nrmtt0h ; [5] I/O error

Thanks a lot all .....
The others backup doing fine.
It was the tape that was bad .....
Thanks

Regards Bruno