To identify the plex of the RAID-5 log, use the following command:
# vxprint [-g diskgroup] -ht volume
where volume is the name of the RAID-5 volume. For a RAID-5 log, the output lists a plex with a STATE field entry of LOG.
To dissociate and remove a RAID-5 log and any associated subdisks from an existing volume, use the following command:
# vxplex [-g diskgroup] -o rm dis plex
For example, to dissociate and remove the log plex volraid-02 from volraid in the disk group mydg, use the following command:
# vxplex -g mydg -o rm dis volraid-02
You can also remove a RAID-5 log with the vxassist command, as follows:
# vxassist [-g diskgroup] remove log volume [nlog=n]
By default, the vxassist command removes one log. To specify the number of logs that remain after the operation, use the optional attribute nlog=n.