Removing rootability

Perform this procedure if you configured rootability by encapsulating the root disk.

To remove rootability

  1. Check if the system's root disk is under VxVM control by running this command:

    # df -v /

    The root disk is under VxVM control if /dev/vx/dsk/rootvol is listed as being mounted as the root (/) file system. If so, unmirror and unencapsulate the root disk as described in the following steps:

  2. Use the vxplex command to remove all the plexes of the volumes rootvol, swapvol, usr, var, opt and home that are on disks other than the root disk.

    For example, the following command removes the plexes mirrootvol-01, and mirswapvol-01 that are configured on a disk other than the root disk:

    # vxplex -o rm dis mirrootvol-01 mirswapvol-01

    Warning:

    Do not remove the plexes that correspond to the original root disk partitions.

  3. Enter the following command to convert all the encapsulated volumes in the root disk back to being accessible directly through disk partitions instead of through volume devices:

    # /etc/vx/bin/vxunroot

    Following the removal of encapsulation, the system is rebooted from the unencapsulated root disk.