How to add local disk in opennebula host to extend VM storage?

We have this Openebula host with 8 running VMS.
At the time of setting up the host, we added only one 480GB SSD disk. All the VMs are using that local storage only.

Now as you can see, the diskspace/datastore is getting full, is there any way to add an additional SSD storage drive to expand the Host datastore?

of course … based on your file system, you can increase you filesystem.

i.e. when you’re using a FS together with LVM you can increase your volume adding additional disks … same with ZFS … and same with any other FileSystem, where you use some kind of volume mgnt within

You can add the next SSD as an extra system datastore by mounting it on the proper path in the host. By default it is /var/lib/one/datastores/<ds_id>. Then you select that system datastore for that host.

Thanks for your response.

Are you suggesting creating another system datastore?
Or expanding the same existing system datastore with additional SSDs mounting in the existing datastore path like /var/lib/one/datastores/<ds_id> ?

Are you suggesting creating another system datastore?

This.

Or expanding the same existing system datastore with additional SSDs mounting in the existing datastore path like /var/lib/one/datastores/<ds_id> ?

For this you need a software defined storage solution like Ceph or LVM to group the physical disk devices into a logical one.

Can Opennebula host run with two systems Datastore?

Then at the time of deploying how opennebula decides which Datastore to use?

Can Opennebula host run with two systems Datastore?

Yes

Then at the time of deploying how opennebula decides which Datastore to use?

The placement logic is decided by the Scheduler. You can also manually place VMs at the time of the instantiation or set a placement logic in the VM Template.

1 Like