<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/cli/src/cli.h, branch v3.8.9</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>cli: keep 'gluster volume status detail' consistent</title>
<updated>2017-01-25T04:50:01+00:00</updated>
<author>
<name>Xavier Hernandez</name>
<email>xhernandez@datalab.es</email>
</author>
<published>2017-01-10T10:21:06+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=644ca6d8656e323a142c0a3cd2942ff5ce718785'/>
<id>644ca6d8656e323a142c0a3cd2942ff5ce718785</id>
<content type='text'>
The output of the command 'gluster volume status &lt;volname&gt; detail' is
not consistent between operating systems. On linux hosts it shows the
file system type, the device name, mount options and inode size of each
brick. However the same command executed on a FreeBSD host doesn't show
all this information, even for bricks stored on a linux.

Additionally, for hosts other than linux, this information is shown as
'N/A' many times. This has been fixed to show as much information as it
can be retrieved from the operating system.

The file contrib/mount/mntent.c has been mostly rewriten because it
contained many errors that caused mount information to not be retrieved
on some operating systems.

&gt; Change-Id: Icb6e19e8af6ec82255e7792ad71914ef679fc316
&gt; BUG: 1411334
&gt; Signed-off-by: Xavier Hernandez &lt;xhernandez@datalab.es&gt;
&gt; Reviewed-on: http://review.gluster.org/16371
&gt; Smoke: Gluster Build System &lt;jenkins@build.gluster.org&gt;
&gt; NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt; CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.org&gt;
&gt; Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
&gt; Reviewed-by: Kaleb KEITHLEY &lt;kkeithle@redhat.com&gt;

Change-Id: I01f99562dddff5d5cb6974df44d1b6366faf05dc
BUG: 1415132
Signed-off-by: Xavier Hernandez &lt;xhernandez@datalab.es&gt;
Reviewed-on: https://review.gluster.org/16442
Smoke: Gluster Build System &lt;jenkins@build.gluster.org&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Kaleb KEITHLEY &lt;kkeithle@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The output of the command 'gluster volume status &lt;volname&gt; detail' is
not consistent between operating systems. On linux hosts it shows the
file system type, the device name, mount options and inode size of each
brick. However the same command executed on a FreeBSD host doesn't show
all this information, even for bricks stored on a linux.

Additionally, for hosts other than linux, this information is shown as
'N/A' many times. This has been fixed to show as much information as it
can be retrieved from the operating system.

The file contrib/mount/mntent.c has been mostly rewriten because it
contained many errors that caused mount information to not be retrieved
on some operating systems.

&gt; Change-Id: Icb6e19e8af6ec82255e7792ad71914ef679fc316
&gt; BUG: 1411334
&gt; Signed-off-by: Xavier Hernandez &lt;xhernandez@datalab.es&gt;
&gt; Reviewed-on: http://review.gluster.org/16371
&gt; Smoke: Gluster Build System &lt;jenkins@build.gluster.org&gt;
&gt; NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt; CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.org&gt;
&gt; Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
&gt; Reviewed-by: Kaleb KEITHLEY &lt;kkeithle@redhat.com&gt;

Change-Id: I01f99562dddff5d5cb6974df44d1b6366faf05dc
BUG: 1415132
Signed-off-by: Xavier Hernandez &lt;xhernandez@datalab.es&gt;
Reviewed-on: https://review.gluster.org/16442
Smoke: Gluster Build System &lt;jenkins@build.gluster.org&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Kaleb KEITHLEY &lt;kkeithle@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli/quota: Sort the list output alphabetically by path</title>
<updated>2016-04-25T09:32:58+00:00</updated>
<author>
<name>vmallika</name>
<email>vmallika@redhat.com</email>
</author>
<published>2016-04-14T12:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=760dfb6e8aebc44b419e8943e4e3895591097b8b'/>
<id>760dfb6e8aebc44b419e8943e4e3895591097b8b</id>
<content type='text'>
Change-Id: I0b124e119d167817be2ae3eb52ac6c80fc7db5d1
BUG: 1320716
Signed-off-by: vmallika &lt;vmallika@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14000
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0b124e119d167817be2ae3eb52ac6c80fc7db5d1
BUG: 1320716
Signed-off-by: vmallika &lt;vmallika@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14000
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: Make CLI timeout configurable</title>
<updated>2016-04-01T20:39:48+00:00</updated>
<author>
<name>Atin Mukherjee</name>
<email>amukherj@redhat.com</email>
</author>
<published>2016-04-01T06:20:26+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=aa614a39c4281781cd77052c01f5747f1e5ad05e'/>
<id>aa614a39c4281781cd77052c01f5747f1e5ad05e</id>
<content type='text'>
When number of volumes go high in numbers command like gluster volume status may
timeout from CLI since it follows a static timeout value of 120 secs.

