Replace boot disk VxVM Solaris

http://www.unixway.com/vm/veritasvm/failedbootdisk.html

ok devalias
vx-rootmirror            /pci@1f,4000/scsi@3/disk@1,0:a
vx-rootdisk              /pci@1f,4000/scsi@3/disk@0,0:a
ok boot vx-rootmirror
vxvm:vxconfigd: WARNING: Detaching plex rootvol-01 from volume rootvol
# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t1d0s2 sliced rootmirror rootdg online - - rootdisk rootdg failed was:c0t0d0s2# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t1d0s2 sliced rootmirror rootdg online - - rootdisk rootdg failed was:c0t0d0s2vxprint -ht Disk group: rootdg
dg rootdg default default 0 1035555399.1025.pegasus dm rootdisk - - - - NODEVICE dm rootmirror c0t1d0s2 sliced 3359 17690400 -
v rootvol - ENABLED ACTIVE 13423200 ROUND - root pl rootvol-01 rootvol DISABLED NODEVICE 13423200 CONCAT - RW

Replace the disk
Once new disk is identified in format command
Run vxdctl enable (this will scan the system and identifies the new disk)

# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 sliced - - error c0t1d0s2 sliced rootmirror rootdg online - - rootdisk rootdg failed was:c0t0d0s2

Vxdiskadm (option 4)
4 Remove a disk for replacement
and then option 5
5 Replace a failed or removed disk
# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 sliced rootdisk rootdg online c0t1d0s2 sliced rootmirror rootdg online
dm rootdisk c0t0d0s2 sliced 3359 17690400 - dm rootmirror c0t1d0s2 sliced 3359 17690400 -

After about an hour, all of the plexes have been synchronized,
and full operating system redundancy has been restored: