Unencapsulating the root disk

You can use the vxunroot utility to remove rootability support from a system. This makes root, swap, home and other file systems on the root disk directly accessible through disk partitions, instead of through volume devices.

The vxunroot utility also makes the necessary configuration changes to allow the system to boot without any dependency on VxVM.

Only the volumes that were present on the root disk when it was encapsulated can be unencapsulated using vxunroot. Before running vxunroot, evacuate all other volumes that were created on the root disk after it was encapsulated.

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

Warning:

This procedure requires a reboot of the system.

To remove rootability from a system

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

    For example, the following command removes the plexes mirrootvol-01 and mirswapvol-01 that are configured on the disk rootmir:

    # vxplex -g bootdg -o rm dis mirrootvol-01 mirswapvol-01
  2. Run the vxunroot utility:
    # vxunroot

    vxunroot does not perform any conversion to disk partitions if any plexes remain on other disks.

    If the device naming scheme has changed since the root disk was encapsulated, the vxunroot command fails with the following error:

    VxVM vxunroot ERROR V-5-2-4101 The root disk name does not match
    the name of the original disk that was encapsulated.

    If this message displays, use the vxddladm assign names command to regenerate the persistent device name for the encapsulated root disk, then retry the vxunroot command.

More Information

Regenerating persistent device names