Put glusterfs data on a non-bind mount.

This commit is contained in:
2023-07-18 17:38:35 +01:00
parent ad697c7108
commit e8cec993e7
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,6 @@
environment.persistence."/persist".directories = [
"/var/lib/glusterd"
"/data/glusterfs"
];
# TODO: each volume needs its own port starting at 49152

View File

@@ -1,6 +1,7 @@
glusterfs setup on c1:
* gluster peer probe c{2,3}
* gluster volume create compute replica 3 c{1,2,3}:/data/glusterfs/compute/brick1/brick
* data dirs were mkdir'd manually before
* for h in c1 c2 c3; do ssh $h sudo mkdir /persist/glusterfs/compute; done
* gluster peer probe c2
* gluster peer probe c3
* gluster volume create compute replica 3 c{1,2,3}:/persist/glusterfs/compute/brick1
* gluster volume start compute
* gluster volume bitrot compute enable