VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Reversing Volume Transformations
68 VERITAS Storage Foundation ISP Administrators Guide
Note The online transformation of an ISP volume is not necessarily complete if the vxtask
command shows that synchronization of the volume has finished. A small additional time is
required to perform cleanup operations.
For example, if you create a 2-way mirrored volume in the background, ISP creates an allocation
task whose progress you can monitor using the vxvoladmtask monitor command. When ISP
has allocated storage for the volume, it lays out the volume on that storage and then starts the
volume. At this point, VxVM takes over control of I/O, and it begins to initialize the volume by
synchronizing its plexes. To view the progress of this synchronization, you would use the vxtask
monitor command.
The following command lists all current ISP tasks:
# vxvoladmtask list
This command monitors the progress of an ISP task, specified by its task tag:
# vxvoladmtask monitor task_tag
If necessary, you can use this command to stop an ISP task:
# vxvoladmtask abort task_tag
For more information about the vxvoladmtask command, see the vxvoladmtask(1M)
manual page.
For information about the vxtask command, see the “Monitoring and Controlling Tasks” section
in the “Administering Volumes” chapter of the VERITAS Volume Manager Administrators Guide,
and the vxtask(1M) manual page.
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: