[rescue] Changing rootdrive SCSI host adaptors on Solaris.
Scott Quinn
compoobah at valleyimplants.com
Mon Nov 5 23:22:26 CST 2007
Patrick Giagnocavo wrote:
> Isn't there a devfsadm command that is supposed to be run in there
> somewhere? I think it updates the links to all the devices.
>
>
Kind of- it gets run during a reconfiguration boot, but since my system
disk was connected to the ISPTWO controller it didn't pick it up and
create the device files. That put me on the right track, though - I
shouldn't have panicked when format couldn't find the drive (I assumed
that it did a more exhaustive search than just check the device files).
So - here's what you need to do if anyone else needs to swap SCSI host
adaptors on a Solaris system:
While the old adaptor is connected:
open up the vfstab and change the mounts and fscks to the new (but
nonexistant) bus (c2 in my case). Then you need to go into the /dev
filesystem and make blind links between c2t3d0s(1-7) and the
corresponding devices that will appear in the /devices filesystem on
the next boot (e.g.
/devices/pci at 1f,0/pci at 1/IntraServer-Ultra2,scsi at 3/sd at 3,0:[a-g]
Once you do this and restart you can run devfsadm to clean up anything
you missed, but this will get things loaded enough. I suppose you could
also hand-mount the disks r/w directly from the /devices tree as well.
More information about the rescue
mailing list