6.5
Table Of Contents
- vSphere Command-Line Interface Concepts and Examples
- Contents
- About This Book
- vSphere CLI Command Overviews
- Introduction
- List of Available Host Management Commands
- Targets and Protocols for vCLI Host Management Commands
- Supported Platforms for vCLI Commands
- Commands with an esxcfg Prefix
- ESXCLI Commands Available on Different ESXi Hosts
- Trust Relationship Requirement for ESXCLI Commands
- Using ESXCLI Output
- Connection Options for vCLI Host Management Commands
- Connection Options for DCLI Commands
- vCLI Host Management Commands and Lockdown Mode
- Managing Hosts
- Managing Files
- Managing Storage
- Introduction to Storage
- Examining LUNs
- Detach a Device and Remove a LUN
- Reattach a Device
- Working with Permanent Device Loss
- Managing Paths
- Managing Path Policies
- Scheduling Queues for Virtual Machine I/O
- Managing NFS/NAS Datastores
- Monitor and Manage FibreChannel SAN Storage
- Monitoring and Managing Virtual SAN Storage
- Monitoring vSphere Flash Read Cache
- Monitoring and Managing Virtual Volumes
- Migrating Virtual Machines with svmotion
- Configuring FCoE Adapters
- Scanning Storage Adapters
- Retrieving SMART Information
- Managing iSCSI Storage
- iSCSI Storage Overview
- Protecting an iSCSI SAN
- Command Syntax for esxcli iscsi and vicfg-iscsi
- iSCSI Storage Setup with ESXCLI
- iSCSI Storage Setup with vicfg-iscsi
- Listing and Setting iSCSI Options
- Listing and Setting iSCSI Parameters
- Enabling iSCSI Authentication
- Set Up Ports for iSCSI Multipathing
- Managing iSCSI Sessions
- Managing Third-Party Storage Arrays
- Managing Users
- Managing Virtual Machines
- Managing vSphere Networking
- Introduction to vSphere Networking
- Retrieving Basic Networking Information
- Troubleshoot a Networking Setup
- Setting Up vSphere Networking with vSphere Standard Switches
- Setting Up Virtual Switches and Associating a Switch with a Network Interface
- Retrieving Information About Virtual Switches
- Adding and Deleting Virtual Switches
- Checking, Adding, and Removing Port Groups
- Managing Uplinks and Port Groups
- Setting the Port Group VLAN ID
- Managing Uplink Adapters
- Adding and Modifying VMkernel Network Interfaces
- Managing VMkernel Network Interfaces with ESXCLI
- Add and Configure an IPv4 VMkernel Network Interface with ESXCLI
- Add and Configure an IPv6 VMkernel Network Interface with ESXCLI
- Managing VMkernel Network Interfaces with vicfg-vmknic
- Add and Configure an IPv4 VMkernel Network Interface with vicfg-vmknic
- Add and Configure an IPv6 VMkernel Network Interface with vicfg-vmknic
- Setting Up vSphere Networking with vSphere Distributed Switch
- Managing Standard Networking Services in the vSphere Environment
- Setting the DNS Configuration
- Manage an NTP Server
- Manage the IP Gateway
- Setting Up IPsec
- Manage the ESXi Firewall
- Monitor VXLAN
- Monitoring ESXi Hosts
- Index
Using the Reclaim Troubleshooting Command
The esxcli storage core claiming reclaim troubleshooting command is intended for PSA plug-in
developers or administrators who troubleshoot PSA plug-ins.
The command performs the following tasks.
n
Aempts to unclaim all paths to a device.
n
Runs the loaded claim rules on each of the unclaimed paths to reclaim those paths.
It is normal for this command to fail if a device is in use.
I The reclaim command unclaims paths associated with a device.
You cannot use the command to reclaim paths currently associated with the MASK_PATH plug-in because --
device is the only option for reclaim and MASK_PATH paths are not associated with a device.
You can use the command to unclaim paths for a device and have those paths reclaimed by the MASK_PATH
plug-in.
Options Description
--device <device>
-d <device>
Name of the device on which all paths are reclaimed.
--help
Displays the help message.
Unclaiming Paths or Sets of Paths
The esxcli storage core claiming unclaim command unclaims a path or set of paths, disassociating those
paths from a PSA plug-in. The command fails if the device is in use.
You can unclaim only active paths with no outstanding requests. You cannot unclaim the ESXi USB partition
or devices with VMFS volumes on them. It is therefore normal for this command to fail, especially when you
specify a plug-in or adapter to unclaim.
Unclaiming does not persist. Periodic path claiming reclaims unclaimed paths unless claim rules are
congured to mask a path. See the vSphere Storage documentation for details.
I The unclaim command unclaims paths associated with a device. You can use this command to
unclaim paths associated with the MASK_PATH plugin but cannot use the --device option to unclaim those
paths.
Options Description
--adapter <adapter>
-A <adapter>
If --type is set to location, species the name of the HBA for the paths that you want to
unclaim. If you do not specify this option, unclaiming runs on paths from all adapters.
--channel <channel>
-C <channel>
If --type is set to location, species the SCSI channel number for the paths that you want
to unclaim. If you do not specify this option, unclaiming runs on paths from all channels.
--claimrule-class <cl>
-c <cl>
Claim rule class to use in this operation. You can specify MP (Multipathing), Filter, or
VAAI. Multipathing is the default. Filter is used only for VAAI. Specify claim rules for
both VAAI_FILTER and VAAI plug-in to use it.
--device <device>
-d <device>
If --type is set to device, aempts to unclaim all paths to the specied device. If there are
active I/O operations on the specied device, at least one path cannot be unclaimed.
--driver <driver>
-D <driver>
If --type is driver, unclaims all paths specied by this HBA driver.
Chapter 6 Managing Third-Party Storage Arrays
VMware, Inc. 109