accessing glusterfs

r.lucassen

Member
Jan 24, 2018
11
0
21
55
Hello list,

I have 2 machines in 1 cluster pmox5 where I have added glusterfs-server.

On both machines the gluster share is mounted as:

pmox1:gvol0 /mnt/pve/gvol0 fuse.glusterfs rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072 0 0

On both servers it points to pmox1. How can I be sure that the machines are using their local storage and not accessing each other through the network? Or does the glusterfs protocol handle this automagically?

R.
 
Normaly gluster handle this, but in gui of proxmox you can specfiy the second server
 
Another anoying thing: I run glusterfs on ext4 formatted /dev/mapper/pve-data partitions, but apparently the gluster volume is not online when the VM starts (there is only 1 test VM):

TASK ERROR: unable to activate storage 'gvol0' - directory '/mnt/pve/gvol0' does not exist or is unreachable

After login the volume has started and I can start the machine manually. Did I miss something crucial somewhere?

R.