loca storage directory is shared across 2 nodes but size is different.

kinetica

Member
May 9, 2014
24
1
21
Hello,

first of all let me say really best congratulations for these 6 years and many thanks for this great virtualization system.

I am not an expert of Proxmox at the moment I use it just for basic virtualization but I'D really like to improve my knowledge.

Now with new version 3.2 I'd like to go more deeply in the comprehension of cluster, HA, glusterFS and Ceph configuration.

Obviously I started from the easiest configuration: just a cluster with 2 nodes.

Everything went smoothly.

Just two thing I need to understand:

on the second node called "Prox2" I have a simple SATA hard disk that I shared with the main node "Prox1". The disk size is 500Gbyte.

I created a folder in both proxmox server "/" called /DATA and after in the Menu "Datacenter" - "Storage" I added the disk as "DIRECTORY" with the following options:

ID: DATA
DIRECTORY: /DATA
Content: images,ISO,Templates, Backups
Nodes: All (No restrictions)
Enable: YES
Shared: YES
Max Backup:5

Now I have in both prox1 & prox2 the storage "DATA"

First Point:
Prox2 see the shared storage "DATA" with a size of 450 Gbyte while the Prox1 see the shared storage "DATA" size of 95 Gbyte.
Why this difference?

Second Point:
I have a VM restored in Prox2 with the hard disk saved in "DATA" but this VM is not "shared" in Prox1: Prox1 can not see the same images,ISO,Templates, Backups of prox2 even if they are saved on the shared directory "DATA"
Why this ? I need to use glusterFS?

Thank you

Sergio
 
Hi,
you marked your /DATA storage as shared, but it isn't shared (only one node see the filesystem). On the other node /DATA is simply on the root-filesystem and you see the size of this FS.
See with
Code:
cd /DATA
df -h .
You can export /DATA on the one node and mount this export to /DATA on the other node (NFS). But if prox2 is down, prox1 can also not use /DATA anymore...

Udo