HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

Removing a Task
The removetask command only works on completed, failed, and cancelled tasks. Information
about a task remains on the system unless it is manually removed using the removetask command
and the task ID. For example:
cli% removetask 454
Remove the following tasks?
454
select q=quit y=yes n=no: y
The specified task ID and any information associated with it are removed from the system. However,
task IDs are not recycled, so the next task started on the system will use the next whole integer that
has not already been used (for example, 455). Task ID numbers roll over at 9999.
Canceling a Task
For all task types except remote_copy_sync, scheduled_task, snapspace_accounting,
background_command, and system_task, you can cancel an active task using the canceltask
command and the task ID. For example:
cli# canceltask <task_ID>
select q=quit y=yes n=no: y
Information for the task will still be available with the showtask command, where the status of
the task will now appear as Cancelled.
Task Types
See Table 11 (page 130) for a list of all task types and their associated operations. The table also
includes information about the CLI commands associated with each operation. For a complete list
of options available for the CLI commands listed in Table 11 (page 130), see the HP 3PAR Command
Line Interface Reference and the HP 3PAR CLI Help.
Table 11 Task Types by Operation and Command
DescriptionCommandsOperationTask Type
(Feature or Product)
Tracks commands initiated
by the starttask CLI
command.
creategroupsv
createsv moverelocpd
removevv updatevv
The starttask CLI
command.
background_command
upgradecage
upgradepd
Compacts a CPG to reclaim
space and reduce the
number of LDs.
compactcpgReclaim logical disk space.compact_cpg
Compacts unused LD regions
mapped to virtual volumes.
compactldReclaim logical disk space.compact_lds
Copies the differences of a
virtual copy back to its base
volume.
promotesvVirtual copy promote (Virtual
Copy) (Remote Copy).
promote_sv
Starts a remote copy volume
group and synchronizes the
startrcopygroupRemote copy volume
synchronization (Remote
Copy).
remote_copy_sync
primary and secondary
groups.
130 Managing Tasks