How to change device names?

This questions revolves around three V490s.

- All are connected to the same raid.

- All have cards in the same slots.

- One box had only 1 internal drive, two came with 2 internal drives.

- All have stmsboot enabled.

- When doing a format, 2 boxes show the paths to be the same (ie, c6txxxxx), 1 box shows the path to be different (ie, c4txxxx).

How do I go about changing the device name so that the c4txxx on the one box matches the c6txxxx devices name on the other two boxes?

- I have inserted a secondary drive into the 1 box, rebooted with -r. No difference.

- I removed the path_to_inst, rm c4txxx* entries from /dev/[r]dsk, and rebooted with -ras options. No difference.

- I manually edited the path_to_inst to use same device numbers (entry in 2nd column) as is used in the other 2 boxes' path_to_inst files, rm c4txxx* entries from /dev/[r]dsk, rebooted -r. Still no difference.

- I tried using a path_to_inst direct from one of the 2 boxes that have the matching device names. No difference.

I'm quickly running out of options. The device names are supposed to be the same for the Oracle ASM application. Anyone have any ideas or experiences they can share concerning this matter? Thanks.

[1277 byte] By [rayadmina] at [2007-11-27 3:06:18]
# 1

In single user mode, edit /etc/path_to_inst and renumber the device.

You probably want to halt and do a boot -r after this.

The best way to figure out which lines to change.

Run format and note the device path for the controller in question.

Then search for that line in the file.

This is all completely unsupported and at your own risk. You might want to experiment on a test server before doing it to a machine you care about....

robert.cohena at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Controller numbers are mapped in /dev/cfg. As long as you're not dealling with the boot device, you should be able to redo those mappings.-- Darren
Darren_Dunhama at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
Tried that, and got nothing different than doing the same thing while the box was in multi-user mode.Any liklihood there's a cable somewhere in the box connecting the drives that may have something to do with it?
rayadmina at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Don't know, but it doesn't sound like it. While it doesn't seem to be specifically "supported", I've generally had good luck moving devices around with /etc/path_to_inst and /dev/cfg changes.-- Darren
Darren_Dunhama at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5
Actually, sorry my above entry about it not working was in response to Robert's suggestion of trying from single-user mode. Darren, I'm still working through your suggestion and believe I'm making progress.... I'll update again in a bit with a more firm answer.
rayadmina at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
Well, there you go. You learn something new every day.I wasnt aware of the existance of /dev/cfg.I thought all the /dev stuff was dynamically generated on boot -r from the contents of /etc/path_to_inst.
robert.cohena at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
I still don't fully understand it myself. This stuff used to work basically the same way in older versions of Solaris before /dev/cfg appeared (I think it was in Solaris 8). So I don't know if the same information is duplicated in /etc/path_to_inst, or if it changed.--
Darren_Dunhama at 2007-7-12 3:52:35 > top of Java-index,Solaris Operating System,Solaris 10 Features...