Removing Mirrors from a Volume
To remove mirrors from a volume, use the following command:
# vxvoladm [-g diskgroup] [-f] remove mirror volume \ [nmirrors=number] [attributes...]
By default, one mirror is removed. You can use the nmirrors attribute to specify the number of mirrors to remove. You can use storage attributes to specify the storage to be removed. For example, the following example removes the mirror on the disk mydg01, from the volume mirvol1:
# vxvoladm -g mydg remove mirror mirvol1 \
remove_storage='"DM"="mydg01"'
Note
If you use the vxvoladm command to remove mirrors, you must specify the -f (force) option to the command if the operation would violate any rules. For example, the rules may imply that a volume must have minimum number of mirrors of a particular kind.
|