In this section, you will learn how to manage vSphere storage using the command line. During vSphere storage configuration, the detailed information about the HBA adapter is very important. Before you define zoning on the SAN switch, you should know the World Wide Number (WWN) of each host bus adapter for the ESXi host. Then you can define the zoning access for the ESXi host and SAN storage correctly. The WWN is a unique identifier that is hardcoded in a FC device. The esxcli storage
command is used to manage different storage management tasks. For example, you can list the WWN of HBA, list the information of the LUN, manage storage paths from the vSphere host, and so on. The following section lists an example of storage management tasks using the esxcli storage
commands.
In the following example (which displays the LUNs on ESXi host), you can execute an esxcli
command to collect the result, which is given for your reference. You can see that...