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.
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.