Removing the mirror for the root volume group (rootvg)

To remove redundancy to the root volume group, remove the mirror of the root volume group. For a root volume group that is under DMP control, use the operating system commands to remove the mirror.

To unmirror the root volume group

  1. View the configuration of the root volume group.
    # lsvg -p rootvg 
    rootvg: 
    PV_NAME    PV STATE  TOTAL PPs FREE PPs FREE DISTRIBUTION 
    hdisk70    active    639       361      127..05..00..101..128 
    hdisk73    active    639       639      128..128..127..128..128
    # lspv | grep -w rootvg 
    hdisk70  00f60bfea7406c01  rootvg  active 
    hdisk72  00f60bfea7406c01  rootvg  active 
    hdisk73  00f60bfe000d0356  rootvg  active 
    hdisk74  00f60bfe000d0356  rootvg  active
  2. Remove the mirror from the root volume group.
    # unmirrorvg rootvg 
    0516-1246 rmlvcopy: If hd5 is the boot logical volume, 
    please run 'chpv -c <diskname>' as root user to 
    clear the boot record and avoid a potential boot
    off an old boot image that may reside on the disk 
    from which this logical volume is moved/removed. 
    0516-1804 chvg: The quorum change takes effect 
    immediately. 
    0516-1144 unmirrorvg: rootvg successfully unmirrored, 
    user should perform bosboot of system to reinitialize 
    boot records.  Then, user must modify bootlist to 
    just include:  hdisk70.
  3. As the output of the unmirrorvg command in step 2 indicates, run the chpv -c command on the paths of the device that formerly was the mirror. In this example, the paths are hdisk73 and hdisk74.
    # chpv -c hdisk74
    # chpv -c hdisk73
  4. Set the boot list to remove the paths for the former mirror. In this example, remove the paths for hdisk73 and hdisk74. The boot list includes the paths hdisk70 and hdisk72.
    # bootlist -m normal -o 
    hdisk70 blv=hd5 
    hdisk72 blv=hd5 
    hdisk73 blv=hd5 
    hdisk74 blv=hd5
    # bootlist -m normal hdisk70 hdisk72 blv=hd5
    # bootlist -m normal -o 
    hdisk70 blv=hd5 
    hdisk72 blv=hd5
  5. As the output of the unmirrorvg command in step 2 indicates, run bosboot command to reflect the changes. If the bosboot command fails on /dev/ipldevice, then retry the command on the paths of current boot disk until it succeeds.
    # bosboot -ad /dev/ipldevice 
    A previous bosdebug command has changed characteristics of this
    boot image.  Use bosdebug -L to display what these changes are. 
    bosboot: Boot image is 56863 512 byte blocks.
  6. Verify that the mirror of the rootvg is removed.
    # lspv | grep -w rootvg 
    hdisk70  00f60bfea7406c01  rootvg  active 
    hdisk72  00f60bfea7406c01  rootvg  active 
    # lsvg -p rootvg 
    rootvg: 
    PV_NAME         PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION 
    hdisk70         active   639       361      127..05..00..101..128