diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2014-06-19 15:51:39 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2014-06-30 22:30:58 -0700 |
commit | c6f040524d75011c44dcc9afdfef80c60c78f7f7 (patch) | |
tree | 8c1dd960693a98e07088d7026c7e98b7d8b8c8c2 /rpc/xdr/src | |
parent | 2417de9c37d83e36567551dc682bb23f851fd2d7 (diff) |
mgmt/glusterd: display snapd status as part of volume status
* Made changes to save the port used by snapd in the info file for the volume
i.e. <glusterd-working-directory>/vols/<volname>/info
This is how the gluster volume status of a volume would look like for which the
uss feature is enabled.
[root@tatooine ~]# gluster volume status vol
Status of volume: vol
Gluster process Port Online Pid
------------------------------------------------------------------------------
Brick tatooine:/export1/vol 49155 Y 5041
Snapshot Daemon on localhost 49156 Y 5080
NFS Server on localhost 2049 Y 5087
Task Status of Volume vol
------------------------------------------------------------------------------
There are no active volume tasks
Change-Id: I8f3e5d7d764a728497c2a5279a07486317bd7c6d
BUG: 1111041
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/8114
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'rpc/xdr/src')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.x | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index f852ab65070..3c43e374d95 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -135,7 +135,8 @@ enum gf_cli_status_type { GF_CLI_STATUS_BRICK = 0x0400, /*00010000000000*/ GF_CLI_STATUS_NFS = 0x0800, /*00100000000000*/ GF_CLI_STATUS_SHD = 0x1000, /*01000000000000*/ - GF_CLI_STATUS_QUOTAD = 0x2000 /*10000000000000*/ + GF_CLI_STATUS_QUOTAD = 0x2000, /*10000000000000*/ + GF_CLI_STATUS_SNAPD = 0x4000 /*100000000000000*/ }; /* Identifiers for snapshot clis */ |