This patch introduces a flag '--timeout' which can pass a specific time out
value for a particular command.

Change-Id: I9795b709f27357fe5ee10ba19de8f4c11b63186f
Signed-off-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13882
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Jeff Darcy &lt;jdarcy@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When number of volumes go high in numbers command like gluster volume status may
timeout from CLI since it follows a static timeout value of 120 secs.

This patch introduces a flag '--timeout' which can pass a specific time out
value for a particular command.

Change-Id: I9795b709f27357fe5ee10ba19de8f4c11b63186f
Signed-off-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13882
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Jeff Darcy &lt;jdarcy@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>quota: start aux mount from glusterd with inet address</title>
<updated>2016-01-22T11:25:48+00:00</updated>
<author>
<name>vmallika</name>
<email>vmallika@redhat.com</email>
</author>
<published>2016-01-18T18:01:59+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=a593921aa0eada17637667938f432875b410139d'/>
<id>a593921aa0eada17637667938f432875b410139d</id>
<content type='text'>
With below patches, quota aux mount now
uses unix domain socket to connect to
glusterd
http://review.gluster.org/#/c/12645/
http://review.gluster.org/#/c/12819/

When USS is enabled, snapd protocol client tries to
connect to glusterd with inet and fails,
because remote-host option by client process
is set to UDS file

This patch starts the aux client process from glusterd
with inet address

Change-Id: I6967043bfd8824658ea39bfd2842591fcc3280fd
BUG: 1299497
Signed-off-by: vmallika &lt;vmallika@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13255
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
Reviewed-by: Raghavendra G &lt;rgowdapp@redhat.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With below patches, quota aux mount now
uses unix domain socket to connect to
glusterd
http://review.gluster.org/#/c/12645/
http://review.gluster.org/#/c/12819/

When USS is enabled, snapd protocol client tries to
connect to glusterd with inet and fails,
because remote-host option by client process
is set to UDS file

This patch starts the aux client process from glusterd
with inet address

Change-Id: I6967043bfd8824658ea39bfd2842591fcc3280fd
BUG: 1299497
Signed-off-by: vmallika &lt;vmallika@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13255
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
Reviewed-by: Raghavendra G &lt;rgowdapp@redhat.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: Add arbiter details to volinfo xml output</title>
<updated>2016-01-20T06:31:36+00:00</updated>
<author>
<name>Ravishankar N</name>
<email>ravishankar@redhat.com</email>
</author>
<published>2016-01-18T06:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=67b7752eccd8eae6a91f3bc3ff55d65dcf858dc7'/>
<id>67b7752eccd8eae6a91f3bc3ff55d65dcf858dc7</id>
<content type='text'>
The following are added:
1. "&lt;arbiterCount&gt;1&lt;/arbiterCount&gt;" and
"&lt;coldarbiterCount&gt;1&lt;/coldarbiterCount&gt;"

2. "&lt;isArbiter&gt;0&lt;/isArbiter&gt;" on the brick info, like so:
&lt;brick
uuid="cafa8612-d7d4-4007-beea-72ae7477f3bb"&gt;127.0.0.2:/home/ravi/bricks/brick1
&lt;name&gt;127.0.0.2:/home/ravi/bricks/brick1&lt;/name&gt;
&lt;hostUuid&gt;cafa8612-d7d4-4007-beea-72ae7477f3bb&lt;/hostUuid&gt;
&lt;isArbiter&gt;0&lt;/isArbiter&gt;
&lt;/brick&gt;

