protectedpath get-prefetch-status

Prev Next

This command retrieves the status of a prefetch task.

Usage

vcli: admin> protectedpath get-prefetch-status --id ID
                                               --task-id TASK

Required Parameters

--id ID

The Protected Path ID.

--task-id TASK

The Prefetch task ID.

Example

This example retrieves the status of the specified prefetch folder operation:

vcli: admin> protectedpath get-prefetch-status --id 123 --task-id 456
Paths for prefetch tasks [1] were removed.
Tenant default:
+------------+---------+----------------+------------------+----------------+---------+
| Path       | Code    | Prefetch-type  | Inodes-retrieved | Size-retrieved | Task-id |
+------------+---------+----------------+------------------+----------------+---------+
| /b-rem/b1/ | SUCCESS | META_DATA_ONLY | 1                | 0              | 2       |
+------------+---------+----------------+------------------+----------------+---------+
Tenant test:
+---------+---------+---------------+------------------+----------------+---------+
| Path    | Code    | Prefetch-type | Inodes-retrieved | Size-retrieved | Task-id |
+---------+---------+---------------+------------------+----------------+---------+
| /c-rem/ | SUCCESS | FULL          | 1                | 0              | 3       |
+---------+---------+---------------+------------------+----------------+---------+