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.