---
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#

glusterd:
#  version: 9.2-1
  version: 9.6-ubuntu1~jammy2
  unit: glusterd
  envfile: /etc/sysconfig/glusterd

cluster:
  - cubox-i
#cubox-inodes:
#  - name: cubox-i
#    uuid: 8c6d97da-f712-41d5-829a-906de5113479
#  - name: home
#    uuid: c59792a8-72d6-463b-8309-e66c6bc96d35

volumes:
  brick_folder: brick
  # bricks found at "{{mounts.paths[gitea]}}/{{volumes.brick_folder}}"
  replicated:
    - name: gitea
#    - name: jenkins
    - name: vmshares
    - name: mariadb
    - name: plex
    - name: plex-data
#    - name: nextcloud
#    - name: nextcloud2
#    - name: prometheus
#    - name: tmp
  balanced:
    - name: secure
      brick1: secure1
      brick2: secure2

  distributed: []
#    - name: tmp

  removed:
    - name: jenkins2
    - name: postgres
    - name: nextcloud
    - name: nextcloud2

mounts:
  paths:
    gitea: /data/glusterfs/gitea/brick1
    jenkins: /data/glusterfs/jenkins/brick1
    jenkins2: /data/glusterfs/jenkins2/brick1 # dead
    mariadb: /data/glusterfs/mariadb/brick1
    nextcloud: /data/glusterfs/nextcloud/brick1 # dead
    nextcloud2: /data/glusterfs/nextcloud2/brick1 # dead
    plex: /data/glusterfs/plex/brick1
    plex-data: /data/glusterfs/plex-data/brick1
    postgres: /data/glusterfs/postgres/brick1 # dead
    prometheus: /data/glusterfs/prometheus/brick1
    tmp: /data/glusterfs/tmp/brick1
    vmshares: /data/glusterfs/vmshares/brick1
    secure1: /data/glusterfs/secure/brick1
    secure2: /data/glusterfs/secure/brick2

  cubox-i:
    - name: vmshares
      status: mounted
      src: "UUID=d1b005e1-294f-4588-b9a6-21b72f7e3e0f"
    - name: gitea
      status: mounted
      src: "UUID=3f6678ec-8555-4c32-a399-9b4418465a66"
    - name: jenkins
      status: mounted
      src: "UUID=fb9f6c8d-2522-4f3b-831a-793964884967"
    - name: tmp
      status: mounted
      src: "UUID=cc7588cc-1d39-4f09-baac-234f8c081443"
    - name: nextcloud # dead
      status: absent
      src: "UUID=617b4eee-7c60-4506-b2c1-7768900482e9"
    - name: prometheus
      status: mounted
      src: "UUID=f2b9d354-f7f1-45d9-80a3-f616beeca5bc"
    - name: mariadb
      status: mounted
      src: "UUID=5641769e-9816-4955-9def-17bb625f88f0"
    - name: plex
      status: mounted
      src: "UUID=57a3133c-6ca3-4974-9a0b-7efc8c0c533b"
    - name: plex-data
      status: mounted
      src: "UUID=cdff8026-1d56-4cee-8c12-8c61dc587850"

    - name: secure1
      status: mounted
      src: "UUID=ced31b8e-8404-4bff-b428-6411c54451a4"
    - name: secure2
      status: mounted
      src: "UUID=b0dc64be-80b1-49f6-ae0f-ae6219e734c9"

  home: []
  cubox-m: []
#    - name: vmshares
#      status: mounted
#      src: "UUID=1ee11dc5-0b55-47bd-a92c-e644175a8ba9"
#    - name: gitea
#      status: mounted
#      src: "UUID=1a10b5b3-a00b-463c-bb47-d7a1430357c2"
#    - name: jenkins
#      status: mounted
#      src: "UUID=c1ae3332-8ccc-42c4-beb9-217e0dd58835"
#    - name: tmp
#      status: mounted
#      src: "UUID=cad3eb8f-bd07-499b-b1f0-19ec14ba0084"
#    - name: nextcloud
#      status: mounted
#      src: "UUID=179763ba-27cc-4dbf-a0b2-01596727c541"
#    - name: prometheus
#      status: mounted
#      src: "UUID=19ec83ce-cb19-465f-ba79-0426a659541d"
#    - name: mariadb
#      status: mounted
#      src: "UUID=fa3adff4-b456-4321-8528-eed843615191"
#    - name: plex
#      status: mounted
#      src: "UUID=2e87570b-4750-4aeb-926b-1d9b48ef89b3"
#    - name: nextcloud2
#      status: mounted
#      src: "UUID=b0dc64be-80b1-49f6-ae0f-ae6219e734c9"
