diff options
| author | Sachin Pandit <spandit@redhat.com> | 2014-03-06 11:09:58 +0530 |
|---|---|---|
| committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-13 02:54:13 -0700 |
| commit | b458f7b40b19727258fa3268cc8d1147f630fe26 (patch) | |
| tree | e5bc4ce287ef23174e137a33aeb1c5eb03ea747f /cli/src/cli-cmd-snapshot.c | |
| parent | 7817de70fedaeffbc320ffb629c1ff6c14f81ecd (diff) | |
feature/snapshot : Snapshot status.
Snapshot status command is used to display the status of
available snapshot.
The status command will display the Brick path, Volume Group,
Brick pid, Whether brick is online, Percentage of data filled,
Logical Volume size.
The syntax for using snapshot status is :
gluster snapshot status [(snapname | volume <volname>)]
Change-Id: I621911c305e20ca83d958ff1f8762bef1f2f12f0
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7134
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
| -rw-r--r-- | cli/src/cli-cmd-snapshot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c index 2389252b3..bf954d61c 100644 --- a/cli/src/cli-cmd-snapshot.c +++ b/cli/src/cli-cmd-snapshot.c @@ -91,6 +91,10 @@ struct cli_cmd snapshot_cmds[] = { cli_cmd_snapshot_cbk, "Snapshot Restore." }, + { "snapshot status [(snapname | volume <volname>)]", + cli_cmd_snapshot_cbk, + "Snapshot Status." + }, { "snapshot info [(snapname | volume <volname>)]", cli_cmd_snapshot_cbk, "Snapshot Info." |
