How to force Solaris to renumber network devicesLet us suppose, as a not entirely hypothetical example, that you
are transplanting the system disks from a Solaris 10 install from a
SunFire X2100 to a SunFire X2200. While both machines have four onboard
network ports, two Broadcom and two nVidia, they are not quite the
same hardware, enough so that if left to its own devices Solaris will
consider the new machine's NICs to be This isn't a really desirable result, because it makes the transplanted machines different from any future machines you install on the X2200s (and in turn means that you have to remember any particular install's history when figuring out which network device is which). What you want to do is to force Solaris to renumber the Ethernet devices from scratch, giving them their natural numbers. (As far as I can see, there is no documented way of doing this; a reconfiguration reboot doesn't do it, at least on Solaris 10 U4 and U5.) It turns out that Solaris stores this mapping information in
The (Important: make a backup of the file first, just in case.) When I did this it took two go-arounds to get the nVidia devices
correct; you might be able to get it down to one by doing the editing
in the rescue environment instead of booting the system into normal
single-user mode. If you go this route, you'll need to rebuild the boot
archive by hand (with ' Oh yes, and here's an important safety tip that I learned the hard way:
under no circumstances should you use (This mapping information is stored in |
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |