After a few days of fruitlessly searching the Internet for a procedure to upgrade my ZFS boot installation from 10u6 to 10u7 I contacted my Solaris oracle, Dave Clack and, of course he knew exactly how to do it. Since lots of people will undoubtedly need this procedure in the next couple of weeks, here it is. This procedure also works for OpenSolaris. Dave's instructions mount the DVD ISO using lofi loopback. If, like me, you are running you Solaris installations in VirtualBox then you can just mount the image as a virtual DVD. The procedure remains the same with a few path changes.
lofiadm -a /share/iso/solaris_dvd.iso mount -F hsfs /dev/lofi/1 /mnt pkgrm SUNWlur SUNWluu SUNWluzone SUNWlucfg cd /mnt/Solaris_10/Product pkgadd -d . SUNWlucfg SUNWlur SUNWluu SUNWluzone 10uX is currently installed version 10uY is the version number of the one you downloaded lucreate -c 10uX -n 10uY lustatus luupgrade -u -n 10uY -s /mnt luactivate 10uY init 6 |
EDIT: removed un-needed SUNWrmvolmgrr step.
What is the SUNWrmvolmgrr step? pkgadd or pkgrm, or?
Posted by Thommy M. Malmström on October 04, 2009 at 07:00 AM PDT #
gotta love Live Upgrade, and especially with ZFS. I hope all this works as expected when U8 comes out.
If you are removing SUNWrmvolmgrr, would you disable the service first?
Posted by Damian on October 04, 2009 at 10:41 PM PDT #
RE: SUNWrmvolmgrr
Unfortunately I don't actually know what that step does or if it's needed. I don't remember if I actually ran that step or not. I've asked Dave Clack to clarify.
Posted by Mike Duigou on October 05, 2009 at 05:33 PM PDT #