Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
Removing logs from a volume
To remove logs from a volume, use the following command:
# vxassist [-g diskgroup] [-f] remove log volume \
[nlogs=number] logtype=type [attributes...]
The supported log types are dco and raid5. By default, one RAID-5 log or one plex
of a DCO volume is removed. You can use the nlogs attribute to specify the number
of logs or DCO plexes to remove. You can use storage attributes to specify the
storage to be removed.
In the following example, a DCO plex on the disk mydg11 is removed from the
volume mirvol1:
# vxassist -g mydg remove log mirvol1 logtype=dco\
remove_storage=’"DM"="mydg11"’
To remove all logs of a particular type from a volume, use the following command:
# vxassist [-g diskgroup] removeall log volume logtype=type
If you use the vxassist command to remove logs, 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 logs of a particular
kind. You must also specify the -f option when removing a DCO that is in use by
DRL configured on a volume.
Data change map (DCM) logs are usually removed automatically as required by
VVR administration commands.
Monitoring and controlling ISP tasks
ISP performs management of objects (such as subdisks, plexes, and volumes).
Once these objects have been created, VxVM can start performing I/O with them.
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. 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.
Administering application volumes
Removing logs from a volume
90