remove and mount gluster volumes

This commit is contained in:
2021-12-30 08:49:05 -05:00
parent 74a32b4a02
commit e8d42fed3c
9 changed files with 181 additions and 182 deletions

View File

@@ -3,15 +3,45 @@
# 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).
#
cluster:
- cubox-i
nodes:
- 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: nextcloud
# - name: prometheus
# - name: tmp
distributed: []
# - name: tmp
removed:
- name: jenkins2
- name: nextcloud2
- name: postgres
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
nextcloud2: /data/glusterfs/nextcloud2/brick1
nextcloud2: /data/glusterfs/nextcloud2/brick1 # dead
plex: /data/glusterfs/plex/brick1
postgres: /data/glusterfs/postgres/brick1 # dead
prometheus: /data/glusterfs/prometheus/brick1
tmp: /data/glusterfs/tmp/brick1
vmshare: /data/glusterfs/vmshares/brick1
@@ -41,7 +71,7 @@ mounts:
- name: plex
status: mounted
src: "UUID=57a3133c-6ca3-4974-9a0b-7efc8c0c533b"
- name: nextcloud2
- name: nextcloud2 # dead
status: mounted
src: "UUID=ced31b8e-8404-4bff-b428-6411c54451a4"