HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 130

Removing a Task, Canceling a Task, Task Types

Page 130 highlights

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 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 Task Type Operation (Feature or Product) Commands Description background_command compact_cpg compact_lds promote_sv remote_copy_sync The starttask CLI command. creategroupsv Tracks commands initiated createsv moverelocpd by the starttask CLI removevv updatevv command. upgradecage upgradepd Reclaim logical disk space. compactcpg Compacts a CPG to reclaim space and reduce the number of LDs. Reclaim logical disk space. compactld Compacts unused LD regions mapped to virtual volumes. Virtual copy promote (Virtual promotesv Copy) (Remote Copy). Copies the differences of a virtual copy back to its base volume. Remote copy volume synchronization (Remote Copy). startrcopygroup Starts a remote copy volume group and synchronizes the primary and secondary groups. 130 Managing Tasks

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

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
Description
Commands
Operation
Task 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.
compactcpg
Reclaim logical disk space.
compact_cpg
Compacts unused LD regions
mapped to virtual volumes.
compactld
Reclaim logical disk space.
compact_lds
Copies the differences of a
virtual copy back to its base
volume.
promotesv
Virtual copy promote (Virtual
Copy) (Remote Copy).
promote_sv
Starts a remote copy volume
group and synchronizes the
startrcopygroup
Remote copy volume
synchronization (Remote
Copy).
remote_copy_sync
primary and secondary
groups.
130
Managing Tasks