snap showaction
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
snapshotID | Snapshot ID. | The value ranges from 0 to n minus one. n indicates the maximum number of LUNs. |
error | Error. | The value is an error character string. |
Example
-
To check the ID of the snapshot where configuration errors occurred, run the following command.
admin:/diagnose>snap showaction error Error Snapshot Ids: 1
-
To check the execution details of a snapshot task, run the following command.
admin:/diagnose>snap showaction 1 Snapshot Id:1 Time TaskID Action Result Interval ------------------------------------------------------------------------------ -- 2014-12-11 17:34:37 3 CREATE TASK OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_LUN_ORIGIN_BIND INIT 0 2014-12-11 17:34:37 3 SNAP_ACTION_LUN_ORIGIN_BIND OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_TP_RESTORE_ACTIVE OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_LUN_CACHE_BIND OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_LUN_SET_TP OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_LUN_SET_RW OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_LUN_CHANGE_RW OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_ADD_PERF_OBJ OK 0 2014-12-11 17:34:37 3 SNAP_ACTION_TASK_OVER OK 0