diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-04 00:08:14 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-01-27 04:23:41 -0800 |
commit | e99cb60af1e153efd616014da6a54d2f95c119d1 (patch) | |
tree | bf6e3e92ae6d200b72fd41e0ee7fed0ff720c431 /cli/src/cli-cmd-volume.c | |
parent | 5a8c58cf6e6c993c8665a31e6f108744ca27ccf4 (diff) |
glusterd: provide option to take statedump of the nfs server
Currently the cli command for taking statedump is for glusterfs servers
only. Statedump of nfs server cannot be taken. With this patch if one
gives nfs as an option to the statedump command, then the nfs-server's
statedump is taken.
Change-Id: I4ef7a68e608da4aa2f17541d7b42cd78ce2624b6
BUG: 771587
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Reviewed-on: http://review.gluster.com/2579
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 0168628dd..521e3eb84 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1749,7 +1749,8 @@ struct cli_cmd volume_cmds[] = { cli_cmd_volume_heal_cbk, "Start healing of volume specified by <VOLNAME>"}, - {"volume statedump <VOLNAME> [all|mem|iobuf|callpool|priv|fd|inode]...", + {"volume statedump <VOLNAME> [nfs] [all|mem|iobuf|callpool|priv|fd|" + "inode]...", cli_cmd_volume_statedump_cbk, "perform statedump on bricks"}, |