Saturday Oct 03, 2009

Upgrading a Solaris 10 ZFS Boot Installation

With Solaris 10u8 aka Solaris 10 10/09 due any day now I've been planning to upgrade my installations. When I originally installed Solaris 10u6 with ZFS boot I assumed that the upgrade process to 10u7 would be about the same as it has been for UFS boot installations. It turns out, unfortunately, that the Solaris 10 installer doesn't offer direct upgrades for ZFS.

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.

Upgrade a Solaris 10 ZFS Boot Installation from one "u" level to another
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.

About

mduigou

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today