Breaking a mirrored disk for replacement which is under Veritas control



Hi All,

I am just a beginner in vxvm stuff. I just prepared some steps to
replace a mirrored disk which is under veritas control without using
the vxdiskadm menu based command.I want some one to advise whether the
below steps are correct as i am not sure whether it leaves state
information about the disks stale in the vxvm config database if i
proceed like this .

In this scenario disk to be replaced is rootmirror(VM disk)

1.vxprint -ht | grep rootmirror

Disassociate and then remove all of the operating system plexes on the
mirror device "rootmirror":

2.vxplex -g rootdg -o rm dis home-02 opt-02 rootvol-02 swapvol-02 var-02

After removing all plexes remove the disk from veritas control :

3.vxdg -g rootdg rmdisk rootmirror

After the engg replaces the disk, issue this :

4. vxdctl enable

5./usr/lib/vxvm/bin/vxdisksetup -i c2t8d0 (Initialize the new disk)

6.vxdg -g rootdg adddisk rootmirror=c1t1d0 ( Put the disk under the VX control)

7./etc/vx/bin/vxrootmir rootmirror

8.vxassist mirror home rootmirror - done
vxassist mirror opt rootmirror - done
vxassist mirror swapvol rootmirror - done
vxassist mirror var rootmirror

9.vxprint -ht

Your comments are really appreciated.

Thanks & Regards,
Aju
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Solaris RAID failover problems
    ... My intent is to mirror the drives completely, ... Can't read disk label. ... WARNING: md: d10: needs maintenance ... WARNING: forceload of misc/md_trans failed ...
    (comp.unix.solaris)
  • Re: Huge Av Disk Queue Length
    ... Write performance = 130 per mirror ... Mixed performance at a 1:1 R:W ratio = 195 IOPS per mirror. ... (sort of like weighted fair queuing for disk performance). ... put a 3020 in each location with FCP shelves for the primary data and SATA ...
    (microsoft.public.exchange.admin)
  • SUMMARY: Breaking a mirrored disk for replacement which is under Veritas control
    ... In this scenario disk to be replaced is rootmirror ... After removing all plexes remove the disk from veritas control: ... 3.vxdg -g rootdg rmdisk rootmirror ... 8.vxassist mirror home rootmirror - done ...
    (SunManagers)
  • Re: how i locate swap area
    ... what you have with the command 'vgdisplay -v vg00'. ... Why Mirror Copies is 0? ... it seems that you have no disk mirroring. ... Primary Partition Table: ...
    (comp.sys.hp.hpux)
  • Re: VxVM : Cant open /dev/vx/rdsk/bootdg/rootvol
    ... disk as explained in the document). ... before "Reattaching the plexes rootvol-01, swapvol-01, to the relevant ... of the root mirror and change the state of the rootdisk to detached. ... # vxplex att rootvol-01 rootvol-02 ...
    (comp.unix.solaris)