accessing glusterfs

r.lucassen

Member
Jan 24, 2018
11
0
21
54
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
 
ok, thnx, so if I add some extra proxmox nodes, the extra node will always use its local drive.
 
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!