You need to run this first before the luupgrade command.
MEDIA=DVD or iso image is mounted.
OS is Solaris 10 or 11
If the OS is Solaris 10 make sure you have all your patches applied.
out_file=/.sol_reg
cat GT $out_file LTLT EOF
userName=sunsolve_account
password=sunsolve_pw
hostName=
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
EOF
chmod 400 /.sol_reg
sconadm register -a -r /.sol_reg
smpatch update
${MEDIA}/Solaris_${OS}/Tools/Installers/liveupgrade20 -noconsole -nodisplay
# Make sure d1 and c1t1d0s0 is not in use by checking metastat -p
Example 9 Using Solaris Volume Manager Volumes
The command shown below does the following:
1. Creates the mirror d10 and establishes this mirror
as the receptacle for the root file system.
2. Attaches c0t0d0s0 and c0t1d0s0 to single-slice con-
catenations d1 and d2, respectively. Note that the
specification of these volumes is optional.
3. Attaches the concatenations associated with
c0t0d0s0 and c0t1d0s0 to mirror d10.
4. Copies the current BE's root file system to mirror
d10, overwriting any d10 contents.
# lucreate -m /:/dev/md/dsk/d10:ufs,mirror \
-m /:/dev/dsk/c0t0d0s0,d1:attach \
-m /:/dev/dsk/c0t1d0s0,d2:attach -n newBE
lucreate -c u6 -n b106 -m /:/dev/md/dsk/d1:ufs,mirror -m
/:/dev/dsk/c1t1d0s0:detach,attach,preserve
--
This message posted from opensolaris.org