GlusterFS procedures

Introduction

This page lists or links to various procedures related to GlusterFS.

Adding a peer to a one-legged cluster, adding replicates to a volume and triggering replication

  1. Run:
    gluster volume heal test full
find . -noleaf -print0 | xargs --null stat >/dev/null 2>/var/log/gluster/$(pwd | sed 's/\//-/g')-selfheal.log &

Shutting down the cluster in a controlled manner

Adjusting quorum weightings

Forcing removal of a peer with replicas

  1. First remove all replicas that the peer has from volumes:
    gluster volume remove-brick test replica 1 torchio2-backlan:/vol/bricks/test/brick force
  2. Run:
    gluster peer detach <hostname> force
    

See also