Tasks

The tasks are all outstanding operations on recovering or relocating data in the present or between two connected clusters.

For example, if a disk with ID 1401 was not in the cluster for a period of time and is then returned, all outdated objects will be recovered from the other drives with the latest changes.

These recovery operations could be listed with:

# storpool task list
----------------------------------------------------------------------------------------
|     disk |  task id |  total obj |  completed |    started |  remaining | % complete |
----------------------------------------------------------------------------------------
|     2301 | RECOVERY |         73 |          5 |          1 |         68 |         6% |
|     2315 | balancer |        180 |          0 |          1 |        180 |         0% |
----------------------------------------------------------------------------------------
|    total |          |         73 |          5 |          1 |         68 |         6% |
----------------------------------------------------------------------------------------

Other cases where tasks operations could be listed are when a re-balancing operation was committed and relocations are in progress, as well as when a cloning operation for a remote snapshot in the local cluster is in progress.