1829598 Members
1688 Online
109992 Solutions
New Discussion

tape path

 
???_185
Regular Advisor

tape path

Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 10/1/4/0.3.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c3t3d0BEST
how can I see /dev/rmt/0m Hardware Path?
7 REPLIES 7
Joseph Loo
Honored Contributor

Re: tape path

hi,

try to install the special device file for the tape:

# insf -H 10/1/4/0.3.0
and rescan
# ioscan -fnC tape
to verify if the device files are created.

regards.
what you do not see does not mean you should not believe
Bill Hassell
Honored Contributor

Re: tape path

To see the tape path for /dev/rmt/0m, use the lssf command:

lssf /dev/rmt/0m

However, if your ioscan command shows only one tape drive, then /dev/rmt/0m is meaningless or does not exist. If you add and delete peripheral devices without using rmsf, then new device file names will be automatically created. It doesn't matter what name is used (0m, 1m, 2m, 3m) as long as it points to the tape drive.


Bill Hassell, sysadmin
Sivakumar TS
Honored Contributor

Re: tape path


Dear Zungwon,

If /dev/rmt/0m dosent exist in the system and you need the device name, you can create it using

#mksf

command.

Please check the man page for complete syntax

HtH,

Siva.
Nothing is Impossible !
Muthukumar_5
Honored Contributor

Re: tape path

# ioscan -fnC tape | grep '0m'

Information in H/W Path gives the Hardware path to you.

Or check with,

# lssf /dev/rmt/0m

It will give hardware informations along with others if existing else prompt with error that device is not there.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: tape path

Hello,

You can use # ioscan -fnC tape and use lssf command with that. For more information, you can refer these threads,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=987722
http://docs.hp.com/en/32650-90484/ch01s01.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
???_185
Regular Advisor

Re: tape path

I did like this.
# insf -H 10/1/4/0.3.0
# ioscan -fnC tape
but the result is same,so I reboot system.
and then I t works well
Devender Khatana
Honored Contributor

Re: tape path

Hi,

As the device listed in your initial post does have a device file allready linked to it with name /dev/rmt/c3t3d0BEST. The /dev/rmt/0mn may not be necessarily be linked to this device only. If you had some other drive configured at some other hardware address earlier than next device sequence will be assigned to this drive. The sequence should be
/dev/rmt/0m,0mn,0mnB
/dev/rmt/1m,1mn,1mnB
/dev/rmt/2m,2mn,2mnB
/dev/rmt/3m,3mn,3mnB
.
.
.
And so on
But here it seems that the same is not getting associated with it.The same can be resolved. As the device file is allready there I think you should remove device files and then reinsert them using insf.

#rmsf -H 10/1/4/0.3.0

#insf

HTH,
Devender
Impossible itself mentions "I m possible"