Also fix a bug in gluster vol info where the abiter brick was shown the
wrong brick of the cold tier after performing a tier-attach.

Change-Id: Id978325d02b04f1a08856427827320e169169810
BUG: 1297750
Signed-off-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13229
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following are added:
1. "&lt;arbiterCount&gt;1&lt;/arbiterCount&gt;" and
"&lt;coldarbiterCount&gt;1&lt;/coldarbiterCount&gt;"

2. "&lt;isArbiter&gt;0&lt;/isArbiter&gt;" on the brick info, like so:
&lt;brick
uuid="cafa8612-d7d4-4007-beea-72ae7477f3bb"&gt;127.0.0.2:/home/ravi/bricks/brick1
&lt;name&gt;127.0.0.2:/home/ravi/bricks/brick1&lt;/name&gt;
&lt;hostUuid&gt;cafa8612-d7d4-4007-beea-72ae7477f3bb&lt;/hostUuid&gt;
&lt;isArbiter&gt;0&lt;/isArbiter&gt;
&lt;/brick&gt;

Also fix a bug in gluster vol info where the abiter brick was shown the
wrong brick of the cold tier after performing a tier-attach.

Change-Id: Id978325d02b04f1a08856427827320e169169810
BUG: 1297750
Signed-off-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13229
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli/quota: show used_space,(file,dir) count even when quota limit is not set</title>
<updated>2015-12-08T12:54:51+00:00</updated>
<author>
<name>Manikandan Selvaganesh</name>
<email>mselvaga@redhat.com</email>
</author>
<published>2015-11-24T18:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=72334e2209b8b506f00d5d851bfb5fdc3eb38cf4'/>
<id>72334e2209b8b506f00d5d851bfb5fdc3eb38cf4</id>
<content type='text'>
Problem:
As of now quota 'list/list-objects' will list the usage only if limit is
set for every directory else it will fail with ENOATTR(If inode/inode-quota
is already configured for the first time).

Feature:
With the patch we are enhancing this command to list the usage even
if quota limit is not set but still the user has to configure
inode/inode-quota for the first time.

Example:
Consider we have /client/dir and /client1(absolute path from mount point):
Quota limit is set only on /client. when we try listing /client/dir or /client1,
it shows "Limit not set".

Fix:
The patch fixes this by showing "used space" in case of list command and
shows "file_count" &amp; "dir_count" in case of list-objects command. This works
fine with xml output as well.

Change-Id: I68b08ec77a583b3c7f39fe4d6b15d3d77adb095a
BUG: 1284752
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12741
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
As of now quota 'list/list-objects' will list the usage only if limit is
set for every directory else it will fail with ENOATTR(If inode/inode-quota
is already configured for the first time).

Feature:
With the patch we are enhancing this command to list the usage even
if quota limit is not set but still the user has to configure
inode/inode-quota for the first time.

Example:
Consider we have /client/dir and /client1(absolute path from mount point):
Quota limit is set only on /client. when we try listing /client/dir or /client1,
it shows "Limit not set".

Fix:
The patch fixes this by showing "used space" in case of list command and
shows "file_count" &amp; "dir_count" in case of list-objects command. This works
fine with xml output as well.

Change-Id: I68b08ec77a583b3c7f39fe4d6b15d3d77adb095a
BUG: 1284752
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12741
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tier/cli : throw a warning when user issues a detach-tier commit/force</title>
<updated>2015-10-05T13:15:51+00:00</updated>
<author>
<name>Manikandan Selvaganesh</name>
<email>mselvaga@redhat.com</email>
</author>
<published>2015-10-05T07:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=c62dcfff26082b4c2d23e89f905bd85f865211db'/>
<id>c62dcfff26082b4c2d23e89f905bd85f865211db</id>
<content type='text'>
           command

