Operating System - HP-UX
1752723 Members
5994 Online
108789 Solutions
New Discussion юеВ

Re: change dev file instance number

 
Sherif A. Louis
Valued Contributor

change dev file instance number

hello everyone,
i was wondering if it is possible to change the instance numbers of devices such as the tape, disk or NIC.
I have a tape installed on an rx7640 server with the device file /dev/rmt/4m, /dev/rtape/tape5 and i want to change it to /dev/rmt/0m.
Any suggestions would be of great value, thank you
4 REPLIES 4
avizen9
Esteemed Contributor

Re: change dev file instance number

hello Lois,

i dont think we should change it since it generate by system,
Sherif A. Louis
Valued Contributor

Re: change dev file instance number

my question is it changeable and how?
let ME worry about the should and shouldn't part, thank you
Bill Hassell
Honored Contributor

Re: change dev file instance number

YUes. You delete the current tape device with rmsf -a /dev/rmt/whatever (both 4m, 5m and 0m) or use: rmsh -H . The you use insf -I # -H . Tapes are easy. Disks are quite involved and time consuming (and risky for a lot of downtime).


Bill Hassell, sysadmin
Proboi
Advisor

Re: change dev file instance number

Hi,
There are two files that takes care of the mappings between the device files and hardware path

/stand/ioconfig
/etc/ioconfig

these files are binary and cannot be edited using editors

prior to 11.23 you would need to contact HP Response Center to get the tool ioconfig_dump

check this link
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1004717


11.31 onwards there are OS commands to do this

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1198301

they are normally used to make all the nodes in the cluster see the same device files (
ie when they are connected to same device )

The tool has to be used with caution and it can render the machine unbootable

Please assign points if you find the responses useful, thank you!!