Creating a VMFS datastore

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.

Getting ready

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.

How to do it...

As mentioned before, we can create an VMFS datastore using the following ...

Get VMware vSphere 5.5 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.