[Gluster-devel] gluster volume info output and some questions/advice

Gandalf Corvotempesta gandalf.corvotempesta at gmail.com
Mon Mar 13 20:40:29 UTC 2017


Bump

Il 11 mar 2017 10:42 AM, "Gandalf Corvotempesta" <
gandalf.corvotempesta at gmail.com> ha scritto:

Hi to all

let's assume this volume info output:

Volume Name: r2
Type: Distributed-Replicate
Volume ID: 24a0437a-daa0-4044-8acf-7aa82efd76fd
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: Server1:/home/gfs/r2_0
Brick2: Server2:/home/gfs/r2_1
Brick3: Server1:/home/gfs/r2_2
Brick4: Server2:/home/gfs/r2_3

Can someone explain me how to read "Number of bricks" ?

Is the first number the number of "replicated bricks" and the second number
the number of replica?

In this case, 2 bricks are replicated 2 times.

So, a "Number of Bricks: 2 x 3 = 6" means that 2 bricks are replicated 3
times, right ?

Now, would be possible to add some indentation to this output? Something
like this would be much easier to read and understand:

Volume Name: r2
Type: Distributed-Replicate
Volume ID: 24a0437a-daa0-4044-8acf-7aa82efd76fd
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
  Brick1: Server1:/home/gfs/r2_0
  Brick2: Server2:/home/gfs/r2_1

  Brick3: Server1:/home/gfs/r2_2
  Brick4: Server2:/home/gfs/r2_3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170313/c354bcd7/attachment.html>


More information about the Gluster-devel mailing list