Operating System - HP-UX
1753805 Members
8414 Online
108805 Solutions
New Discussion юеВ

Unable to detect external tape drive in HPUX

 
Rohit_n
Advisor

Unable to detect external tape drive in HPUX

Hi,

my old external tape drive had a problem so i replaced it with other external tape drive but when i give the fallowing command
# mt rew
/dev/rmt/0mnb: No such device or address
This the error i am getting. please help.

Thanks in Advance
Rohit
16 REPLIES 16
Khairy
Esteemed Contributor

Re: Unable to detect external tape drive in HPUX

hi rohit,

check if your replacement tape drive is successfully detected by system. run the following:

# ioscan -fnC tape

if the status are claimed, and no special file created, then create it by running the following

# insf -ve

then try the command again.

Rgds
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi thanks for the replay i did the fallowing command as u said

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
tape 0 10/0/15/0.3.0 stape CLAIMED DEVICE HP C1533A
/dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0BESTn
/dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0BESTnb
tape 1 10/0/15/0.5.0 stape NO_HW DEVICE SONY SDT-9000
/dev/rmt/0m /dev/rmt/c2t5d0BESTn
/dev/rmt/0mb /dev/rmt/c2t5d0BESTnb
/dev/rmt/0mn /dev/rmt/c2t5d0DDS
/dev/rmt/0mnb /dev/rmt/c2t5d0DDSb
/dev/rmt/c2t5d0BEST /dev/rmt/c2t5d0DDSn
/dev/rmt/c2t5d0BESTb /dev/rmt/c2t5d0DDSnb
# mt rew
/dev/rmt/0mnb: No such device or address
but still the same problem.

Rohit
Viney Kumar
Regular Advisor

Re: Unable to detect external tape drive in HPUX

Hi Rohit

first of all you have to check wether new tape is detect by system or not. use following cmd

ioscan -fnC tape

check the output

if ans= no

then run
insf -eC tape
then again check
ioscan -fnC tape

other wise u will also try with change the id of tape drive

Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi Veny thanks for the replay,
i have run the fallowing command
#ioscan -fnC
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
tape 0 10/0/15/0.3.0 stape CLAIMED DEVICE HP C1533A
/dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0DDS
/dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0DDSb
/dev/rmt/c2t3d0BESTn /dev/rmt/c2t3d0DDSn
/dev/rmt/c2t3d0BESTnb /dev/rmt/c2t3d0DDSnb
tape 1 10/0/15/0.5.0 stape NO_HW DEVICE SONY SDT-9000
/dev/rmt/0m /dev/rmt/c2t5d0BEST
/dev/rmt/0mb /dev/rmt/c2t5d0BESTb
/dev/rmt/0mn /dev/rmt/c2t5d0BESTn
/dev/rmt/0mnb /dev/rmt/c2t5d0BESTnb
/dev/rmt/1m /dev/rmt/c2t5d0DDS
/dev/rmt/1mb /dev/rmt/c2t5d0DDSb
/dev/rmt/1mn /dev/rmt/c2t5d0DDSn
/dev/rmt/1mnb /dev/rmt/c2t5d0DDSnb

and after that when i run the rewind command
# mt rew
i am getting the fallowing error
/dev/rmt/0mnb: No such device or address


Rohit
Viney Kumar
Regular Advisor

Re: Unable to detect external tape drive in HPUX

hi

try
insf -eC tape
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi viney,
i did the fallowing command as u said
#insf -eC tape
insf: Installing special files for stape instance 0 address 10/0/15/0.3.0
insf: Installing special files for stape instance 1 address 10/0/15/0.5.0

and then i again tried
#mt rew
/dev/rmt/0mnb: No such device or address

still same problem.

rohit
Dennis Handly
Acclaimed Contributor

Re: Unable to detect external tape drive in HPUX

#mt rew
/dev/rmt/0mnb: No such device or address

This device is listed under:
tape 1 10/0/15/0.5.0 stape NO_HW DEVICE SONY SDT-9000

I assume this tape drive doesn't exist now? Only:
tape 0 10/0/15/0.3.0 stape CLAIMED DEVICE HP C1533A
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Yes
Dennis Handly
Acclaimed Contributor

Re: Unable to detect external tape drive in HPUX

Then you can only use these names:
/dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0DDS
/dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0DDSb
/dev/rmt/c2t3d0BESTn /dev/rmt/c2t3d0DDSn
/dev/rmt/c2t3d0BESTnb /dev/rmt/c2t3d0DDSnb

mt -f /dev/rmt/c2t3d0BEST rew

It seems you can hardlink the new name to this old name if you want.