Chapter 2 Configuring and Upgrading the System
2.2
esxcli Command Syntax
The esxcli command syntax used in this document is as follows.
•
To check the state of the disk
esxcli -s <IP address or hostname of ESXi host> storage mpm list
•
To isolate a disk from the RAID configuration
esxcli -s <IP address or hostname of ESXi host> storage mpm fail –v <Device name>
-d <Kernel device name>
•
To remove a disk from the RAID configuration
esxcli -s <IP address or hostname of ESXi host> storage mpm remove –v <Device
name> -d <Kernel device name>
•
To stop a disk from the RAID configuration
esxcli -s <IP address or hostname of ESXi host> storage mpm stop –v <Device name>
•
To add a disk to the RAID configuration
esxcli -s <IP address or hostname of ESXi host> storage mpm add –v <Device name>
-d <Kernel device name>
•
To add disks (RAID configuration)
esxcli -s <IP address or hostname of ESXi host> storage mpm create –v <Device
name> --disk1= <Kernel device name> --disk2=<Kernel device name>
Express5800/R320e-E4, R320e-M4, R320f-E4, R320f-M4 Maintenance Guide (VMware)
Tips
In some cases, the following error message may be displayed as the result of the esxcli
command.
# esxcli -s ftESXi storage mpm list
Enter username: root
Connect to ftESXi failed. Server SHA-1 thumbprint:
48:01:F6:82:E1:92:F7:35:BE:C4:37:E3:9C:89:58:E6:03:9B:FE:95 (not
trusted).
If the above error message is output, execute the esxcli command with '--thumbprint'
option. Specify the thumbprint shown in the error message for the '--thumbprint' option.
# esxcli
--thumbprint=48:01:F6:82:E1:92:F7:35:BE:C4:37:E3:9C:89:58:E6:03:9B
:FE:95 -s ftESXi storage mpm list
For details of the esxcli command, see the documents from VMware.
2. Hard Disk Drive Operations
95