How to change controller numbering/enumeration in Solaris 10?

Posted by Jim on Server Fault See other posts from Server Fault or by Jim
Published on 2011-06-24T00:18:59Z Indexed on 2012/06/22 3:18 UTC
Read the original article Hit count: 444

Filed under:
|
|

After moving a Solaris 10 server to a new machine, the rpool disk is now c1t0d0. We have some third party applications hard coded for c0t0d0. How can I change the controller enumeration on this machine? There is no longer a c0.

I've tried rebuilding the /etc/path_to_inst, but the instance numbers don't seem to match up with the controller numbers. Also, it's not clear if i86pc platforms use this file.

I've tried devfsadm -C to clear the dangling links, but I'm not sure how to cause devfsadm to start numbering from 0 again (or force certain devices in the tree to a specific controller number).

Next I am going to try to create the symlinks manually in /dev/dsk and rdsk to point to the correct /devices.

I feel like I am going way off path here. Any suggestions?

Thanks


Update:

This is on virtual ESXi hardware with an additional pass-through HBA. There is no controller 0 on the machine, that is for sure. devfsadm -C cleans up all the c0 device symlinks but keeps the already linked controllers at their current ids.

© Server Fault or respective owner

Related posts about solaris

Related posts about opensolaris