2. Disk Operations
Express5800/R320d-E4, R320d-M4 Maintenance Guide (VMware 5.5)
96
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 <
ESXi host IP address
> storage mpm list
• To isolate a disk from the RAID configuration
esxcli -s <
ESXi host IP address
> storage mpm fail –v <
Device name
> -d <
Kernel
device name
>
• To remove a disk from the RAID configuration
esxcli -s <
ESXi host IP address
> storage mpm remove –v <
Device name
> -d <
Kernel
device name
>
• To add a disk to the RAID configuration
esxcli -s <
ESXi host IP address
> storage mpm add –v <
Device name
> -d <
Kernel device
name
>
• To add disks (RAID configuration)
esxcli -s <
ESXi host IP address
> storage mpm create –v <
Device name
> --disk1=
<
Kernel device name
> --disk2=<
Kernel device name
>
2.3
Confirm Hard Disk Drives status
To confirm the disk status, use
esxcli storage mpm list
command.
The following display is an example when
esxcli storage mpm list
command is run.
Note
The kernel device name is defined at the time when disk is detected. Accordingly, it is
subject to be changed if the disk is relocated or the system is rebooted. You need to
confirm the current disk status by running the
esxcli storage mpm list
command
every time you perform disk operation.
# esxcli –s xxx.xxx.xxx.xxx storage mpm list
Info
------------------------------------------------------
mpm0 : 143066368 blocks (139713 MB) [2/2]
\_ vmhba0:C0:T0:L0 (10/40/1) [ in_sync ]
\_ vmhba1:C0:T0:L0 (11/40/1) [ in_sync ]