- # boot cdrom -sw
- # mount /dev/dsk/c0t0d0s0 /a (to mount root filesystem)
- Edit /a/etc/system
Use * to block lines between VXVM BEGIN and VXVM END
NOTE: There might be a file /a/etc/system.prevm
That could be used. The lines look like the following:
*rootdev:/pseudo/vxio@0:0
*set vxio:vol_rootdev_is_volume=1
- Edit /a/etc/vfstab
Comment out which is related to Volume Manager
a) Using vfstab, change root device to system's root disk
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
#NOTE: volume rootvol (/) encapsulated partition c0t0d0s0
Recover other volumes the same way for /usr, /opt, etc.
- format c0t0d0
Recover all slices.
Refer to /etc/vx/reconfig.d/disk.d/cxtydz/vtoc for original config.
- Mount all slices to check.
# mount /dev/dsk/c0t0d0s0 /a
# mount /dev/dsk/c0t0d0s6 /a/usr
# mount /dev/dsk/c0t0d0s3 /a/var
# ...
- Boot into multi-user mode.
# init 6
- Remove patch and package for vm
# pkgrm SUNWvxva
# pkgrm SUNWvxvm
- Remove existing drivers for Volume Manager
# rm /kernel/drv/*vx*
- cd /etc/vx and delete everything except /etc/vx/elm
- Move Volume Manager directory.
# mv /VX* /old.VX*
- Upgrade OS.
- Reinstall vm package
pkgadd SUNWvxva
pkgadd SUNWvxvm
required patches
- Run Volume Manager and recover root volume
# rm /etc/vx/reconfig.d/state.d/install-db
# vxiod set 10
# vxconfigd -m disable
# vxdctl init
# vxdctl enable
# vxdiskadm (select option 2)
- Mirror root disk again.