Hi
Hopefully some of you could help us getting our storage fixed.
We have deployed a small lab, with 2 kvm hosts, front-end node.
Front-end node (no direct connection to the storage).
Lab01(mgmt 10.106.0.11/24, storage 10.20.0.11/24)
and
lab03(mgmt 10.106.0.13/24, storage 10.20.0.13/24)
Storage Synology, 10.20.0.1/24 (dedicated physical network, only available to the kvm hosts).
[root@localhost ~]# onedatastore list
ID NAME SIZE AVA CLUSTERS IMAGES TYPE DS TM STAT
113 lvm_image 71.3G 79% 100 2 img fs fs_lvm_on
103 lvm_system 3.9T 99% 100 0 sys - fs_lvm_on
[root@localhost ~]# onedatastore list
ID NAME SIZE AVA CLUSTERS IMAGES TYPE DS TM STAT
113 lvm_image 10G 21% 100 2 img fs fs_lvm_on
103 lvm_system 10G 21% 100 0 sys - fs_lvm_on
The problem is that the storage works sometimes😊, event though the image datastore reports total capacity of 71.3G(that I believe is local storage?). But about 50% of the time it reports 10GB,
miraculously we have been able to deploy a vm, that actually runs fine with network connectivity but migrating it is another chapter to be looked into as soon as the storage issues have been dealt with😊
Front end node got passwordless login to hosts.
hosts, ubuntu server 22.04.4
2 LUNs:
4TB for system (vg-one-103)
1TB for image (vg-one-113)
both hosts sees:
pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 ubuntu-vg lvm2 a-- <146.00g 73.00g
/dev/sdg vg-one-113 lvm2 a-- <1000.00g <1000.00g
/dev/sdh vg-one-103 lvm2 a-- <3.91t 3.88t
DATASTORE 103 INFORMATION
ID : 103
NAME : lvm_system
USER : oneadmin
GROUP : oneadmin
CLUSTERS : 100
TYPE : SYSTEM
DS_MAD : -
TM_MAD : fs_lvm_ssh
BASE PATH : /var/lib/one//datastores/103
DISK_TYPE : BLOCK
STATE : READY
DATASTORE CAPACITY
TOTAL: : 3.9T
FREE: : 3.9T
USED: : 22G
LIMIT: : -
PERMISSIONS
OWNER : um-
GROUP : u–
OTHER : —
DATASTORE TEMPLATE
ALLOW_ORPHANS=“NO”
BRIDGE_LIST=“lab01 lab03 10.46.0.4”
DISK_TYPE=“BLOCK”
DS_MIGRATE=“YES”
RESTRICTED_DIRS=“/”
SAFE_DIRS=“/var/tmp”
SHARED=“YES”
TM_MAD=“fs_lvm_ssh”
TM_MAD_SYSTEM=“shared”
TYPE=“SYSTEM_DS”
[root@localhost ~]# onedatastore show 113
DATASTORE 113 INFORMATION
ID : 113
NAME : lvm_image
USER : oneadmin
GROUP : oneadmin
CLUSTERS : 100
TYPE : IMAGE
DS_MAD : fs
TM_MAD : fs_lvm_ssh
BASE PATH : /var/lib/one//datastores/113
DISK_TYPE : BLOCK
STATE : READY
DATASTORE CAPACITY
TOTAL: : 71.3G
FREE: : 55G
USED: : 12.7G
LIMIT: : -
PERMISSIONS
OWNER : um-
GROUP : u–
OTHER : —
DATASTORE TEMPLATE
ALLOW_ORPHANS=“NO”
BRIDGE_LIST=“lab01 lab03 10.46.0.4”
CLONE_TARGET=“SYSTEM”
DISK_TYPE=“BLOCK”
DRIVER=“raw”
DS_MAD=“fs”
LN_TARGET=“SYSTEM”
SAFE_DIRS=“/var/tmp /tmp”
TM_MAD=“fs_lvm_ssh”
TYPE=“IMAGE_DS”
Any help would be grately appreciated.
Kind regards
Svela