Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

88 Administering application volumes
Reversing volume transformations
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.
See the “Monitoring and Controlling Tasks” section in the “Administering
Volumes” chapter of the Veritas Volume Manager Administrator’s Guide.
See the
vxtask(1M) manual page.
Reversing volume transformations
If a volume transformation, which was invoked using the vxassist transform
command, is in progress, you can use the
vxassist transformreverse
command to stop and reverse the transformation:
# vxassist [-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 (vxassist add column).
Removing a column from a mirrored-stripe volume (vxassist remove
column).
Changing the stripe width of a mirrored-stripe volume (vxassist
setstwidth).
To stop and reverse the relayout, add column, remove column and setstwidth
operations on striped, striped-mirror and RAID-5 volumes
1 Enter the following command to discover the task tag of the operation that
you want to reverse:
# vxtask list
2 Use the task tag with this form of the vxtask command to stop the
operation:
# vxtask abort
task_tag
3 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.