ESXI cli修改
esxcli storage nmp device list #查询ESXI 发现的存储设备
或
esxcli storage core device list
输出:
naa.6004e0100109f6002a4560ee15273665
Device Display Name: Local DELL Disk (naa.6004e0100109f6002a4560ee15273665)
Storage Array Type: VMW_SATP_LOCAL
Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.
Path Selection Policy: VMW_PSP_FIXED
Path Selection Policy Device Config: {preferred=vmhba2:C2:T0:L0;current=vmhba2:C2:T0:L0}
Path Selection Policy Device Custom Config:
Working Paths: vmhba2:C2:T0:L0
Is USB: false
naa.6004e0100109f6002ba1896c0ebdb7b8
Device Display Name: Local DELL Disk (naa.6004e0100109f6002ba1896c0ebdb7b8)
Storage Array Type: VMW_SATP_LOCAL
Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.
Path Selection Policy: VMW_PSP_FIXED
Path Selection Policy Device Config: {preferred=vmhba2:C2:T1:L0;current=vmhba2:C2:T1:L0}
Path Selection Policy Device Custom Config:
Working Paths: vmhba2:C2:T1:L0
Is USB: false
esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device naa.序号--option="enable_ssd" # 更改想要变更的存储设备为 SSD
esxcli storage core claiming reclaim -d naa.序号# 此命令更新存储状态 使用变更生效,也可以重启生效