Lindsay Mathieson
2016-Oct-14 23:21 UTC
[Gluster-users] volume heal <VOLNAME> statistics heal-count replica <HOSTNAME:BRICKNAME>
What does the subject line cmd do? e.g gluster v heal datastore4 statistics heal-count replica vnb.proxmox.softlog:/tank/vmdata/datastore4 seems to have exactly the same output as: gluster v heal datastore4 statistics heal-count Gathering count of entries to be healed per replica on volume datastore4 has been successful Brick vnb.proxmox.softlog:/tank/vmdata/datastore4 Number of entries: 0 Brick vng.proxmox.softlog:/tank/vmdata/datastore4 Number of entries: 0 Brick vna.proxmox.softlog:/tank/vmdata/datastore4 Number of entries: 0 Setting up some zabbix monitoring and it would be good to see statistics for individual bricks. -- Lindsay Mathieson
Ravishankar N
2016-Oct-15 12:33 UTC
[Gluster-users] volume heal <VOLNAME> statistics heal-count replica <HOSTNAME:BRICKNAME>
On 10/15/2016 04:51 AM, Lindsay Mathieson wrote:> What does the subject line cmd do?It is useful to gather statistics of a particular replica subvolume, if there are multiple replicas (i.e. a distributed replicate volume as opposed to a plain replicate). https://github.com/gluster/glusterfs-specs/blob/master/done/Features/afr-statistics.md -Ravi> > e.g > > gluster v heal datastore4 statistics heal-count replica > vnb.proxmox.softlog:/tank/vmdata/datastore4 > > seems to have exactly the same output as: > > gluster v heal datastore4 statistics heal-count > > > Gathering count of entries to be healed per replica on volume > datastore4 has been successful > > Brick vnb.proxmox.softlog:/tank/vmdata/datastore4 > Number of entries: 0 > > Brick vng.proxmox.softlog:/tank/vmdata/datastore4 > Number of entries: 0 > > Brick vna.proxmox.softlog:/tank/vmdata/datastore4 > Number of entries: 0 > > Setting up some zabbix monitoring and it would be good to see > statistics for individual bricks. > >
Lindsay Mathieson
2016-Oct-15 21:03 UTC
[Gluster-users] volume heal <VOLNAME> statistics heal-count replica <HOSTNAME:BRICKNAME>
On 15/10/2016 9:21 AM, Lindsay Mathieson wrote:> Setting up some zabbix monitoring and it would be good to see > statistics for individual bricks.nb: gluster v heal datastore4 statistics heal-count |awk 'f{print $4;f=0} /Brick '`hostname`'/{f=1}' works nicely. -- Lindsay Mathieson