Change-Id: Idf7664d509156ce46ef4308ffc07fb556a0aedd2
BUG: 1268755
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12297
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: mohammed rafi  kc &lt;rkavunga@redhat.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
           command

Change-Id: Idf7664d509156ce46ef4308ffc07fb556a0aedd2
BUG: 1268755
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12297
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: mohammed rafi  kc &lt;rkavunga@redhat.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>quota : xml output modified to give exact available space in bytes</title>
<updated>2015-10-01T06:54:46+00:00</updated>
<author>
<name>Manikandan Selvaganesh</name>
<email>mselvaga@redhat.com</email>
</author>
<published>2015-09-09T07:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=a0514409356c35cd90a0506ab9fafa7462b21bef'/>
<id>a0514409356c35cd90a0506ab9fafa7462b21bef</id>
<content type='text'>
Currrently, 'gluster v quota &lt;VOLNAME&gt; list' command rounds off the
available space and shows it to the user. Now, 'gluster v quota
&lt;VOLNAME&gt; list --xml' command is modified to show the exact available
space in bytes.

Change-Id: I3772e036a2537c1df12f22cf32dfe4ac7940988f
BUG: 1261404
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12137
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Raghavendra G &lt;rgowdapp@redhat.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currrently, 'gluster v quota &lt;VOLNAME&gt; list' command rounds off the
available space and shows it to the user. Now, 'gluster v quota
&lt;VOLNAME&gt; list --xml' command is modified to show the exact available
space in bytes.

Change-Id: I3772e036a2537c1df12f22cf32dfe4ac7940988f
BUG: 1261404
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12137
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Vijaikumar Mallikarjuna &lt;vmallika@redhat.com&gt;
Reviewed-by: Raghavendra G &lt;rgowdapp@redhat.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tier/cli: tier related information in volume info xml</title>
<updated>2015-09-29T13:10:09+00:00</updated>
<author>
<name>hari gowtham</name>
<email>hgowtham@redhat.com</email>
</author>
<published>2015-09-10T14:45:35+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=ccea4c9d575c4cf46ac93575a1c62be90af5372b'/>
<id>ccea4c9d575c4cf46ac93575a1c62be90af5372b</id>
<content type='text'>
gluster v info didnt differentiate the hot bricks and cold bricks
and other few values

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volInfo&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;name&gt;rmbr&lt;/name&gt;
        &lt;id&gt;72d223fc-96ba-4f4a-ac6e-0d0bc16ef127&lt;/id&gt;
        &lt;status&gt;1&lt;/status&gt;
        &lt;statusStr&gt;Started&lt;/statusStr&gt;
        &lt;brickCount&gt;3&lt;/brickCount&gt;
        &lt;distCount&gt;1&lt;/distCount&gt;
        &lt;stripeCount&gt;1&lt;/stripeCount&gt;
        &lt;replicaCount&gt;1&lt;/replicaCount&gt;
        &lt;disperseCount&gt;0&lt;/disperseCount&gt;
        &lt;redundancyCount&gt;0&lt;/redundancyCount&gt;
        &lt;type&gt;5&lt;/type&gt;
        &lt;typeStr&gt;Tier&lt;/typeStr&gt;
        &lt;transport&gt;0&lt;/transport&gt;
        &lt;xlators/&gt;
        &lt;bricks&gt;
          &lt;hotBricks&gt;
            &lt;hotBrickType&gt;Distribute&lt;/hotBrickType&gt;
            &lt;numberOfBricks&gt;1&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/hb1&lt;name&gt;v1:/hb1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
          &lt;/hotBricks&gt;
          &lt;coldBricks&gt;
            &lt;coldBrickType&gt;Distribute&lt;/coldBrickType&gt;
            &lt;numberOfBricks&gt;2&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/br1&lt;name&gt;v1:/br1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;brick uuid="81"&gt;v1:/br2&lt;name&gt;v1:/br2&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;count&gt;0&lt;/count&gt;
          &lt;/coldBricks&gt;
        &lt;/bricks&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volInfo&gt;
&lt;/cliOutput&gt;

Change-Id: I6e52541bb6d8a6a17e17bfcb42434beaac13db56
BUG: 1261837
Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12158
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gluster v info didnt differentiate the hot bricks and cold bricks
and other few values

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volInfo&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;name&gt;rmbr&lt;/name&gt;
        &lt;id&gt;72d223fc-96ba-4f4a-ac6e-0d0bc16ef127&lt;/id&gt;
        &lt;status&gt;1&lt;/status&gt;
        &lt;statusStr&gt;Started&lt;/statusStr&gt;
        &lt;brickCount&gt;3&lt;/brickCount&gt;
        &lt;distCount&gt;1&lt;/distCount&gt;
        &lt;stripeCount&gt;1&lt;/stripeCount&gt;
        &lt;replicaCount&gt;1&lt;/replicaCount&gt;
        &lt;disperseCount&gt;0&lt;/disperseCount&gt;
        &lt;redundancyCount&gt;0&lt;/redundancyCount&gt;
        &lt;type&gt;5&lt;/type&gt;
        &lt;typeStr&gt;Tier&lt;/typeStr&gt;
        &lt;transport&gt;0&lt;/transport&gt;
        &lt;xlators/&gt;
        &lt;bricks&gt;
          &lt;hotBricks&gt;
            &lt;hotBrickType&gt;Distribute&lt;/hotBrickType&gt;
            &lt;numberOfBricks&gt;1&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/hb1&lt;name&gt;v1:/hb1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
          &lt;/hotBricks&gt;
          &lt;coldBricks&gt;
            &lt;coldBrickType&gt;Distribute&lt;/coldBrickType&gt;
            &lt;numberOfBricks&gt;2&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/br1&lt;name&gt;v1:/br1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;brick uuid="81"&gt;v1:/br2&lt;name&gt;v1:/br2&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;count&gt;0&lt;/count&gt;
          &lt;/coldBricks&gt;
        &lt;/bricks&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volInfo&gt;
&lt;/cliOutput&gt;

Change-Id: I6e52541bb6d8a6a17e17bfcb42434beaac13db56
BUG: 1261837
Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12158
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/tier: add gluster v tier &lt;vol&gt;</title>
<updated>2015-09-09T21:56:36+00:00</updated>
<author>
<name>Dan Lambright</name>
<email>dlambrig@redhat.com</email>
</author>
<published>2015-08-21T10:45:46+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=d55a6fee5cdda8be9dd555b4f3b5c0cc005117ef'/>
<id>d55a6fee5cdda8be9dd555b4f3b5c0cc005117ef</id>
<content type='text'>
Currently the tier feature piggy backs off the rebalance command
syntax to obtain status and this is clumsy. Introduce a new
tier command that can do tier specific operations, starting
with volume status to display counters.

Old commands:
gluster volume attach-tier &lt;vol&gt; [replica count] {bricklist..}
gluster volume detach-tier &lt;vol&gt; {start|stop|commit}

New commands:
gluster volume tier &lt;vol&gt; attach [replica count] {bricklist} |
                          detach {start|stop|commit} |
                          status

Change-Id: Ic07b3c6260588162de7d34380f8cbd3d8a7f35d3
BUG: 1255693
Signed-off-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Reviewed-on: http://review.gluster.org/11984
Reviewed-by: Gaurav Kumar Garg &lt;ggarg@redhat.com&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the tier feature piggy backs off the rebalance command
syntax to obtain status and this is clumsy. Introduce a new
tier command that can do tier specific operations, starting
with volume status to display counters.

Old commands:
gluster volume attach-tier &lt;vol&gt; [replica count] {bricklist..}
gluster volume detach-tier &lt;vol&gt; {start|stop|commit}

New commands:
gluster volume tier &lt;vol&gt; attach [replica count] {bricklist} |
                          detach {start|stop|commit} |
                          status

Change-Id: Ic07b3c6260588162de7d34380f8cbd3d8a7f35d3
BUG: 1255693
Signed-off-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Reviewed-on: http://review.gluster.org/11984
Reviewed-by: Gaurav Kumar Garg &lt;ggarg@redhat.com&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
