vSphere 6.7 ICM – Topic 6.1 – Configure and Add Datastores.

Hope you all learning and sharing!

In our daily responsibilities, we get at the point where we need to configure and add datastores before we can put the VMs. This blog is beneficial for those who want to know the configuration and addition of datastores(storage) to ESXi hosts.

In our LAB, we have storage over iSCSI so before the presented storage can be seen we must configure the iSCSI initiator(Target) for one of the HBAs. We need to provide the IP address of the ISCSI initiator.

Points to Cover: –

  1. Configuring the iSCSI initiator(Target) for HBA.
  2. Adding the IP address of the iSCSI initiator(Target).
  3.  Choosing and adding he correct volume in wizard.
  4. “Create new datastore” wizard.
  5. Verifying the Datastore properties
  • Login with admin or root access. We are using root since we have direct webclient session. In the webclient, scroll to “Storage” on the left pane.
  • In the right pane, You can see the tab called “Adapters”. 2018-07-28 13_33_28-cp-esxi-02.pathshala.com - VMware ESXi.jpg


We need configure the iSCSI HBA adapter  so for same we would click “Configure ISCSI”.2018-07-28 13_29_58-cp-esxi-02.pathshala.com - VMware ESXi


Select the HBA which we would use to map with iSCSI initiator(Target). We need to specify the IP of iSCSI initiator(from the storage end). If you see the screenshot below we have given the IP along with default port 3260.2018-07-28 13_30_48-cp-esxi-02.pathshala.com - VMware ESXi.jpg


Once the iSCSI initiator(Target) has been added. We need click “Refresh” as show in the image below. This would refresh and pull mapped volumes over iSCSI target.2018-07-28 13_31_54-cp-esxi-02.pathshala.com - VMware ESXi.jpg


Now, that we have successfully configured the iSCSI initiator. We have task to create new datastore.

  • Click the “New datastore” and it would bring a new dialogue box as shown below.
  • Select “Create new VMFS datastore” and hit “Next”.2018-07-28 13_32_01-cp-esxi-02.pathshala.com - VMware ESXi.jpg


Please specify the “Name” of the datastore in the next “Create new Dastore” wizard.

  • Select the visible volume from the list below. Please be careful while choosing the volume. We must select the correct one based on LUN ID & size if you have multiple volume mappings. All mapped volumes would be shown in the list.2018-07-28 13_32_26-cp-esxi-02.pathshala.com - VMware ESXi.jpg


On the next screen, we need to specify the size of the partition.

  • In our LAB, we are entire size of 30 GB but you can always choose “Custom” to specify your own size of the datastore.2018-07-28 13_32_53-cp-esxi-02.pathshala.com - VMware ESXi.jpg



Next screen details the summary of selected options.

  • If any changes are required, then please click “Back” and make the required changes.
  • Click “Finish” once done.2018-07-28 13_33_01-cp-esxi-02.pathshala.com - VMware ESXi.jpg


Please be watchful that you have selected correct volume in previous options. Changes can’t be undone at this point. Click next so that VMFS signature and partition table can be written.

  •  Click “Yes” to warning to commit the changes.2018-07-28 13_33_07-cp-esxi-02.pathshala.com - VMware ESXi


Now,  we can see that datastore has been created successfully and ready for use.  Familiarize yourself  with dastore properties including free and used space.2018-07-28 13_33_28-cp-esxi-02.pathshala.com - VMware ESXi.jpg