I have installed OpenNebula 5.4.6 frontend on an Ubuntu 16.04 machine and a KVM node on a Centos 7 machine.
the host has 4x6tb drives, we have formatted them as xfs and mounted them inside /var/lib/one/datastores/ as 100-104
/dev/sda4 xfs 5.4T 33M 5.4T 1% /var/lib/one/datastores/100
/dev/sdb1 xfs 5.5T 33M 5.5T 1% /var/lib/one/datastores/101
/dev/sdc1 xfs 5.5T 33M 5.5T 1% /var/lib/one/datastores/102
/dev/sdd1 xfs 5.5T 33M 5.5T 1% /var/lib/one/datastores/103
and monitor_ds.sh lists them:
$ /var/tmp/one/im/kvm-probes.d/monitor_ds.sh
DS_LOCATION_USED_MB=1366
DS_LOCATION_TOTAL_MB=50269
DS_LOCATION_FREE_MB=46328
DS = [
ID = 0,
USED_MB = 1366,
TOTAL_MB = 50269,
FREE_MB = 46328
]
DS = [
ID = 100,
USED_MB = 33,
TOTAL_MB = 5653031,
FREE_MB = 5652999
]
DS = [
ID = 101,
USED_MB = 33,
TOTAL_MB = 5721127,
FREE_MB = 5721095
]
DS = [
ID = 102,
USED_MB = 33,
TOTAL_MB = 5721127,
FREE_MB = 5721095
]
DS = [
ID = 103,
USED_MB = 33,
TOTAL_MB = 5721127,
FREE_MB = 5721095
]
however, only datastore 0 (46gb) is listed in Infrastructure->Hosts->Datastore. and running onehost lists only the first datastore:
$ onehost show 4
...
LOCAL SYSTEM DATASTORE #0 CAPACITY
TOTAL: : 49.1G
USED: : 1.3G
FREE: : 45.2G
MONITORING INFORMATION
...
I have tried removing/readding the host, running onehost sync --force
, pressing Update in the host’s page under datastores, formatting the drives as ext4 instead of xfs, chowning the mounted drives to oneadmin, rebooting node and frontend, manually creating datastores using the panel. to no avail.
is there any specific action I need to perform other than mounting the drives in /var/lib/one/datastores for them to show up in opennebula?