v480 keeping references to old devices after a disk swap GigaBit Card Prob

Hi Everyone,

I had to swap a disk from a Sun 280R into a V480, everything went really well apart from the network card setting, suddenly the GigaBit card went to ce6,7,8,9, and if you look in the /etc/path_to_inst you can see that the server is still referencing the old devices in the previous server. I have done a reboot -- -r to reload all the device files but they are still there at present, has anyone got any ideas, because at present the network card is set at ce6 and onwards. The problem i am facing is that i need to set up a ce.conf file put it will be all over the place if i try to create it at present because it thinks that there is more than one quad Gigabit ethernet card.

Cheers,

Mike

[729 byte] By [Slightly_Imp] at [2007-11-26 8:20:25]
# 1
Have you tried a devfsadm -C?
Red_Oregon at 2007-7-6 21:25:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Tried that, and devlinks still not shifting it :(
Slightly_Imp at 2007-7-6 21:25:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

I don't know that it thinks there's more than one card installed (nor why that would affect what you're trying to do), but it does have a mapping from the current card to those addresses.

/etc/path_to_inst is where they are. Those mappings are dynamically generated, but should be stable going forward. 'devfsadm' doesn't really do anything for network interfaces.

If you want to renumber interfaces, you'll have to edit /etc/path_to_inst. One way is to make a backup, then remove all ce references from the file. When you reboot, It'll add them in again starting at 0.

You could also simply change the existing mappings to reflect what you want, but it's not always easy to describe the right way to do so.

--

Darren

Darren_Dunham at 2007-7-6 21:25:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

This may be a wild shot in the dark, but it's worth a look at least. Better to have it and not need it than the other way around.

I was building a machine in the past and the NIC kept coming up as hme1 vice hme0. Tried all you've tried above... finally found out that I had to physically move the card to a different slot in the mobo.

Haven't played with a 480 in a while, so not sure if this applies, but you might want to give it a shot.

Assuming of course that this is a machine that you can bring down for possibly an hour or so (worst case scenario assuming the switch not working).

Red_Oregon at 2007-7-6 21:25:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

Cheers for all the info

I am now waiting for a scheduled time i can bring the box down, will give all the replies a try and see if it works. At the moment the Gigabit Ethernet Card is still working even though it is on c7 so all is good :)

The only thing is it is annoying me that it is not on ce0,1,2,3,4 aarrggghhh

regards,

Mike

Slightly_Imp at 2007-7-6 21:25:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
As Darren mentioned, the way to get them to ce0-3 in stead of ce4-7 is to remove all references to them in /etc/path_to_inst and do a boot -r.
Reinder at 2007-7-6 21:25:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...