Skip to content

Instantly share code, notes, and snippets.

@cholcombe973
Created August 14, 2015 17:18
Show Gist options
  • Save cholcombe973/368b1b2bea0cdbf0ce52 to your computer and use it in GitHub Desktop.
Save cholcombe973/368b1b2bea0cdbf0ce52 to your computer and use it in GitHub Desktop.
Gluster vol info
Example with 1 brick set in the config file:
root@chris-local-machine-224:~# gluster vol info
Volume Name: test
Type: Distributed-Replicate
Volume ID: 6a17de6b-f793-4dbb-ba94-2b56570db678
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.0.3.39:/mnt/brick1
Brick2: 10.0.3.12:/mnt/brick1
Brick3: 10.0.3.205:/mnt/brick1
Brick4: 10.0.3.5:/mnt/brick1
Options Reconfigured:
performance.readdir-ahead: on
Example with 2 bricks set in the config file:
root@chris-local-machine-228:~# gluster vol info
Volume Name: test
Type: Distributed-Replicate
Volume ID: fec9640b-4394-4a23-8a18-b377757fce14
Status: Started
Number of Bricks: 4 x 2 = 8
Transport-type: tcp
Bricks:
Brick1: 10.0.3.61:/mnt/brick1
Brick2: 10.0.3.220:/mnt/brick1
Brick3: 10.0.3.61:/mnt/brick2
Brick4: 10.0.3.220:/mnt/brick2
Brick5: 10.0.3.76:/mnt/brick1
Brick6: 10.0.3.13:/mnt/brick1
Brick7: 10.0.3.76:/mnt/brick2
Brick8: 10.0.3.13:/mnt/brick2
Options Reconfigured:
performance.readdir-ahead: on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment