summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/migrate_failed_brick.yml
blob: 3490c82f524ae6bc8a0a7ac79fd503c737256aa5 (plain)
1
2
3
4
5
6
7
8
9
10
- name: "Volume {{ vol }} - Migrating {{ src }} to {{ dst }}"
  command: "gluster volume replace-brick {{ vol }} {{ src }} {{ dst }} commit force"

# This is only working within containers with 'oc rsh'. But actually there are auto-healing daemons running.
# So we probably find just migrating
#- name: "Healing {{ vol }}"
#  command: "gluster volume heal {{ vol }} full"

#- name: "Rebalancing {{ vol }}"
#  command: "gluster volume rebalance {{ vol }} fix-layout start"