Iscsi Storage connection with the opennebula

I am trying to integrate iSCSI Storage (NAS) with OpenNebula version 6.10.2. After connecting OpenNebula to the iSCSI storage, I am unable to properly connect the iSCSI LUN in the OpenNebula web interface.

I created a 100GB disk in the NAS, and the disk shows up in the OpenNebula CLI, but when I create the iSCSI storage in OpenNebula, only 1MB of capacity is displayed instead of the full 100GB.

Could you kindly guide me on the necessary steps to configure the iSCSI storage correctly in OpenNebula, especially in the CLI? Any pointers or steps would be greatly appreciated.

Thank you!

Hello @Nyi_Shin,

Welcome to this forum, hope we can help you with all your questions.

My first suggestion is to go to the Documentation, specifically this section:
https://docs.opennebula.io/6.10/open_cluster_deployment/storage_setup/iscsi_ds.html

There you’ll find an example of the template for iSCSI datastore.

Just remember that iSCSI datastore in OpenNebula acts as a container for existing devices and does not track their sizes.

Let me know if you need more help.

Cheers,

Thanks for replying, I have added the iscsi storage but like you said it is appeared 1 MB.

So I think we are facing issue when we adding iscsi storage.

Could you please kindly guide after adding iscsi Lun from NAS, what we need to configure with this disk that appeared in Ubuntu.

Is there anyone who know iscsi drivers that need to install in hosts, please kindly provide the name or link for this.

Thanks

Hello @Nyi_Shin,

The steps are described in the documentation already shared before:
https://docs.opennebula.io/6.10/open_cluster_deployment/storage_setup/iscsi_ds.html

There you have the info on how to create the image datastore, the steps to follow, and even a warning on the same comment that you made:
“As this Datastore is just a container for existing devices, images does not take any size from it. All devices registered will render a size of 0 and the overall devices Datastore will show up with 1MB of available space”

There are also other topics in the forum about this that might help you:

But again, check the documentation, and let us know where you are stuck.

Regards,