3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

13.5
About Tasks
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
13.2.3 Waiting for a Task
You can also use the task ID and the waittask command to ask the system to wait for a task
to complete before returning a command prompt. If you use the
waittask -v option (as
shown in the following example), the command will display detailed task status as the task
executes and then return after it completes, as shown in the following example:
cli% waittask -v 454
Id Type Name Status Phase Step -----StartTime---- -----FinishTime--
454 tune_vv testvol Active 2/3 0/4 Fri Apr 29 11:42:06 PDT 2005
Detailed status:
{Fri Apr 29 11:42:06 PDT 2005} Created task.
{Fri Apr 29 11:42:06 PDT 2005} Tuning VV 'testvol'.
{Fri Apr 29 11:42:06 PDT 2005} Scheduled region move of 256MB from
(testvol.usr.1:0MB) to (testvol.usr.2:0MB).
{Fri Apr 29 11:42:06 PDT 2005} Scheduled region move of 256MB from
(testvol.usr.0:0MB) to (testvol.usr.3:0MB).
{Fri Apr 29 11:42:06 PDT 2005} Scheduled region move of 256MB from
(testvol.usr.1:256MB) to (testvol.usr.2:256MB).
{Fri Apr 29 11:42:06 PDT 2005} Scheduled region move of 256MB from
(testvol.usr.0:256MB) to (testvol.usr.3:256MB).
{Fri Apr 29 11:42:06 PDT 2005} Storing task data for later restarts.
{Fri Apr 29 11:42:06 PDT 2005} Started region move of 256MB from
(testvol.usr.1:0MB) to (testvol.usr.2:0MB).
{Fri Apr 29 11:42:06 PDT 2005} Started region move of 256MB from
(testvol.usr.0:0MB) to (testvol.usr.3:0MB).
{Fri Apr 29 11:42:06 PDT 2005} Started region move of 256MB from
(testvol.usr.1:256MB) to (testvol.usr.2:256MB).
{Fri Apr 29 11:42:06 PDT 2005} Started region move of 256MB from
(testvol.usr.0:256MB) to (testvol.usr.3:256MB).
{Fri Apr 29 11:42:19 PDT 2005} Completed region move of 256MB from
(testvol.usr.1:256MB) to (testvol.usr.2:256MB) in 13 seconds.
{Fri Apr 29 11:42:19 PDT 2005} Completed region move of 256MB from
(testvol.usr.1:0MB) to (testvol.usr.2:0MB) in 13 seconds.
{Fri Apr 29 11:42:19 PDT 2005} Completed region move of 256MB from
(testvol.usr.0:0MB) to (testvol.usr.3:0MB) in 13 seconds.
{Fri Apr 29 11:42:19 PDT 2005} Completed region move of 256MB from
(testvol.usr.0:256MB) to (testvol.usr.3:256MB) in 13 seconds.
{Fri Apr 29 11:42:19 PDT 2005} Waiting to switch regions to their new locations.
{Fri Apr 29 11:42:19 PDT 2005} Switching regions to their new locations.
{Fri Apr 29 11:42:19 PDT 2005} Reclaiming unused LD space.
{Fri Apr 29 11:42:19 PDT 2005} Deleted LD testvol.usr.1.
{Fri Apr 29 11:42:19 PDT 2005} Deleted LD testvol.usr.0.
{Fri Apr 29 11:42:19 PDT 2005} Cleaning up task data for later restarts.
{Fri Apr 29 11:42:19 PDT 2005} Completed region moves. Moved 4 regions for a total
of 1024 MB in 13 seconds.