Difference between revisions of "ESXi - 6.7 storage"
Jump to navigation
Jump to search
(→TOOT) |
|||
(56 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
*'''list''' | *'''list''' | ||
:List all the SCSI Host Bus Adapters on the system. | :List all the SCSI Host Bus Adapters on the system. | ||
:* <code>esxcli storage core adapter list</code> | |||
*'''rescan''' | *'''rescan''' | ||
:Rescan SCSI HBAs to search for new Devices, remove DEAD paths and update path state. This operation will also run an claim operation equivalent to the claimrule run command and a filesystem rescan. | :Rescan SCSI HBAs to search for new Devices, remove DEAD paths and update path state. This operation will also run an claim operation equivalent to the claimrule run command and a filesystem rescan. | ||
:* <code>esxcli storage core adapter rescan '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-A|--adapter=<str> Select the adapter to use when rescanning SCSI | |||
adapters. This must be a SCSI HBA name as shown in the | |||
adapter list command. This cannot be used with the | |||
--all option | |||
-a|--all Indicate the rescan should rescan all adapters instead | |||
of a specific one. | |||
-S|--skip-claim By default after an add operation a claiming session | |||
is run to find new devices and have them be claimed by | |||
the appropriate Multipath Plugin. Passing this flag | |||
will skip that claiming session. | |||
-F|--skip-fs-scan This option is deprecated as no filesystem scan is | |||
performed by default | |||
-t|--type=<str> Specify the type of rescan to perform. Available types | |||
are | |||
add: Perform rescan and only add new devices if | |||
any. | |||
all: Perform rescan and do all opertaions (this is | |||
the default action.) | |||
delete: Perform rescan and only delete DEAD | |||
devices. | |||
update: Rescan existing paths only and update path | |||
states. | |||
==== capabilities ==== | ==== capabilities ==== | ||
*'''list''' | *'''list''' | ||
:List the capabilities of the SCSI HBAs in the system. | :List the capabilities of the SCSI HBAs in the system. | ||
:* <code>esxcli storage core adapter capabilities list</code> | |||
==== device ==== | ==== device ==== | ||
*'''list''' | *'''list''' | ||
:List the devices associated with HBAs. | :List the devices associated with HBAs. | ||
:* <code>esxcli storage core adapter device list</code> | |||
==== stats ==== | ==== stats ==== | ||
*'''get''' | *'''get''' | ||
:List the SCSI stats for the SCSI Host Bus Adapters in the system. | :List the SCSI stats for the SCSI Host Bus Adapters in the system. | ||
:* <code>esxcli storage core adapter stats get</code> | |||
=== claiming === | === claiming === | ||
*'''autoclaim''' | *'''autoclaim''' | ||
:Control the automatic PSA (path/device) claiming code allowing the disabling of the automatic claiming process or re-enabling of the claiming process if it was previously disabled. By default the automatic PSA claiming process is on and should not be disabled by users unless specifically instructed to do so. | :Control the automatic PSA (path/device) claiming code allowing the disabling of the automatic claiming process or re-enabling of the claiming process if it was previously disabled. By default the automatic PSA claiming process is on and should not be disabled by users unless specifically instructed to do so. | ||
:* <code>esxcli storage core claiming autoclaim '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-c|--claimrule-class=<str> | |||
Indicate the claim rule class to use in this operation | |||
[MP, Filter, VAAI, all]. | |||
--enabled=<bool> Set the autoclaiming enabled state for a givenPSA plugin | |||
type in the VMkernel. Default is to have this process | |||
enabled. This should not be changed by users unless | |||
specifically instructed to do so. (required) | |||
-w|--wait If the --wait flag is provided then the autoclaim enable | |||
will wait for paths to 'settle' before running the claim | |||
operation. This means that the system is reasonably sure | |||
that all paths on the system have appeared before enabling | |||
autoclaim. | |||
*'''reclaim''' | *'''reclaim''' | ||
:Attempt to unclaim all paths to a device and then run the loaded claimrules on each of the paths unclaimed to attempt to reclaim them. | :Attempt to unclaim all paths to a device and then run the loaded claimrules on each of the paths unclaimed to attempt to reclaim them. | ||
:* <code>esxcli storage core claiming reclaim '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> Reclaim requires the name of a device on which all paths | |||
will be unclaimed and then reclaimed. (required) | |||
*'''unclaim''' | *'''unclaim''' | ||
:1) Unclaim a path or set of paths, disassociating them from a PSA plugin. NOTES: It is normal for path claiming to fail especially when unclaiming by plugin or adapter. Only inactive paths with no I/O will be able to be unclaimed. Typically the ESXi USB partition and devices with VMFS volumes on them will not be unclaimable. Also NOTE unclaiming will not persist and periodic path claiming will reclaim these paths in the near future unless claim rules are configured to mask the path. | :1) Unclaim a path or set of paths, disassociating them from a PSA plugin. NOTES: It is normal for path claiming to fail especially when unclaiming by plugin or adapter. Only inactive paths with no I/O will be able to be unclaimed. Typically the ESXi USB partition and devices with VMFS volumes on them will not be unclaimable. Also NOTE unclaiming will not persist and periodic path claiming will reclaim these paths in the near future unless claim rules are configured to mask the path. | ||
:2) Detach a (set of) filter(s) from one or more devices. | :2) Detach a (set of) filter(s) from one or more devices. | ||
:* <code>esxcli storage core claiming unclaim '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-A|--adapter=<str> If the --type paramter is 'location' this value indicates | |||
the name of the host bus adapter for the paths you wish to | |||
unclaim. This parameter can be omitted to indicate | |||
unclaiming should be run on paths from all adapters. | |||
-C|--channel=<long> If the --type parameter is 'location' this value indicates | |||
the value of the SCSI channel number for the paths you | |||
wish to unclaim. This parameter can be omitted to indicate | |||
unclaiming should be run on paths with any channel number. | |||
-c|--claimrule-class=<str> | |||
Indicate the claim rule class to use in this operation | |||
[MP, Filter]. | |||
-d|--device=<str> If the --type parameter is 'device' attempt to unclaim all | |||
paths to a specific device (for multipathing plugins) or | |||
unclaim the device itself (for filter plugins). NOTE. For | |||
paths, if there are any active I/O operations on this | |||
device, at least 1 path will fail to unclaim. | |||
-D|--driver=<str> If the --type parameter is 'driver' attempt to unclaim all | |||
paths provided by a specific HBA driver. | |||
-L|--lun=<long> If the --type parameter is 'location' this value indicates | |||
the value of the SCSI Logical Unit Number (LUN) for the | |||
paths you wish to unclaim. This parameter can be omitted | |||
to indicate unclaiming should be run on paths with any | |||
Logical Unit Number. If passed, this value must not be | |||
higher than the value of the advanced config option | |||
/Disk/MaxLUN | |||
-m|--model=<str> If the --type parameter is 'vendor' attempt to unclaim all | |||
paths to devices with specific model info (for | |||
multipathing plugins) or unclaim the device itself (for | |||
filter plugins). NOTE. For paths, if there are any active | |||
I/O operations on this device, at least 1 path will fail | |||
to unclaim. | |||
-p|--path=<str> If the --type parameter is 'path' attempt to unclaim a | |||
specific path given its path UID or runtime name. | |||
-P|--plugin=<str> If the --type parameter is 'plugin' attempt to unclaim all | |||
paths on for a given multipath plugin OR all devices | |||
attached to a filter plugin. | |||
-T|--target=<long> If the --type paramter is 'location' this value indicates | |||
the value of the SCSI target number for the paths you wish | |||
to unclaim. This parameter can be omitted to indicate | |||
unclaiming should be run on paths with any target number. | |||
-t|--type=<str> Indicate the type of unclaim you wish to perform. Valid | |||
values for this paramter are [location, path, driver, | |||
device, plugin, vendor] (required) | |||
-v|--vendor=<str> If the --type parameter is 'vendor' attempt to unclaim all | |||
paths to devices with specific vendor info (for | |||
multipathing plugins) or unclaim the device itself (for | |||
filter plugins). NOTE. For paths, if there are any active | |||
I/O operations on this device, at least 1 path will fail | |||
to unclaim. | |||
=== claimrule === | === claimrule === | ||
*'''list''' | *'''list''' | ||
:List all the claimrules on the system. | :List all the claimrules on the system. | ||
:* <code>esxcli storage core claimrule list</code> | |||
*'''add''' | *'''add''' | ||
:Add a claimrule to the set of claimrules on the system. | :Add a claimrule to the set of claimrules on the system. | ||
:* <code>esxcli storage core claimrule add '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
'''See:''' [[ESXi - 6.7 esxcli storage core claimrule add|esxcli storage core claimrule add]] | |||
*'''convert''' | *'''convert''' | ||
:Convert ESX 3.x style /adv/Disk/MaskLUNs LUN masks to Claim Rule format. <br> WARNING: This conversion will not work for all input MaskLUNs variations! Please inspect the list of generated claim rules carefuly, then if the suggested LUN mask claim rules are correct use the --commit parameter to write the list to the config file. | :Convert ESX 3.x style /adv/Disk/MaskLUNs LUN masks to Claim Rule format. <br> WARNING: This conversion will not work for all input MaskLUNs variations! Please inspect the list of generated claim rules carefuly, then if the suggested LUN mask claim rules are correct use the --commit parameter to write the list to the config file. | ||
:* <code>esxcli storage core claimrule convert '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-C|--commit Force LUN mask config changes to be saved. If this | |||
parameter is omitted, config file changes will not be | |||
saved. | |||
*'''load''' | *'''load''' | ||
:Load path claiming rules from config file into the VMkernel. | :Load path claiming rules from config file into the VMkernel. | ||
:* <code>esxcli storage core claimrule load</code> | |||
*'''move''' | *'''move''' | ||
:Move a claimrule from one rule id to another | :Move a claimrule from one rule id to another | ||
:* <code>esxcli storage core claimrule move '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-c|--claimrule-class=<str> | |||
Indicate the claim rule class to use in this operation | |||
[MP, Filter, VAAI]. | |||
--force-reserved Override protection of reserved rule id ranges. | |||
-n|--new-rule=<long> Indicate the new rule id you wish to apply to the rule | |||
given by the --rule parameter. (required) | |||
-r|--rule=<long> Indicate the rule ID to use for this operation. (required) | |||
*'''remove''' | *'''remove''' | ||
:Delete a claimrule to the set of claimrules on the system. | :Delete a claimrule to the set of claimrules on the system. | ||
:* <code>esxcli storage core claimrule remove '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-c|--claimrule-class=<str> | |||
Indicate the claim rule class to use in this operation | |||
[MP, Filter, VAAI]. | |||
-P|--plugin=<str> Indicate the plugin to use for this operation. | |||
-r|--rule=<long> Indicate the rule ID to use for this operation. | |||
*'''run''' | *'''run''' | ||
:Execute path claiming rules. | :Execute path claiming rules. | ||
:* <code>esxcli storage core claimrule run</code> | |||
=== device === | === device === | ||
*'''list''' | *'''list''' | ||
:List the devices currently registered with the PSA. | :List the devices currently registered with the PSA. | ||
:* <code>esxcli storage core device list</code> | |||
*'''purge''' | *'''purge''' | ||
:Removes storage devices which have not been seen in some time interval. | :Removes storage devices which have not been seen in some time interval. | ||
:* <code>esxcli storage core device purge</code> | |||
*'''set''' | *'''set''' | ||
:Provide control to allow a user to modify a SCSI device's state. | :Provide control to allow a user to modify a SCSI device's state. | ||
:* <code>esxcli storage core device set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-I|--data-integrity-enabled=<bool> | |||
Enable / Disable device data integrity 0 -> Protection | |||
disabled 1 -> Protection enabled.Please refer to ESX | |||
release notes for more Information | |||
-D|--default-name Set the default display name for the device. If there is | |||
an existing user defined name it will be changed. | |||
-d|--device=<str> The device upon which to operate. This can be any of the | |||
UIDs that a device reports. (required) | |||
-f|--force Force the device state to be set. | |||
-L|--led-duration=<long> | |||
Set the duration of LED in seconds. If not specified, use | |||
maximum duration that hardware can support. | |||
-l|--led-state=<str> Set the disk LED state. Valid values are: | |||
error: Turn on error LED. | |||
locator: Turn on locator LED. | |||
off: Turn off LED. | |||
-m|--max-queue-depth=<long> | |||
Set device's max queue depth. | |||
-n|--name=<str> The new name to assign the given device. | |||
-N|--no-persist Set device state non-peristently; state is lost after | |||
reboot. | |||
-s|--queue-full-sample-size=<long> | |||
Set device's queue full sample size. IO samples to monitor | |||
for detecting non-transient queue full condition. Should | |||
be non zero to enable queue depth throttling. | |||
-q|--queue-full-threshold=<long> | |||
Set device's queue full threshold. BUSY or QFULL | |||
threshold,upon which LUN queue depth will be throttled. | |||
Should be <= queue-full-sample-size if throttling is | |||
enabled. | |||
-O|--sched-num-req-outstanding=<long> | |||
Set number of outstanding IOs with competing worlds. | |||
--state=<str> Set the SCSI device state for the specific device given. | |||
Valid values are : | |||
off: Set the device's state to OFF. | |||
on: Set the device's state to ON. | |||
-w|--write-cache-enabled=<bool> | |||
Set device's write cache state. | |||
*'''setconfig''' | *'''setconfig''' | ||
:Set device configuration | :Set device configuration | ||
:* <code>esxcli storage core device setconfig '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
'''See:''' [[ESXi - 6.7 esxcli storage core device setconfig|esxcli storage core device setconfig]] | |||
==== capacity ==== | ==== capacity ==== | ||
*'''list''' | *'''list''' | ||
:List capacity information for the known storage devices. | :List capacity information for the known storage devices. | ||
:* <code>esxcli storage core device capacity list</code> | |||
==== detached ==== | ==== detached ==== | ||
*'''list''' | *'''list''' | ||
:Lists all devices that were detached manually by changing their state on the system. | :Lists all devices that were detached manually by changing their state on the system. | ||
:* <code>esxcli storage core device detached list</code> | |||
*'''remove''' | *'''remove''' | ||
:Provide control to allow a user to remove Detached devices from the persistent detached device list. | :Provide control to allow a user to remove Detached devices from the persistent detached device list. | ||
:* <code>esxcli storage core device detached remove '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-a|--all If set, all devices will be removed from the Detached | |||
Device List. | |||
-d|--device=<str> Select the detached device to remove from the Detached | |||
Device List. | |||
==== inquirycache ==== | ==== inquirycache ==== | ||
*'''list''' | *'''list''' | ||
:List inquiry cache information for the known storage devices. | :List inquiry cache information for the known storage devices. | ||
:* <code>esxcli storage core device inquirycache list</code> | |||
*'''set''' | *'''set''' | ||
:Manipulate inquiry cache settings of storage devices. | :Manipulate inquiry cache settings of storage devices. | ||
:* <code>esxcli storage core device inquirycache set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
--apply-all Operate on all existing devices. | |||
-d|--device=<str> NAA ID of the device upon which to operate. | |||
--ignore=<bool> Ignore device inquiry cache. (required) | |||
Examples: | |||
Ignore the inquiry cache for the device mpx.vmhba0. | |||
*<code>esxcli storage core device inquirycache set --ignore true --device=mpx.vmhba0 </code> | |||
Ignore the inquiry cache for all the devices. | |||
*<code>esxcli storage core device inquirycache set --ignore true --apply-all</code> | |||
==== latencythreshold ==== | ==== latencythreshold ==== | ||
*'''list''' | *'''list''' | ||
:List latency sensitive threshold for the known storage devices. | :List latency sensitive threshold for the known storage devices. | ||
:* <code>esxcli storage core device latencythreshold list</code> | |||
*'''set''' | *'''set''' | ||
:Set device's latency sensitive threshold (in milliseconds). If IO latency exceeds the threshold, new IOs will use default IO scheduler. | :Set device's latency sensitive threshold (in milliseconds). If IO latency exceeds the threshold, new IOs will use default IO scheduler. | ||
:* <code>esxcli storage core device latencythreshold set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> Select the device to set its latency sensitive threshold. | |||
(required) | |||
-t|--latency-sensitive-threshold=<long> | |||
Set device's latency sensitive threshold (in | |||
milliseconds). (required) | |||
==== partition ==== | ==== partition ==== | ||
*'''list''' | *'''list''' | ||
:For a given device list all of the partitions | :For a given device list all of the partitions | ||
:* <code>esxcli storage core device partition list</code> | |||
*'''showguid''' | *'''showguid''' | ||
:For a given device list the GUID for GPT partitions | :For a given device list the GUID for GPT partitions | ||
:* <code>esxcli storage core device partition showguid</code> | |||
==== physical ==== | ==== physical ==== | ||
*'''get''' | *'''get''' | ||
:Get information about a physical storage device. | :Get information about a physical storage device. | ||
:* <code>esxcli storage core device physical get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> Specify a device name. (required) | |||
==== raid ==== | ==== raid ==== | ||
*'''list''' | *'''list''' | ||
:List the physical devices that compose a given logical device. | :List the physical devices that compose a given logical device. | ||
:* <code>esxcli storage core device raid list '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> Specify a device name. (required) | |||
==== smart ==== | ==== smart ==== | ||
*get | *'''get''' | ||
:List Smart device parameters. | :List Smart device parameters. | ||
:* <code>esxcli storage core device smart get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device-name=<str> | |||
The Smart device name (required) | |||
==== stats ==== | |||
*'''get''' | |||
:List the SCSI stats for SCSI Devices in the system. | |||
:* <code>esxcli storage core device stats get</code> | |||
==== uidmap ==== | |||
*'''list''' | |||
:Get a mapping between a device's primary UID and the alternative UIDs for that device on the system. | |||
:* <code>esxcli storage core device uidmap list</code> | |||
==== vaai ==== | |||
===== ats ===== | |||
*'''list''' | |||
:List the ATS VAAI attributes (as per SCSI standard) for the devices. | |||
:* <code>esxcli storage core device vaai ats list</code> | |||
===== clone ===== | |||
*'''list''' | |||
:List the Clone VAAI attributes (as per SCSI standard) for the devices. | |||
:* <code>esxcli storage core device vaai clone list</code> | |||
===== delete ===== | |||
*'''list''' | |||
:List the Delete VAAI attributes (as per SCSI standard) for the devices. | |||
:* <code>esxcli storage core device vaai delete list</code> | |||
==== | ===== status ===== | ||
*'''get''' | |||
:List VAAI properties for devices currently registered with the PSA. | |||
:* <code>esxcli storage core device vaai status get</code> | |||
*'''set''' | |||
:Enable/Disable VAAI operations on local SCSI disks. (NOTE: A request to enable an operation will take effect only if the underlying device supports the VAAI operation.) | |||
:* <code>esxcli storage core device vaai status set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-A|--ats=<bool> Enable or Disable ATS operation (1/0) | |||
-C|--clone=<bool> Enable or Disable CLONE operation (1/0) | |||
-D|--delete=<bool> Enable or Disable DELETE operation (1/0) | |||
-d|--device=<str> The device upon which to operate (NAA ID). (required) | |||
-Z|--zero=<bool> Enable or Disable ZERO operation (1/0) | |||
===== zero ===== | |||
*'''list''' | |||
:List the Zero VAAI attributes (as per SCSI standard) for the devices. | |||
:* <code>esxcli storage core device vaai zero list</code> | |||
==== world ==== | |||
*'''list''' | |||
:Get a list of the worlds that are currently using devices on the ESX host. | |||
:* <code>esxcli storage core device world list</code> | |||
=== path === | |||
*'''list''' | |||
:List all the SCSI paths on the system. | |||
:* <code>esxcli storage core path list</code> | |||
*'''set''' | |||
:Provide control to allow a user to modify a single path's state. This efffectively allows a user to enable or disable SCSI paths. The user is not able to change the full range of path states, but can toggle between 'active' and 'off'. Please NOTE changing the Path state on any path that is the only path to a given device is likely to fail. The VMkernel will not change the path's state if changing the state would cause an 'All paths down' state or the device is currently in use. | |||
:* <code>esxcli storage core path set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-p|--path=<str> Select the path to set path state on. This can be a | |||
Runtime Name or Path UID (required) | |||
--state=<str> Set the SCSI path state for the specific path given. Valid | |||
values are : | |||
active: Set the path's state to active. This may be | |||
immediately changed by the system to another state if the | |||
active state is not appropriate. | |||
off: Administratively disable this path. | |||
(required) | |||
==== | ==== stats ==== | ||
*'''get''' | |||
:List the SCSI stats for the SCSI Paths in the system. | |||
:* <code>esxcli storage core path stats get</code> | |||
==== | === plugin === | ||
*'''list''' | |||
:List loaded PSA plugins on the system. | |||
:* <code>esxcli storage core plugin list</code> | |||
==== registration ==== | |||
*'''list''' | |||
:List modules currently registered with PSA. | |||
:* <code>esxcli storage core plugin registration list</code> | |||
==== | *'''add''' | ||
:Register a plugin module with PSA. | |||
:* <code>esxcli storage core plugin registration add '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--dependencies=<str> | |||
Add the [optional] dependencies for this module to loaded | |||
-I|--full-path=<str> Add the [optional] full path to this module | |||
-m|--module-name=<str> | |||
Select the module name to be registered (required) | |||
-N|--plugin-class=<str> | |||
Indicate the class of plugin to register. Allowed values | |||
are MP, VAAI or MPP defined subplugins like PSP, SATP. | |||
(required) | |||
-P|--plugin-name=<str> | |||
Select the plugin name to be registered (required) | |||
*'''remove''' | |||
:UnRegister a plugin module with PSA. | |||
:* <code>esxcli storage core plugin registration remove '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-m|--module-name=<str> | |||
Select the module name to be unregistered (required) | |||
== filesystem == | == filesystem == | ||
*'''list''' | |||
:List the volumes available to the host. This includes VMFS, NAS, VFAT and UFS partitions. | |||
:* <code>esxcli storage filesystem list</code> | |||
*'''automount''' | |||
:Request mounting of known datastores not explicitly unmounted. | |||
:* <code>esxcli storage filesystem automount</code> | |||
*'''rescan''' | |||
:Scan storage devices for new mountable filesystems. | |||
:* <code>esxcli storage filesystem rescan</code> | |||
*'''mount''' | |||
:Connect to and mount an unmounted volume on the ESX host. | |||
:* <code>esxcli storage filesystem mount '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-n|--no-persist Mount the volume non-peristently; the volume will not | |||
be mounted after a restart. | |||
-l|--volume-label=<str> | |||
The label of the volume to mount. This volume must be | |||
unmounted for this operation to succeed. | |||
-u|--volume-uuid=<str> | |||
The UUID of the VMFS filesystem to mount. This volu | |||
*'''unmount''' | |||
:Disconnect and unmount and existing VMFS or NAS volume. This will not delete the configuration for the volume, but will remove the volume from the list of mounted volumes. | |||
:* <code>esxcli storage filesystem unmount '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-n|--no-persist Unmount the volume non-peristently; the volume will be | |||
automounted after a restart. | |||
-a|--unmount-all-vmfs Unmount all vmfs volumes. | |||
-l|--volume-label=<str> | |||
The label of the volume to unmount. | |||
-p|--volume-path=<str> | |||
The path of the volume to unmount. | |||
-u|--volume-uuid=<str> | |||
The uuid of the volume to unmount. | |||
== hpp == | == hpp == | ||
=== device === | |||
*'''list''' | |||
:List the devices currently controlled by the VMware High Performance Plugin. | |||
:* <code>esxcli storage hpp device list</code> | |||
*'''set''' | |||
:Configure settings for an HPP device. | |||
:* <code>esxcli storage hpp device set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> The HPP device upon which to operate. This can be any of | |||
the UIDs that a device reports. (required) | |||
-M|--mark-device-ssd=<bool> | |||
Set whether or not HPP should treat the device as an SSD. | |||
==== usermarkedssd ==== | |||
*'''list''' | |||
:List the devices that were marked as SSD by user. | |||
:* <code>esxcli storage hpp device usermarkedssd list</code> | |||
=== path === | |||
*'''list''' | |||
:List the paths currently claimed by the VMware High Performance Plugin | |||
:* <code>esxcli storage hpp path list</code> | |||
== iofilter == | == iofilter == | ||
*'''list''' | |||
:List the iofilters installed on this host. | |||
:* <code>esxcli storage iofilter list</code> | |||
*'''enable''' | |||
:Enable an iofilter. | |||
:* <code>esxcli storage iofilter enable '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-f|--filter=<str> Name of the iofilter. (required) | |||
== nfs == | == nfs == | ||
*'''list''' | |||
:List the NAS volumes currently known to the ESX host. | |||
:* <code>esxcli storage nfs list</code> | |||
*'''add''' | |||
:Add a new NAS volume to the ESX Host and mount it with the given volume name. | |||
:* <code>esxcli storage nfs add '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-H|--host=<str> The hostname or IP address of the NAS volume to add and | |||
mount on the system. (required) | |||
-p|--ispe If set this flag will set the mount point to be PE. | |||
-r|--readonly If set this flag will set the mount point to be read-only. | |||
-s|--share=<str> The share name on the remote system to use for this NAS | |||
mount point. (required) | |||
-v|--volume-name=<str> | |||
The volume name to use for the NAS mount. This must be a | |||
unique volume name and cannot conflict with existing NAS, | |||
VMFS or other volume names. (required) | |||
*'''remove''' | |||
:Remove an existing NAS volume from the ESX host. | |||
:* <code>esxcli storage nfs remove '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-v|--volume-name=<str> | |||
The volume name of the NAS volume to remove from the ESX | |||
host. (required) | |||
=== param === | |||
*'''get''' | |||
:Get the volume parameters of the NAS volumes. | |||
:* <code>esxcli storage nfs param get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-v|--volume-name=<str> | |||
NAS volume name("all" to list all). (required) | |||
*'''set''' | |||
:Set the volume parameters of the NAS volumes. | |||
:* <code>esxcli storage nfs param set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-q|--maxqueuedepth=<long> | |||
The maximum queue depth for the NAS volume. | |||
-v|--volume-name=<str> | |||
The NAS volume name. (required) | |||
== nfs41 == | == nfs41 == | ||
*'''list''' | |||
:List the NFS v4.1 volumes currently known to the ESX host. | |||
:* <code>esxcli storage nfs41 list</code> | |||
*'''add''' | |||
:Add a new NFS v4.1 volume to the ESX Host and mount it with the given volume name. | |||
:* <code>esxcli storage nfs41 add '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-H|--hosts=[ <str> ... ] | |||
The hostname(s) or IP address(es) (comma-separated) of the | |||
server for the NFS v4.1 volume to add and mount on the | |||
system. (required) | |||
-p|--ispe If set, this flag will set the mount point to be PE. | |||
-r|--readonly If set, this flag will make the mount point be read-only. | |||
-a|--sec=<str> Security flavors. Acceptable values are: [AUTH_SYS, | |||
SEC_KRB5, SEC_KRB5I]. | |||
-s|--share=<str> The share name on the remote system to use for this NFS | |||
v4.1 mount point. (required) | |||
-v|--volume-name=<str> | |||
The volume name to use for the NFS v4.1 mount. This must | |||
be a unique volume name and cannot conflict with existing | |||
NAS, NFS v4.1, VMFS, or other volume names. (required) | |||
*'''remove''' | |||
:Remove an existing NFS v4.1 volume from the ESX host. | |||
:* <code>esxcli storage nfs41 remove '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-v|--volume-name=<str> | |||
The volume name of the NFS v4.1 volume to remove from the | |||
ESX host. (required) | |||
=== param === | |||
*'''get''' | |||
:Get the volume parameters of the NFS v4.1 volumes. | |||
:* <code>esxcli storage nfs41 param get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-v|--volume-name=<str> | |||
NFS v4.1 volume name("all" to list all). (required) | |||
*'''set''' | |||
:Set the volume parameters of the NFS v4.1 volumes. | |||
:* <code>esxcli storage nfs41 param set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-q|--maxqueuedepth=<long> | |||
The maximum queue depth for the NFS v4.1 volume. | |||
-v|--volume-name=<str> | |||
The NFS v4.1 volume name. (required) | |||
== nmp == | == nmp == | ||
=== device === | |||
*'''list''' | |||
:List the devices currently controlled by the VMware NMP Multipath Plugin and show the SATP and PSP information associated with that device. | |||
:* <code>esxcli storage nmp device list</code> | |||
*'''set''' | |||
:Allow setting of the Path Selection Policy (PSP) for the given device to one of the loaded policies on the system. | |||
:* <code>esxcli storage nmp device set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-E|--default The Path selection policy is set back to the default for | |||
the assigned SATP for this device. | |||
-d|--device=<str> The device you wish to set the Path Selection Policy for. | |||
(required) | |||
-P|--psp=<str> The Path selection policy you wish to assign to the given | |||
device. | |||
=== path === | |||
*'''list''' | |||
:List the paths currently claimed by the VMware NMP Multipath Plugin and show the SATP and PSP information associated with that path. | |||
:* <code>esxcli storage nmp path list</code> | |||
=== psp === | |||
*'''list''' | |||
:List the Path Selection Plugins (PSP) that are currently loaded into the NMP system and display information about those PSPs | |||
:* <code>esxcli storage nmp psp list</code> | |||
==== fixed ==== | |||
===== deviceconfig ===== | |||
*'''get''' | |||
:Allow retrieving of Fixed Path Selection Policy settings for a given device. | |||
:* <code>esxcli storage nmp psp fixed deviceconfig get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> The device you wish to get the Preferred path for. (required) | |||
*'''set''' | |||
:Allow setting of the perferred path on a given device controlled by the Fixed Path Selection Policy. | |||
:* <code>esxcli storage nmp psp fixed deviceconfig set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. | |||
-E|--default Clear the preferred path selection for the given device. | |||
-d|--device=<str> The device you wish to set the preferred path for. This device must be controlled by the Fixed Path Selection Policy(except when -g is specified) (required) | |||
-p|--path=<str> The path you wish to set as the preferred path for the given device. | |||
==== generic ==== | |||
===== deviceconfig ===== | |||
*'''get''' | |||
:Allow retrieving of per device PSP configuration parameters. | |||
:* <code>esxcli storage nmp psp generic deviceconfig get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> The device you wish to get PSP configuration for. (required) | |||
*'''set''' | |||
:Allow setting of per device PSP configuration parameters. This command will set the configuration for the given device with whichever PSP it is currently configurated with. | |||
:* <code>esxcli storage nmp psp generic deviceconfig set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. | |||
-c|--config=<str> The configuration string you wish to set. (required) | |||
-d|--device=<str> The device you wish to set PSP configuration for. (required) | |||
===== pathconfig ===== | |||
*'''get''' | |||
:Allow retrieving of per path PSP configuration parameters. | |||
:* <code>esxcli storage nmp psp generic pathconfig get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-p|--path=<str> The path you wish to get PSP configuration for. (required) | |||
*'''set''' | |||
:Allow setting of per path PSP configuration parameters. This command will set the configuration for the given path with whichever PSP it is currently configurated with. | |||
:* <code>esxcli storage nmp psp generic pathconfig set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. | |||
-c|--config=<str> The configuration string you wish to set. (required) | |||
-p|--path=<str> The path you wish to set PSP configuration for. (required) | |||
==== roundrobin ==== | |||
===== deviceconfig ===== | |||
*'''get''' | |||
:Allow retrieving of Round Robin Path Selection Policy settings for a given device. | |||
:* <code>esxcli storage nmp psp roundrobin deviceconfig get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> The device you wish to get the Round Robin properties for. (required) | |||
*'''set''' | |||
:Allow setting of the Round Robin path options on a given device controlled by the Round Robin Selection Policy. | |||
:* <code>esxcli storage nmp psp roundrobin deviceconfig set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-B|--bytes=<long> When the --type option is set to 'bytes' this is the value that will be assigned to the byte limit value for this device. | |||
-g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. | |||
-d|--device=<str> The device you wish to set the Round Robin settings for. This device must be controlled by the Round Robin Path Selection Policy(except when -g is specified) (required) | |||
-I|--iops=<long> When the --type option is set to 'iops' this is the value that will be assigned to the I/O operation limit value for this device. | |||
-T|--latency-eval-time=<long> | |||
When the --type option is set to 'latency' this value can control at what interval (in ms) the latency of paths should be evaluated. | |||
-S|--num-sampling-cycles=<long> | |||
When the --type option is set to 'latency' this value will control how many sample IOs should be issued on each path to calculate latency of the path. | |||
-t|--type=<str> Set the type of the Round Robin path switching that should be enabled for this device. Valid values for type are: | |||
bytes: Set the trigger for path switching based on the number of bytes sent down a path. | |||
default: Set the trigger for path switching back to default values. | |||
iops: Set the trigger for path switching based on the number of I/O operations on a path. | |||
latency: Set the trigger for path switching based on latency and pending IOs on path. | |||
-U|--useano=<bool> Set useano to true,to also include non-optimizedpaths in the set of active paths used to issue I/Os on this device,otherwise set it to false | |||
=== satp === | |||
*'''list''' | |||
:List the Storage Array Type Plugins (SATP) that are currently loaded into the NMP system and display information about those SATPs | |||
:* <code>esxcli storage nmp satp list</code> | |||
*'''set''' | |||
:Set the default Path Selection Policy for a given Storage Array Type Plugin (SATP). | |||
:* <code>esxcli storage nmp satp set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. | |||
-P|--default-psp=<str> | |||
The default path selection policy to set for a given --satp (required) | |||
-s|--satp=<str> The SATP name for the Storage Array Type Plugin on which this command will operate. (required) | |||
==== generic ==== | |||
===== deviceconfig ===== | |||
*'''get''' | |||
:Allow retrieving of per device SATP configuration parameters. | |||
:* <code>esxcli storage nmp satp generic deviceconfig get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-d|--device=<str> The device you wish to get SATP configuration for. (required) | |||
-e|--exclude-tpg-info Exclude TPG info from the device's SATP configuration. | |||
*'''set''' | |||
:Allow setting of per device SATP configuration parameters. This command will set the configuration for the given device with whichever SATP it is currently configurated with. | |||
:* <code>esxcli storage nmp satp generic deviceconfig set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-c|--config=<str> The configuration string you wish to set. (required) | |||
-d|--device=<str> The device you wish to set SATP configuration for. | |||
===== pathconfig ===== | |||
*'''get''' | |||
:Allow retrieving of per path SATP configuration parameters. | |||
:* <code>esxcli storage nmp satp generic pathconfig get '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-p|--path=<str> The path you wish to get SATP configuration for. (required) | |||
*'''set''' | |||
:Allow setting of per path SATP configuration parameters. This command will set the configuration for the given path with whichever SATP it is currently configurated with. | |||
:* <code>esxcli storage nmp satp generic pathconfig set '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-c|--config=<str> The configuration string you wish to set. (required) | |||
-p|--path=<str> The path you wish to set SATP configuration for. (required) | |||
==== rule ==== | |||
*'''list''' | |||
:List the claiming rules for Storage Array Type Plugins (SATP) | |||
:* <code>esxcli storage nmp satp rule list</code> | |||
*'''add''' | |||
:Add a rule to the list of claim rules for the given SATP. | |||
:* <code>esxcli storage nmp satp rule add '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. | |||
-c|--claim-option=<str> | |||
Set the claim option string when adding a SATP claim rule. | |||
-e|--description=<str> | |||
Set the claim rule description when adding a SATP claim rule. | |||
-d|--device=<str> Set the device when adding SATP claim rules. Device rules are mutually exclusive with vendor/model and driver rules. | |||
-D|--driver=<str> Set the driver string when adding a SATP claim rule. Driver rules are mutually exclusive with vendor/model rules. | |||
-f|--force Force claim rules to ignore validity checks and install the rule anyway. | |||
-M|--model=<str> Set the model string when adding SATP a claim rule. Vendor/Model rules are mutually exclusive with driver rules. | |||
-o|--option=<str> Set the option string when adding a SATP claim rule. | |||
-P|--psp=<str> Set the default PSP for the SATP claim rule. | |||
-O|--psp-option=<str> Set the PSP options for the SATP claim rule. | |||
-s|--satp=<str> The SATP for which a new rule will be added. (required) | |||
-R|--transport=<str> Set the claim transport type string when adding a SATP claim rule. | |||
-t|--type=<str> Set the claim type when adding a SATP claim rule. | |||
-V|--vendor=<str> Set the vendor string when adding SATP claim rules. Vendor/Model rules are mutually exclusive with driver rules. | |||
*'''remove''' | |||
:Delete a rule from the list of claim rules for the given SATP. | |||
:* <code>esxcli storage nmp satp rule remove '''OPTIONS'''</code> | |||
'''OPTIONS''' | |||
-b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. | |||
-c|--claim-option=<str> | |||
The claim option string for the SATP claim rule to delete. | |||
-e|--description=<str> | |||
The desription string for the SATP claim rule to delete. | |||
-d|--device=<str> The device for the SATP claim rule to delete | |||
-D|--driver=<str> The driver string for the SATP claim rule to delete. | |||
-f|--force Ignore validity checks and remove the rule anyway. | |||
-M|--model=<str> The model string for the SATP claim rule to delete. | |||
-o|--option=<str> The option string for the SATP claim rule to delete. | |||
-P|--psp=<str> The default PSP for the SATP claim rule to delete. | |||
-O|--psp-option=<str> The PSP options for the SATP claim rule to delete. | |||
-s|--satp=<str> The SATP for which a rule will be deleted. (required) | |||
-R|--transport=<str> The transport type for the SATP claim rule to delete. | |||
-t|--type=<str> Set the claim type when adding a SATP claim rule. | |||
-V|--vendor=<str> The vendor string for the SATP claim rule to delete | |||
= oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga = | |||
== san == | == san == | ||
=== fc === | |||
*'''list''' | |||
:List attributes of all FC adapters on the system. | |||
*'''reset''' | |||
:Perform LIP (Loop Initiation Primitive) Reset to a given FC adapter on the system. | |||
====events ==== | |||
*'''clear''' | |||
:Clear events for a given FC adapter on the system. | |||
*'''get''' | |||
:Get Events for FC Devices | |||
====stats ==== | |||
*'''get''' | |||
:Get statistics for a given FC adapter, or all FC adapters on the system. | |||
=== fcoe === | |||
*'''list''' | |||
:List attributes of all FCoE adapters on the system. | |||
*'''reset''' | |||
:Perform LIP (Loop Initiation Primitive) Reset to a given FCoE adapter on the system. | |||
====stats ==== | |||
*'''get''' | |||
:Get statistics for a given FCoE adapter, or all FCoE adapters on the system. | |||
=== iscsi === | |||
*'''list''' | |||
:List attributes of all Software iSCSI adapters on the system. | |||
====stats ==== | |||
*'''get''' | |||
:Get statistics for Software iSCSI adapter. | |||
=== sas === | |||
*'''list''' | |||
:List all SAS IO Device Management devices. | |||
*'''reset''' | |||
:Perform SAS Reset | |||
====stats ==== | |||
*'''get''' | |||
:List Stats for given device, or all devices. | |||
= oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga = | |||
== vflash == | == vflash == | ||
=== cache === | |||
*'''list''' | |||
:List individual vflash caches. | |||
*'''get''' | |||
:Get individual vflash cache info. | |||
==== stats ==== | |||
*'''get''' | |||
:Get vflash cache statistics. | |||
*'''reset''' | |||
:Reset vflash cache statistics. | |||
=== device === | |||
*'''list''' | |||
:List vflash SSD devices. | |||
=== module === | |||
*'''list''' | |||
:List vflash modules. | |||
*'''get''' | |||
:Get vflash module info. | |||
==== stats ==== | |||
*'''get''' | |||
:Get vflash module statistics | |||
= oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga = | |||
== vmfs == | == vmfs == | ||
*'''unmap''' | |||
:Reclaim the space by unmapping free blocks from VMFS Volume | |||
*'''upgrade''' | |||
:Upgrade a VMFS3 volume to VMFS5. | |||
=== extent === | |||
*'''list''' | |||
:List the VMFS extents available on the host. | |||
=== host === | |||
*'''list''' | |||
:List hosts accessing a particular VMFS Volume. | |||
=== lockmode === | |||
*'''list''' | |||
:List the on-disk critical section locking mode for VMFS volumes available on this host. | |||
*'''set''' | |||
:Update the on-disk critical section locking mode for a particular VMFS Volume. | |||
=== pbcache === | |||
*'''get''' | |||
:Get VMFS Pointer Block cache statistics. | |||
*'''reset''' | |||
:Reset the VMFS Pointer Block cache statistics. | |||
=== reclaim === | |||
==== config ==== | |||
*'''get''' | |||
:Get space reclamation configuration parameters | |||
*'''set''' | |||
:Set space reclamation configuration parameters | |||
=== snapshot === | |||
*'''list''' | |||
:List unresolved snapshots/replicas of VMFS volume. | |||
*'''mount''' | |||
:Mount a snapshot/replica of a VMFS volume. | |||
*'''resignature''' | |||
:Resignature a snapshot/replica of a VMFS volume. | |||
==== extent ==== | |||
*'''list''' | |||
:List extents of unresolved snapshots/replicas of VMFS volume. | |||
= oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga = | |||
== vvol == | == vvol == | ||
=== daemon === | |||
*'''unbindall''' | |||
:Unbind all Virtual Volumes from all VASA Providers known to this host. | |||
=== protocolendpoint === | |||
*'''list''' | |||
:List the VVol Protocol EndPoints currently known to this host. | |||
=== storagecontainer === | |||
*'''list''' | |||
:List VVol storage containers known to this host. | |||
==== abandonedvvol ==== | |||
*'''scan''' | |||
:Scans the specified storage container for abandoned VVols. | |||
=== vasacontext === | |||
*'''get''' | |||
:Get the VVol VASA Context (vCenter UUID). | |||
=== vasaprovider === | |||
*'''list''' | |||
:List the VASA Providers registered on this host. |
Latest revision as of 01:18, 12 February 2022
VMKernel system properties and commands for configuring properties of the kernel core system and related system services.
core
adapter
- list
- List all the SCSI Host Bus Adapters on the system.
esxcli storage core adapter list
- rescan
- Rescan SCSI HBAs to search for new Devices, remove DEAD paths and update path state. This operation will also run an claim operation equivalent to the claimrule run command and a filesystem rescan.
esxcli storage core adapter rescan OPTIONS
OPTIONS -A|--adapter=<str> Select the adapter to use when rescanning SCSI adapters. This must be a SCSI HBA name as shown in the adapter list command. This cannot be used with the --all option -a|--all Indicate the rescan should rescan all adapters instead of a specific one. -S|--skip-claim By default after an add operation a claiming session is run to find new devices and have them be claimed by the appropriate Multipath Plugin. Passing this flag will skip that claiming session. -F|--skip-fs-scan This option is deprecated as no filesystem scan is performed by default -t|--type=<str> Specify the type of rescan to perform. Available types are add: Perform rescan and only add new devices if any. all: Perform rescan and do all opertaions (this is the default action.) delete: Perform rescan and only delete DEAD devices. update: Rescan existing paths only and update path states.
capabilities
- list
- List the capabilities of the SCSI HBAs in the system.
esxcli storage core adapter capabilities list
device
- list
- List the devices associated with HBAs.
esxcli storage core adapter device list
stats
- get
- List the SCSI stats for the SCSI Host Bus Adapters in the system.
esxcli storage core adapter stats get
claiming
- autoclaim
- Control the automatic PSA (path/device) claiming code allowing the disabling of the automatic claiming process or re-enabling of the claiming process if it was previously disabled. By default the automatic PSA claiming process is on and should not be disabled by users unless specifically instructed to do so.
esxcli storage core claiming autoclaim OPTIONS
OPTIONS -c|--claimrule-class=<str> Indicate the claim rule class to use in this operation [MP, Filter, VAAI, all]. --enabled=<bool> Set the autoclaiming enabled state for a givenPSA plugin type in the VMkernel. Default is to have this process enabled. This should not be changed by users unless specifically instructed to do so. (required) -w|--wait If the --wait flag is provided then the autoclaim enable will wait for paths to 'settle' before running the claim operation. This means that the system is reasonably sure that all paths on the system have appeared before enabling autoclaim.
- reclaim
- Attempt to unclaim all paths to a device and then run the loaded claimrules on each of the paths unclaimed to attempt to reclaim them.
esxcli storage core claiming reclaim OPTIONS
OPTIONS -d|--device=<str> Reclaim requires the name of a device on which all paths will be unclaimed and then reclaimed. (required)
- unclaim
- 1) Unclaim a path or set of paths, disassociating them from a PSA plugin. NOTES: It is normal for path claiming to fail especially when unclaiming by plugin or adapter. Only inactive paths with no I/O will be able to be unclaimed. Typically the ESXi USB partition and devices with VMFS volumes on them will not be unclaimable. Also NOTE unclaiming will not persist and periodic path claiming will reclaim these paths in the near future unless claim rules are configured to mask the path.
- 2) Detach a (set of) filter(s) from one or more devices.
esxcli storage core claiming unclaim OPTIONS
OPTIONS -A|--adapter=<str> If the --type paramter is 'location' this value indicates the name of the host bus adapter for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths from all adapters. -C|--channel=<long> If the --type parameter is 'location' this value indicates the value of the SCSI channel number for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths with any channel number. -c|--claimrule-class=<str> Indicate the claim rule class to use in this operation [MP, Filter]. -d|--device=<str> If the --type parameter is 'device' attempt to unclaim all paths to a specific device (for multipathing plugins) or unclaim the device itself (for filter plugins). NOTE. For paths, if there are any active I/O operations on this device, at least 1 path will fail to unclaim. -D|--driver=<str> If the --type parameter is 'driver' attempt to unclaim all paths provided by a specific HBA driver. -L|--lun=<long> If the --type parameter is 'location' this value indicates the value of the SCSI Logical Unit Number (LUN) for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths with any Logical Unit Number. If passed, this value must not be higher than the value of the advanced config option /Disk/MaxLUN -m|--model=<str> If the --type parameter is 'vendor' attempt to unclaim all paths to devices with specific model info (for multipathing plugins) or unclaim the device itself (for filter plugins). NOTE. For paths, if there are any active I/O operations on this device, at least 1 path will fail to unclaim. -p|--path=<str> If the --type parameter is 'path' attempt to unclaim a specific path given its path UID or runtime name. -P|--plugin=<str> If the --type parameter is 'plugin' attempt to unclaim all paths on for a given multipath plugin OR all devices attached to a filter plugin. -T|--target=<long> If the --type paramter is 'location' this value indicates the value of the SCSI target number for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths with any target number. -t|--type=<str> Indicate the type of unclaim you wish to perform. Valid values for this paramter are [location, path, driver, device, plugin, vendor] (required) -v|--vendor=<str> If the --type parameter is 'vendor' attempt to unclaim all paths to devices with specific vendor info (for multipathing plugins) or unclaim the device itself (for filter plugins). NOTE. For paths, if there are any active I/O operations on this device, at least 1 path will fail to unclaim.
claimrule
- list
- List all the claimrules on the system.
esxcli storage core claimrule list
- add
- Add a claimrule to the set of claimrules on the system.
esxcli storage core claimrule add OPTIONS
OPTIONS See: esxcli storage core claimrule add
- convert
- Convert ESX 3.x style /adv/Disk/MaskLUNs LUN masks to Claim Rule format.
WARNING: This conversion will not work for all input MaskLUNs variations! Please inspect the list of generated claim rules carefuly, then if the suggested LUN mask claim rules are correct use the --commit parameter to write the list to the config file.esxcli storage core claimrule convert OPTIONS
OPTIONS -C|--commit Force LUN mask config changes to be saved. If this parameter is omitted, config file changes will not be saved.
- load
- Load path claiming rules from config file into the VMkernel.
esxcli storage core claimrule load
- move
- Move a claimrule from one rule id to another
esxcli storage core claimrule move OPTIONS
OPTIONS -c|--claimrule-class=<str> Indicate the claim rule class to use in this operation [MP, Filter, VAAI]. --force-reserved Override protection of reserved rule id ranges. -n|--new-rule=<long> Indicate the new rule id you wish to apply to the rule given by the --rule parameter. (required) -r|--rule=<long> Indicate the rule ID to use for this operation. (required)
- remove
- Delete a claimrule to the set of claimrules on the system.
esxcli storage core claimrule remove OPTIONS
OPTIONS -c|--claimrule-class=<str> Indicate the claim rule class to use in this operation [MP, Filter, VAAI]. -P|--plugin=<str> Indicate the plugin to use for this operation. -r|--rule=<long> Indicate the rule ID to use for this operation.
- run
- Execute path claiming rules.
esxcli storage core claimrule run
device
- list
- List the devices currently registered with the PSA.
esxcli storage core device list
- purge
- Removes storage devices which have not been seen in some time interval.
esxcli storage core device purge
- set
- Provide control to allow a user to modify a SCSI device's state.
esxcli storage core device set OPTIONS
OPTIONS -I|--data-integrity-enabled=<bool> Enable / Disable device data integrity 0 -> Protection disabled 1 -> Protection enabled.Please refer to ESX release notes for more Information -D|--default-name Set the default display name for the device. If there is an existing user defined name it will be changed. -d|--device=<str> The device upon which to operate. This can be any of the UIDs that a device reports. (required) -f|--force Force the device state to be set. -L|--led-duration=<long> Set the duration of LED in seconds. If not specified, use maximum duration that hardware can support. -l|--led-state=<str> Set the disk LED state. Valid values are: error: Turn on error LED. locator: Turn on locator LED. off: Turn off LED. -m|--max-queue-depth=<long> Set device's max queue depth. -n|--name=<str> The new name to assign the given device. -N|--no-persist Set device state non-peristently; state is lost after reboot. -s|--queue-full-sample-size=<long> Set device's queue full sample size. IO samples to monitor for detecting non-transient queue full condition. Should be non zero to enable queue depth throttling. -q|--queue-full-threshold=<long> Set device's queue full threshold. BUSY or QFULL threshold,upon which LUN queue depth will be throttled. Should be <= queue-full-sample-size if throttling is enabled. -O|--sched-num-req-outstanding=<long> Set number of outstanding IOs with competing worlds. --state=<str> Set the SCSI device state for the specific device given. Valid values are : off: Set the device's state to OFF. on: Set the device's state to ON. -w|--write-cache-enabled=<bool> Set device's write cache state.
- setconfig
- Set device configuration
esxcli storage core device setconfig OPTIONS
OPTIONS See: esxcli storage core device setconfig
capacity
- list
- List capacity information for the known storage devices.
esxcli storage core device capacity list
detached
- list
- Lists all devices that were detached manually by changing their state on the system.
esxcli storage core device detached list
- remove
- Provide control to allow a user to remove Detached devices from the persistent detached device list.
esxcli storage core device detached remove OPTIONS
OPTIONS -a|--all If set, all devices will be removed from the Detached Device List. -d|--device=<str> Select the detached device to remove from the Detached Device List.
inquirycache
- list
- List inquiry cache information for the known storage devices.
esxcli storage core device inquirycache list
- set
- Manipulate inquiry cache settings of storage devices.
esxcli storage core device inquirycache set OPTIONS
OPTIONS --apply-all Operate on all existing devices. -d|--device=<str> NAA ID of the device upon which to operate. --ignore=<bool> Ignore device inquiry cache. (required)
Examples:
Ignore the inquiry cache for the device mpx.vmhba0.
esxcli storage core device inquirycache set --ignore true --device=mpx.vmhba0
Ignore the inquiry cache for all the devices.
esxcli storage core device inquirycache set --ignore true --apply-all
latencythreshold
- list
- List latency sensitive threshold for the known storage devices.
esxcli storage core device latencythreshold list
- set
- Set device's latency sensitive threshold (in milliseconds). If IO latency exceeds the threshold, new IOs will use default IO scheduler.
esxcli storage core device latencythreshold set OPTIONS
OPTIONS -d|--device=<str> Select the device to set its latency sensitive threshold. (required) -t|--latency-sensitive-threshold=<long> Set device's latency sensitive threshold (in milliseconds). (required)
partition
- list
- For a given device list all of the partitions
esxcli storage core device partition list
- showguid
- For a given device list the GUID for GPT partitions
esxcli storage core device partition showguid
physical
- get
- Get information about a physical storage device.
esxcli storage core device physical get OPTIONS
OPTIONS -d|--device=<str> Specify a device name. (required)
raid
- list
- List the physical devices that compose a given logical device.
esxcli storage core device raid list OPTIONS
OPTIONS -d|--device=<str> Specify a device name. (required)
smart
- get
- List Smart device parameters.
esxcli storage core device smart get OPTIONS
OPTIONS -d|--device-name=<str> The Smart device name (required)
stats
- get
- List the SCSI stats for SCSI Devices in the system.
esxcli storage core device stats get
uidmap
- list
- Get a mapping between a device's primary UID and the alternative UIDs for that device on the system.
esxcli storage core device uidmap list
vaai
ats
- list
- List the ATS VAAI attributes (as per SCSI standard) for the devices.
esxcli storage core device vaai ats list
clone
- list
- List the Clone VAAI attributes (as per SCSI standard) for the devices.
esxcli storage core device vaai clone list
delete
- list
- List the Delete VAAI attributes (as per SCSI standard) for the devices.
esxcli storage core device vaai delete list
status
- get
- List VAAI properties for devices currently registered with the PSA.
esxcli storage core device vaai status get
- set
- Enable/Disable VAAI operations on local SCSI disks. (NOTE: A request to enable an operation will take effect only if the underlying device supports the VAAI operation.)
esxcli storage core device vaai status set OPTIONS
OPTIONS -A|--ats=<bool> Enable or Disable ATS operation (1/0) -C|--clone=<bool> Enable or Disable CLONE operation (1/0) -D|--delete=<bool> Enable or Disable DELETE operation (1/0) -d|--device=<str> The device upon which to operate (NAA ID). (required) -Z|--zero=<bool> Enable or Disable ZERO operation (1/0)
zero
- list
- List the Zero VAAI attributes (as per SCSI standard) for the devices.
esxcli storage core device vaai zero list
world
- list
- Get a list of the worlds that are currently using devices on the ESX host.
esxcli storage core device world list
path
- list
- List all the SCSI paths on the system.
esxcli storage core path list
- set
- Provide control to allow a user to modify a single path's state. This efffectively allows a user to enable or disable SCSI paths. The user is not able to change the full range of path states, but can toggle between 'active' and 'off'. Please NOTE changing the Path state on any path that is the only path to a given device is likely to fail. The VMkernel will not change the path's state if changing the state would cause an 'All paths down' state or the device is currently in use.
esxcli storage core path set OPTIONS
OPTIONS -p|--path=<str> Select the path to set path state on. This can be a Runtime Name or Path UID (required) --state=<str> Set the SCSI path state for the specific path given. Valid values are : active: Set the path's state to active. This may be immediately changed by the system to another state if the active state is not appropriate. off: Administratively disable this path. (required)
stats
- get
- List the SCSI stats for the SCSI Paths in the system.
esxcli storage core path stats get
plugin
- list
- List loaded PSA plugins on the system.
esxcli storage core plugin list
registration
- list
- List modules currently registered with PSA.
esxcli storage core plugin registration list
- add
- Register a plugin module with PSA.
esxcli storage core plugin registration add OPTIONS
OPTIONS -d|--dependencies=<str> Add the [optional] dependencies for this module to loaded -I|--full-path=<str> Add the [optional] full path to this module -m|--module-name=<str> Select the module name to be registered (required) -N|--plugin-class=<str> Indicate the class of plugin to register. Allowed values are MP, VAAI or MPP defined subplugins like PSP, SATP. (required) -P|--plugin-name=<str> Select the plugin name to be registered (required)
- remove
- UnRegister a plugin module with PSA.
esxcli storage core plugin registration remove OPTIONS
OPTIONS -m|--module-name=<str> Select the module name to be unregistered (required)
filesystem
- list
- List the volumes available to the host. This includes VMFS, NAS, VFAT and UFS partitions.
esxcli storage filesystem list
- automount
- Request mounting of known datastores not explicitly unmounted.
esxcli storage filesystem automount
- rescan
- Scan storage devices for new mountable filesystems.
esxcli storage filesystem rescan
- mount
- Connect to and mount an unmounted volume on the ESX host.
esxcli storage filesystem mount OPTIONS
OPTIONS -n|--no-persist Mount the volume non-peristently; the volume will not be mounted after a restart. -l|--volume-label=<str> The label of the volume to mount. This volume must be unmounted for this operation to succeed. -u|--volume-uuid=<str> The UUID of the VMFS filesystem to mount. This volu
- unmount
- Disconnect and unmount and existing VMFS or NAS volume. This will not delete the configuration for the volume, but will remove the volume from the list of mounted volumes.
esxcli storage filesystem unmount OPTIONS
OPTIONS -n|--no-persist Unmount the volume non-peristently; the volume will be automounted after a restart. -a|--unmount-all-vmfs Unmount all vmfs volumes. -l|--volume-label=<str> The label of the volume to unmount. -p|--volume-path=<str> The path of the volume to unmount. -u|--volume-uuid=<str> The uuid of the volume to unmount.
hpp
device
- list
- List the devices currently controlled by the VMware High Performance Plugin.
esxcli storage hpp device list
- set
- Configure settings for an HPP device.
esxcli storage hpp device set OPTIONS
OPTIONS -d|--device=<str> The HPP device upon which to operate. This can be any of the UIDs that a device reports. (required) -M|--mark-device-ssd=<bool> Set whether or not HPP should treat the device as an SSD.
usermarkedssd
- list
- List the devices that were marked as SSD by user.
esxcli storage hpp device usermarkedssd list
path
- list
- List the paths currently claimed by the VMware High Performance Plugin
esxcli storage hpp path list
iofilter
- list
- List the iofilters installed on this host.
esxcli storage iofilter list
- enable
- Enable an iofilter.
esxcli storage iofilter enable OPTIONS
OPTIONS -f|--filter=<str> Name of the iofilter. (required)
nfs
- list
- List the NAS volumes currently known to the ESX host.
esxcli storage nfs list
- add
- Add a new NAS volume to the ESX Host and mount it with the given volume name.
esxcli storage nfs add OPTIONS
OPTIONS -H|--host=<str> The hostname or IP address of the NAS volume to add and mount on the system. (required) -p|--ispe If set this flag will set the mount point to be PE. -r|--readonly If set this flag will set the mount point to be read-only. -s|--share=<str> The share name on the remote system to use for this NAS mount point. (required) -v|--volume-name=<str> The volume name to use for the NAS mount. This must be a unique volume name and cannot conflict with existing NAS, VMFS or other volume names. (required)
- remove
- Remove an existing NAS volume from the ESX host.
esxcli storage nfs remove OPTIONS
OPTIONS -v|--volume-name=<str> The volume name of the NAS volume to remove from the ESX host. (required)
param
- get
- Get the volume parameters of the NAS volumes.
esxcli storage nfs param get OPTIONS
OPTIONS -v|--volume-name=<str> NAS volume name("all" to list all). (required)
- set
- Set the volume parameters of the NAS volumes.
esxcli storage nfs param set OPTIONS
OPTIONS -q|--maxqueuedepth=<long> The maximum queue depth for the NAS volume. -v|--volume-name=<str> The NAS volume name. (required)
nfs41
- list
- List the NFS v4.1 volumes currently known to the ESX host.
esxcli storage nfs41 list
- add
- Add a new NFS v4.1 volume to the ESX Host and mount it with the given volume name.
esxcli storage nfs41 add OPTIONS
OPTIONS -H|--hosts=[ <str> ... ] The hostname(s) or IP address(es) (comma-separated) of the server for the NFS v4.1 volume to add and mount on the system. (required) -p|--ispe If set, this flag will set the mount point to be PE. -r|--readonly If set, this flag will make the mount point be read-only. -a|--sec=<str> Security flavors. Acceptable values are: [AUTH_SYS, SEC_KRB5, SEC_KRB5I]. -s|--share=<str> The share name on the remote system to use for this NFS v4.1 mount point. (required) -v|--volume-name=<str> The volume name to use for the NFS v4.1 mount. This must be a unique volume name and cannot conflict with existing NAS, NFS v4.1, VMFS, or other volume names. (required)
- remove
- Remove an existing NFS v4.1 volume from the ESX host.
esxcli storage nfs41 remove OPTIONS
OPTIONS -v|--volume-name=<str> The volume name of the NFS v4.1 volume to remove from the ESX host. (required)
param
- get
- Get the volume parameters of the NFS v4.1 volumes.
esxcli storage nfs41 param get OPTIONS
OPTIONS -v|--volume-name=<str> NFS v4.1 volume name("all" to list all). (required)
- set
- Set the volume parameters of the NFS v4.1 volumes.
esxcli storage nfs41 param set OPTIONS
OPTIONS -q|--maxqueuedepth=<long> The maximum queue depth for the NFS v4.1 volume. -v|--volume-name=<str> The NFS v4.1 volume name. (required)
nmp
device
- list
- List the devices currently controlled by the VMware NMP Multipath Plugin and show the SATP and PSP information associated with that device.
esxcli storage nmp device list
- set
- Allow setting of the Path Selection Policy (PSP) for the given device to one of the loaded policies on the system.
esxcli storage nmp device set OPTIONS
OPTIONS -E|--default The Path selection policy is set back to the default for the assigned SATP for this device. -d|--device=<str> The device you wish to set the Path Selection Policy for. (required) -P|--psp=<str> The Path selection policy you wish to assign to the given device.
path
- list
- List the paths currently claimed by the VMware NMP Multipath Plugin and show the SATP and PSP information associated with that path.
esxcli storage nmp path list
psp
- list
- List the Path Selection Plugins (PSP) that are currently loaded into the NMP system and display information about those PSPs
esxcli storage nmp psp list
fixed
deviceconfig
- get
- Allow retrieving of Fixed Path Selection Policy settings for a given device.
esxcli storage nmp psp fixed deviceconfig get OPTIONS
OPTIONS -d|--device=<str> The device you wish to get the Preferred path for. (required)
- set
- Allow setting of the perferred path on a given device controlled by the Fixed Path Selection Policy.
esxcli storage nmp psp fixed deviceconfig set OPTIONS
OPTIONS -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -E|--default Clear the preferred path selection for the given device. -d|--device=<str> The device you wish to set the preferred path for. This device must be controlled by the Fixed Path Selection Policy(except when -g is specified) (required) -p|--path=<str> The path you wish to set as the preferred path for the given device.
generic
deviceconfig
- get
- Allow retrieving of per device PSP configuration parameters.
esxcli storage nmp psp generic deviceconfig get OPTIONS
OPTIONS -d|--device=<str> The device you wish to get PSP configuration for. (required)
- set
- Allow setting of per device PSP configuration parameters. This command will set the configuration for the given device with whichever PSP it is currently configurated with.
esxcli storage nmp psp generic deviceconfig set OPTIONS
OPTIONS -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -c|--config=<str> The configuration string you wish to set. (required) -d|--device=<str> The device you wish to set PSP configuration for. (required)
pathconfig
- get
- Allow retrieving of per path PSP configuration parameters.
esxcli storage nmp psp generic pathconfig get OPTIONS
OPTIONS -p|--path=<str> The path you wish to get PSP configuration for. (required)
- set
- Allow setting of per path PSP configuration parameters. This command will set the configuration for the given path with whichever PSP it is currently configurated with.
esxcli storage nmp psp generic pathconfig set OPTIONS
OPTIONS -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -c|--config=<str> The configuration string you wish to set. (required) -p|--path=<str> The path you wish to set PSP configuration for. (required)
roundrobin
deviceconfig
- get
- Allow retrieving of Round Robin Path Selection Policy settings for a given device.
esxcli storage nmp psp roundrobin deviceconfig get OPTIONS
OPTIONS -d|--device=<str> The device you wish to get the Round Robin properties for. (required)
- set
- Allow setting of the Round Robin path options on a given device controlled by the Round Robin Selection Policy.
esxcli storage nmp psp roundrobin deviceconfig set OPTIONS
OPTIONS -B|--bytes=<long> When the --type option is set to 'bytes' this is the value that will be assigned to the byte limit value for this device. -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -d|--device=<str> The device you wish to set the Round Robin settings for. This device must be controlled by the Round Robin Path Selection Policy(except when -g is specified) (required) -I|--iops=<long> When the --type option is set to 'iops' this is the value that will be assigned to the I/O operation limit value for this device. -T|--latency-eval-time=<long> When the --type option is set to 'latency' this value can control at what interval (in ms) the latency of paths should be evaluated. -S|--num-sampling-cycles=<long> When the --type option is set to 'latency' this value will control how many sample IOs should be issued on each path to calculate latency of the path. -t|--type=<str> Set the type of the Round Robin path switching that should be enabled for this device. Valid values for type are: bytes: Set the trigger for path switching based on the number of bytes sent down a path. default: Set the trigger for path switching back to default values. iops: Set the trigger for path switching based on the number of I/O operations on a path. latency: Set the trigger for path switching based on latency and pending IOs on path. -U|--useano=<bool> Set useano to true,to also include non-optimizedpaths in the set of active paths used to issue I/Os on this device,otherwise set it to false
satp
- list
- List the Storage Array Type Plugins (SATP) that are currently loaded into the NMP system and display information about those SATPs
esxcli storage nmp satp list
- set
- Set the default Path Selection Policy for a given Storage Array Type Plugin (SATP).
esxcli storage nmp satp set OPTIONS
OPTIONS -b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. -P|--default-psp=<str> The default path selection policy to set for a given --satp (required) -s|--satp=<str> The SATP name for the Storage Array Type Plugin on which this command will operate. (required)
generic
deviceconfig
- get
- Allow retrieving of per device SATP configuration parameters.
esxcli storage nmp satp generic deviceconfig get OPTIONS
OPTIONS -d|--device=<str> The device you wish to get SATP configuration for. (required) -e|--exclude-tpg-info Exclude TPG info from the device's SATP configuration.
- set
- Allow setting of per device SATP configuration parameters. This command will set the configuration for the given device with whichever SATP it is currently configurated with.
esxcli storage nmp satp generic deviceconfig set OPTIONS
OPTIONS -c|--config=<str> The configuration string you wish to set. (required) -d|--device=<str> The device you wish to set SATP configuration for.
pathconfig
- get
- Allow retrieving of per path SATP configuration parameters.
esxcli storage nmp satp generic pathconfig get OPTIONS
OPTIONS -p|--path=<str> The path you wish to get SATP configuration for. (required)
- set
- Allow setting of per path SATP configuration parameters. This command will set the configuration for the given path with whichever SATP it is currently configurated with.
esxcli storage nmp satp generic pathconfig set OPTIONS
OPTIONS -c|--config=<str> The configuration string you wish to set. (required) -p|--path=<str> The path you wish to set SATP configuration for. (required)
rule
- list
- List the claiming rules for Storage Array Type Plugins (SATP)
esxcli storage nmp satp rule list
- add
- Add a rule to the list of claim rules for the given SATP.
esxcli storage nmp satp rule add OPTIONS
OPTIONS -b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. -c|--claim-option=<str> Set the claim option string when adding a SATP claim rule. -e|--description=<str> Set the claim rule description when adding a SATP claim rule. -d|--device=<str> Set the device when adding SATP claim rules. Device rules are mutually exclusive with vendor/model and driver rules. -D|--driver=<str> Set the driver string when adding a SATP claim rule. Driver rules are mutually exclusive with vendor/model rules. -f|--force Force claim rules to ignore validity checks and install the rule anyway. -M|--model=<str> Set the model string when adding SATP a claim rule. Vendor/Model rules are mutually exclusive with driver rules. -o|--option=<str> Set the option string when adding a SATP claim rule. -P|--psp=<str> Set the default PSP for the SATP claim rule. -O|--psp-option=<str> Set the PSP options for the SATP claim rule. -s|--satp=<str> The SATP for which a new rule will be added. (required) -R|--transport=<str> Set the claim transport type string when adding a SATP claim rule. -t|--type=<str> Set the claim type when adding a SATP claim rule. -V|--vendor=<str> Set the vendor string when adding SATP claim rules. Vendor/Model rules are mutually exclusive with driver rules.
- remove
- Delete a rule from the list of claim rules for the given SATP.
esxcli storage nmp satp rule remove OPTIONS
OPTIONS -b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. -c|--claim-option=<str> The claim option string for the SATP claim rule to delete. -e|--description=<str> The desription string for the SATP claim rule to delete. -d|--device=<str> The device for the SATP claim rule to delete -D|--driver=<str> The driver string for the SATP claim rule to delete. -f|--force Ignore validity checks and remove the rule anyway. -M|--model=<str> The model string for the SATP claim rule to delete. -o|--option=<str> The option string for the SATP claim rule to delete. -P|--psp=<str> The default PSP for the SATP claim rule to delete. -O|--psp-option=<str> The PSP options for the SATP claim rule to delete. -s|--satp=<str> The SATP for which a rule will be deleted. (required) -R|--transport=<str> The transport type for the SATP claim rule to delete. -t|--type=<str> Set the claim type when adding a SATP claim rule. -V|--vendor=<str> The vendor string for the SATP claim rule to delete
oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga
san
fc
- list
- List attributes of all FC adapters on the system.
- reset
- Perform LIP (Loop Initiation Primitive) Reset to a given FC adapter on the system.
events
- clear
- Clear events for a given FC adapter on the system.
- get
- Get Events for FC Devices
stats
- get
- Get statistics for a given FC adapter, or all FC adapters on the system.
fcoe
- list
- List attributes of all FCoE adapters on the system.
- reset
- Perform LIP (Loop Initiation Primitive) Reset to a given FCoE adapter on the system.
stats
- get
- Get statistics for a given FCoE adapter, or all FCoE adapters on the system.
iscsi
- list
- List attributes of all Software iSCSI adapters on the system.
stats
- get
- Get statistics for Software iSCSI adapter.
sas
- list
- List all SAS IO Device Management devices.
- reset
- Perform SAS Reset
stats
- get
- List Stats for given device, or all devices.
oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga
vflash
cache
- list
- List individual vflash caches.
- get
- Get individual vflash cache info.
stats
- get
- Get vflash cache statistics.
- reset
- Reset vflash cache statistics.
device
- list
- List vflash SSD devices.
module
- list
- List vflash modules.
- get
- Get vflash module info.
stats
- get
- Get vflash module statistics
oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga
vmfs
- unmap
- Reclaim the space by unmapping free blocks from VMFS Volume
- upgrade
- Upgrade a VMFS3 volume to VMFS5.
extent
- list
- List the VMFS extents available on the host.
host
- list
- List hosts accessing a particular VMFS Volume.
lockmode
- list
- List the on-disk critical section locking mode for VMFS volumes available on this host.
- set
- Update the on-disk critical section locking mode for a particular VMFS Volume.
pbcache
- get
- Get VMFS Pointer Block cache statistics.
- reset
- Reset the VMFS Pointer Block cache statistics.
reclaim
config
- get
- Get space reclamation configuration parameters
- set
- Set space reclamation configuration parameters
snapshot
- list
- List unresolved snapshots/replicas of VMFS volume.
- mount
- Mount a snapshot/replica of a VMFS volume.
- resignature
- Resignature a snapshot/replica of a VMFS volume.
extent
- list
- List extents of unresolved snapshots/replicas of VMFS volume.
oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga oogabooga
vvol
daemon
- unbindall
- Unbind all Virtual Volumes from all VASA Providers known to this host.
protocolendpoint
- list
- List the VVol Protocol EndPoints currently known to this host.
storagecontainer
- list
- List VVol storage containers known to this host.
abandonedvvol
- scan
- Scans the specified storage container for abandoned VVols.
vasacontext
- get
- Get the VVol VASA Context (vCenter UUID).
vasaprovider
- list
- List the VASA Providers registered on this host.