Operating System - HP-UX
1825766 Members
2613 Online
109687 Solutions
New Discussion

Failed to open tape device

 
SOLVED
Go to solution
Carlos Munoz Lopez
Frequent Advisor

Failed to open tape device

Hi guys. I'm having the following problem: I was trying to execute the following command make_tape_recovery -Av -l -x inc_entire=vg00 -a /dev/rmt/3mn, but it displays an error "Failed to open tape device /dev/rmt/0mn:No such device or address
(errno = 6)." I don't know why it shows 0mn, even if this is not the device I specify in the command line. I would like some help on this.
3 REPLIES 3
Steve Steel
Honored Contributor
Solution

Re: Failed to open tape device

Hi

Is your tape write protect

If not

Use
lssf /dev/rmt/*

To check for the device files

Looks like

stape card instance 0 SCSI target 5 SCSI LUN 0 at&t best density available at ad
dress 0/0/1/0.5.0 /dev/rmt/0m
stape card instance 0 SCSI target 5 SCSI LUN 0 berkeley best density available a
t address 0/0/1/0.5.0 /dev/rmt/0mb
stape card instance 0 SCSI target 5 SCSI LUN 0 at&t no rewind best density avail
able at address 0/0/1/0.5.0 /dev/rmt/0mn
stape card instance 0 SCSI target 5 SCSI LUN 0 berkeley no rewind best density a
vailable at address 0/0/1/0.5.0 /dev/rmt/0mnb
stape card instance 0 SCSI target 5 SCSI LUN 0 at&t best density available at ad
dress 0/0/1/0.5.0 /dev/rmt/c0t5d0BEST
stape card instance 0 SCSI target 5 SCSI LUN 0 berkeley best density available a
t address 0/0/1/0.5.0 /dev/rmt/c0t5d0BESTb
stape card instance 0 SCSI target 5 SCSI LUN 0 at&t no rewind best density avail
able at address 0/0/1/0.5.0 /dev/rmt/c0t5d0BESTn
stape card instance 0 SCSI target 5 SCSI LUN 0 berkeley no rewind best density a
vailable at address 0/0/1/0.5.0 /dev/rmt/c0t5d0BESTnb
stape property table configuration device /dev/rmt/stape_config


If there are any problems use sam to remake the device files for the drive

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
G. Vrijhoeven
Honored Contributor

Re: Failed to open tape device

Hi,
What you can do is :

#ioscan -fnCtape && insf -e
#ioscan -fnkCtape

this will display the device file.

HTH,

Gideon
Elena Leontieva
Esteemed Contributor

Re: Failed to open tape device

If all of the above would not help, take a look at this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=145674

Elena.