6.5

Table Of Contents
For FC and FCoE devices, you can retrieve FC events such as RSCN, LINKUP, LINKDOWN, Frame Drop and FCoE
CVL. The commands log a warning in the VMkernel log if it encounters too many Link Toggling or frame
drops.
The following example examines and resets SAN storage through a FibreChannel adapter. Instead of fc, the
information retrieval commands can also use iscsi, fcoe, and sas.
Procedure
1 List adapter aributes.
esxcli storage san fc list
2 Retrieve all events for a Fibre Channel I/O device.
esxcli storage san fc events get
3 Clear all I/O Device Management events for the specied adapter.
esxcli storage san fc events clear --adapter adapter
4 Reset the adapter.
esxcli storage san fc reset
Monitoring and Managing Virtual SAN Storage
Virtual SAN is a distributed layer of software that runs natively as a part of the ESXi hypervisor. Virtual
SAN aggregates local or direct-aached storage disks of a host cluster and creates a single storage pool
shared across all hosts of the cluster.
While supporting VMware features that require shared storage, such as HA, vMotion, and DRS, Virtual
SAN eliminates the need for an external shared storage and simplies storage conguration and virtual
machine provisioning activities.
You can use ESXCLI commands to retrieve Virtual SAN information, manage Virtual SAN clusters, perform
network management, add storage, set the policy, and perform other monitoring and management tasks.
Type esxcli vsan --help for a complete list of commands.
Retrieve Virtual SAN Information
You can use ESXCLI commands to retrieve Virtual SAN information.
Procedure
1 Verify which VMkernel adapters are used for Virtual SAN communication.
esxcli vsan network list
2 List storage disks that were claimed by Virtual SAN.
esxcli vsan storage list
3 Get Virtual SAN cluster information.
esxcli vsan cluster get
Manage a Virtual SAN Cluster
You can activate Virtual SAN when you create host clusters or enable Virtual SAN on existing clusters.
When enabled, Virtual SAN aggregates all local storage disks available on the hosts into a single datastore
shared by all hosts.
You can run these commands in the ESXi Shell for a host, or the command aects the target host that you
specify as part of the vCLI connection options.
vSphere Command-Line Interface Concepts and Examples
60 VMware, Inc.