Solaris Manual Patching with VxVm Root Disk

This procedure has been tested on Veritas versions 5.0 ———————————————————————————

######################################################### ### Breaking the correct “mirror” steps ### The mirror is the disk that does NOT match bootpath #### this is “usually” the rootmirror disk ##########################################################

# verify what disk you are booted off of

prtconf -vp|grep bootpath

#verify if bootpath and either rootdisk and rootmirror are the same #####

prtconf -vp|grep rootdisk
prtconf -vp|grep rootmirror

# Break the mirror(ie the disk that does NOT match the bootpath disk) # so the new environment can be created. # Verify that the 0# plexes are really the non-bootpath plexes # Make sure you remove the plexes that are associated to the non-bootpath plexes # Replace ## with the number associated to the non-bootpath plex # Example: # v rootvol # pl rootvol-01 (Remove pl associated with “sd” rootmirror) # sd rootmirror-02 (In this example you would remove plex “rootvol-01”)

make appropriate changes to the /etc/vfstab file( there should not be anything like /dev/vx)

# Double-check the /mnt/etc/system and comment out the rootdev entries # if they are there

vi /mnt/etc/system

# Only comment out the following entries

rootdev:/pseudo/vxio@0:0
set vxio:vol_rootdev_is_volume=1
umount /mnt

reboot the server in single user mode
start patching
once patching is done and validation also i usually give 24-48 hours before i sync the mirrors back.
for mirroring
add the old root mirror disk again to rootdg
# vxdiskadm
option 6
source disk
target disk