Sorry to raise another issue, Hari. I thought I had run through these steps a couple of months ago, but I am not sure now. I was trying to compose the PersistentVolume yaml and went into tailspin. I tried the ICP Create PersistentVolume dialog. Does this look correct? Especially path
:
{
"kind": "PersistentVolume",
"apiVersion": "v1",
"metadata": {
"name": "gfs1-vol2",
"labels": {}
},
"spec": {
"accessModes": [
"ReadWriteOnce"
],
"persistentVolumeReclaimPolicy": "Retain",
"glusterfs": {
"endpoints": "gluster-cluster",
"path": "/volume/pool2"
},
"capacity": {
"storage": "10Gi"
}
}
}
The glusterfs servers volumes seem out of balance. Server 1 shows only five volumes.
root@glusterfs-server-1:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 280G 41G 236G 15% /
none 492K 0 492K 0% /dev
udev 16G 0 16G 0% /dev/fuse
tmpfs 100K 0 100K 0% /dev/lxd
/dev/sdb2 96G 60M 91G 1% /share
/dev/sdb8 96G 62M 91G 1% /volume
tmpfs 100K 0 100K 0% /dev/.lxd-mounts
tmpfs 16G 12K 16G 1% /dev/shm
tmpfs 16G 9.1M 16G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
glusterfs-server-1:/vol3 96G 1.1G 91G 2% /volume/pool3
glusterfs-server-1:/vol2 96G 1.1G 91G 2% /volume/pool2
glusterfs-server-1:/vol7 96G 1.1G 91G 2% /volume/pool7
glusterfs-server-1:/vol6 96G 1.1G 91G 2% /volume/pool6
glusterfs-server-1:/vol10 96G 1.1G 91G 2% /volume/pool10
Server 2 shows ten volumes.
root@glusterfs-server-2:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 280G 40G 236G 15% /
none 492K 0 492K 0% /dev
udev 16G 0 16G 0% /dev/fuse
tmpfs 100K 0 100K 0% /dev/lxd
/dev/sdb2 96G 60M 91G 1% /share
/dev/sdb9 96G 62M 91G 1% /volume
tmpfs 100K 0 100K 0% /dev/.lxd-mounts
tmpfs 16G 12K 16G 1% /dev/shm
tmpfs 16G 9.1M 16G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
glusterfs-server-1:/vol1 96G 1.1G 91G 2% /volume/pool1
glusterfs-server-1:/vol7 96G 1.1G 91G 2% /volume/pool7
glusterfs-server-1:/vol3 96G 1.1G 91G 2% /volume/pool3
glusterfs-server-1:/vol8 96G 1.1G 91G 2% /volume/pool8
glusterfs-server-1:/vol2 96G 1.1G 91G 2% /volume/pool2
glusterfs-server-1:/vol5 96G 1.1G 91G 2% /volume/pool5
glusterfs-server-1:/vol4 96G 1.1G 91G 2% /volume/pool4
glusterfs-server-1:/vol10 96G 1.1G 91G 2% /volume/pool10
glusterfs-server-1:/vol6 96G 1.1G 91G 2% /volume/pool6