Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@MACscr
Created February 3, 2016 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MACscr/5028fa2f656a77708c1d to your computer and use it in GitHub Desktop.
Save MACscr/5028fa2f656a77708c1d to your computer and use it in GitHub Desktop.
root@gluster1:/mnt/glusterfs# gluster volume heal volume1 info
Brick gluster1:/var/gluster-storage
/stor1.img
<gfid:0c926d4c-295d-41b2-9e72-344c0d7fc2bd>
/host5.img
/host1.img
/host4.img
/host2.img
/stor2.img
/host3.img
Number of entries: 8
Brick gluster2:/var/gluster-storage
/host1.img
/stor1.img
/host2.img
/host4.img
/stor2.img
/host5.img
/stor3.borked
/host3.img
Number of entries: 8
root@gluster1:/mnt/glusterfs# gluster volume status volume1
Status of volume: volume1
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick gluster1:/var/gluster-storage 49152 0 Y 3367
Brick gluster2:/var/gluster-storage 49152 0 Y 17140
NFS Server on localhost 2049 0 Y 30240
Self-heal Daemon on localhost N/A N/A Y 30248
NFS Server on gluster2 2049 0 Y 17159
Self-heal Daemon on gluster2 N/A N/A Y 17167
Task Status of Volume volume1
------------------------------------------------------------------------------
There are no active volume tasks
root@gluster1:/mnt/glusterfs#
root@gluster2:/mnt/glusterfs# gluster volume heal volume1 info
Brick gluster1:/var/gluster-storage
/stor1.img
<gfid:0c926d4c-295d-41b2-9e72-344c0d7fc2bd>
/host5.img
/host1.img
/host4.img
/host2.img
/stor2.img
/host3.img
Number of entries: 8
Brick gluster2:/var/gluster-storage
/host1.img
/stor1.img
/host2.img
/host4.img
/stor2.img
/host5.img
/stor3.borked
/host3.img
Number of entries: 8
root@gluster2:/mnt/glusterfs# gluster volume status volume1
Status of volume: volume1
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick gluster1:/var/gluster-storage 49152 0 Y 3367
Brick gluster2:/var/gluster-storage 49152 0 Y 17140
NFS Server on localhost 2049 0 Y 17159
Self-heal Daemon on localhost N/A N/A Y 17167
NFS Server on gluster1.mgr.myiacon.com 2049 0 Y 30240
Self-heal Daemon on gluster1.mgr.myiacon.co
m N/A N/A Y 30248
Task Status of Volume volume1
------------------------------------------------------------------------------
There are no active volume tasks
root@gluster2:/mnt/glusterfs#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment