Once we have presented RAW LUNs to an ESXi host for it to be used as a storage container for virtual machine data, it needs to be formatted using VMFS. Creating a VMFS datastore is the process of formatting a LUN by creating a VMFS partition on it.
A datastore (VMFS volume) can be created either by using the vSphere Web Clients' New Datastore wizard or by using ESXi's command-line interface.
Make sure you have the NAA ID, LUN ID, and the size of the LUN, which you have presented to the ESXi host. This is to make sure that you don't end up using an unintended LUN. Do a rescan on the HBAs for the ESXi to detect the presented LUN.
As mentioned before, we can create an VMFS datastore using the following two methods:
Using the New Datastore wizard
Using the ESXi CLI to create a new VMFS volume