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

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
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.
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi,

#mt -f /dev/rmt/c2t3d0BEST rew
By this command i am able to rew and remove the tape from tape drive.

Rohit
Torsten.
Acclaimed Contributor

Re: Unable to detect external tape drive in HPUX

Your old tape was configured with scsi id 5, the new has 3.

I would remove any device files for the old and new drive, e.g. with

# rmsf -H 10/0/15/0.5.0

and recreate them

# insf -e

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi,Viney
every time i have to do by the same way
as
# mt -f /dev/rmt/c2t3d0BEST rew
inted of
#mt rew
and now i have started backup i use to give the command as
#tar -cvf /dev/rmt/0mn backups
but now when i have started backup by using
#tar -cvf /dev/rmt/c2t3d0BEST backups


Rohit
Torsten.
Acclaimed Contributor

Re: Unable to detect external tape drive in HPUX

All tape related commands are using the ...0m... device as default, so you don't need to specify it (e.g. tar).

If you use another device, you must specify it, unless you configure your new tape to be 0m.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi,
Viney Thanks by
# rmsf -H 10/0/15/0.5.0
and
#insf -e

and now i am able to do rewind the tape
#mt rew

Thanks
Rohit
Rohit_n
Advisor

Re: Unable to detect external tape drive in HPUX

Hi ,

Thanks for ur all support for installing new tape drive on my HPUX machine.

Rohit
Dennis Handly
Acclaimed Contributor

Re: Unable to detect external tape drive in HPUX

>Thanks for ur all support

If you were happy with our answers, please read the following about reopening threads and assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#41
http://forums.itrc.hp.com/service/forums/helptips.do?#33