Reversing Volume Transformations
If a volume transformation, which was invoked using the vxvoladm transform command, is in progress, you can use the vxvoladm transformreverse command to stop and reverse the transformation:
# vxvoladm [-g diskgroup] transformreverse volume
This command can also be used to reverse the following operations on mirrored-stripe volumes:
- Adding a column to a mirrored-stripe volume (vxvoladm add column).
- Removing a column from a mirrored-stripe volume (vxvoladm remove column).
- Changing the stripe width of a mirrored-stripe volume (vxvoladm setstwidth).
For add/remove column and setstwidth operations on striped, striped-mirror and RAID-5 volumes, use the following procedure to stop and reverse the relayout:
-
Enter the following command to discover the task tag of the operation that you want to reverse:
# vxtask list
-
Use the task tag with this form of the vxtask command to stop the operation:
# vxtask abort task_tag
-
Finally, use the vxrelayout command to revert the volume to its former layout:
# vxrelayout [-g diskgroup] reverse volume
Note
When mirrors are added or removed, ISP does not use the relayout or transform operations internally. After adding a mirror to a volume, VxVM starts synchronizing the new plexes from the existing plexes. In this case, the reverse operation can be performed by removing the newly added plexes. To reverse the removal of a mirror, a new plex must be added, and time allowed for it to be brought into synchronization with the volume.
|