MisterDeeds
Enthusiast
Enthusiast

ESXi 7.0.2 - esxcli storage nmp satp rule add ssd for VMW_SATP_LOCAL

Jump to solution

Hello together

I am trying to mark a local storage which is not correctly recognized as SSD (I assume it is because of the RAID) as such. This has worked fine on other systems. On this one, all commands are executed without error, but it is still not recognized as an SSD. Below are the commands.

[root@Esx01:~] esxcfg-scsidevs -l | egrep '^[^ ]|Display Name|Vendor|Devfs Path'
eui.0050430000000000
   Display Name: Local Marvell Processor (eui.0050430000000000)
   Devfs Path: /vmfs/devices/genscsi/eui.0050430000000000
   Vendor: Marvell   Model: Console           Revis: 1.01
mpx.vmhba32:C0:T0:L0
   Display Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L0)
   Devfs Path: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0
   Vendor: USB       Model: SanDisk 3.2Gen1   Revis: 0100
t10.ATA_____MARVELL_Raid_VD_________________________6b6377eccdd6101000000000
   Display Name: Local ATA Disk (t10.ATA_____MARVELL_Raid_VD_________________________6b6377eccdd6101000000000)
   Devfs Path: /vmfs/devices/disks/t10.ATA_____MARVELL_Raid_VD_________________________6b6377eccdd6101000000000
   Vendor: ATA       Model: MARVELL Raid VD   Revis: 00-0
t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000
   Display Name: Local ATA Disk (t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000)
   Devfs Path: /vmfs/devices/disks/t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000
   Vendor: ATA       Model: MARVELL Raid VD   Revis: 00-0
   
[root@Esx01:~] esxcli storage nmp satp rule add -s VMW_SATP_LOCAL -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000 -o "enable_local enable_ssd"

[root@Esx01:~] esxcli storage nmp satp rule list
Name                 Device                                                                        Vendor    Model             Driver  Transport  Options                     Rule Group  Claim Options                        Default PSP  PSP Options     Description
-------------------  ----------------------------------------------------------------------------  --------  ----------------  ------  ---------  --------------------------  ----------  -----------------------------------  -----------  --------------  -----------
VMW_SATP_LOCAL       t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000                                                 enable_local enable_ssd     user

[root@Esx01:~] esxcli storage core claiming reclaim -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000

[root@Esx01:~] esxcli storage core device list -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000 |grep -i ssd
   Is SSD: false

Does anyone have a solution?

Many thanks and best regards

0 Kudos
1 Solution

Accepted Solutions
MisterDeeds
Enthusiast
Enthusiast

Hi together

I have now figured it out. The following page says it:

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-6035DE0C-9285-4D37...

In vSphere version 7.0 Update 1 and earlier, NMP remains the default plug-in for local NVMe devices, but you can replace it with HPP. Starting from vSphere 7.0 Update 2, HPP becomes the default plug-in for local NVMe and SCSI devices, but you can replace it with NMP.

[root@Esx01:~] esxcli storage core claimrule list
Rule Class   Rule  Class    Type       Plugin     Matches                                                                XCOPY Use Array Reported Values  XCOPY Use Multiple Segments  XCOPY Max Transfer Size KiB  Config String
----------  -----  -------  ---------  ---------  ---------------------------------------------------------------------  -------------------------------  ---------------------------  ---------------------------  -------------
MP             50  runtime  transport  NMP        transport=usb                                                                                    false                        false                            0
MP             51  runtime  transport  HPP        transport=sata                                                                                   false                        false                            0  pss=FIXED
MP             52  runtime  transport  NMP        transport=ide                                                                                    false                        false                            0
MP             53  runtime  transport  NMP        transport=block                                                                                  false                        false                            0
MP             54  runtime  transport  NMP        transport=unknown                                                                                false                        false                            0
MP            101  runtime  vendor     MASK_PATH  vendor=DELL model=Universal Xport pci_vendor_id=* pci_sub_vendor_id=*                            false                        false                            0
MP            101  file     vendor     MASK_PATH  vendor=DELL model=Universal Xport pci_vendor_id=* pci_sub_vendor_id=*                            false                        false                            0
MP          65531  runtime  transport  HPP        transport=sas                                                                                    false                        false                            0  pss=FIXED
MP          65532  runtime  transport  HPP        transport=parallel                                                                               false                        false                            0  pss=FIXED
MP          65533  runtime  transport  HPP        transport=pcie                                                                                   false                        false                            0  pss=FIXED
MP          65534  runtime  vendor     HPP        nvme_controller_model=* pci_vendor_id=* pci_sub_vendor_id=*                                      false                        false                            0
MP          65535  runtime  vendor     NMP        vendor=* model=* pci_vendor_id=* pci_sub_vendor_id=*                                             false                        false                            0

However, it is not necessary to define them as NMP. It can also be done directly with HPP.

 

esxcli storage hpp device set -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000 -M true

 

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-895AEB6D-58B7-4B4D...

 

[root@Esx01:~] esxcli storage hpp device usermarkedssd list
Device UID
----------
t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff900100000000

 

And:

 

[root@Esx01:~] esxcli storage core device list -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000 |grep -i ssd
   Is SSD: true

 

I hope this helps you too.

Best regards

View solution in original post

0 Kudos
2 Replies
MisterDeeds
Enthusiast
Enthusiast

I've tried something around. I noticed that the devices are displayed as HPP.

 

Spoiler
[root@Esx01:~] esxcfg-scsidevs -c
Device UID                                                                    Device Type      Console Device                                                                                    Size      Multipath PluginDisplay Name
eui.0050430000000000                                                          Processor        /vmfs/devices/genscsi/eui.0050430000000000                                                        0MB       HPP     Local Marvell Processor (eui.0050430000000000)
mpx.vmhba32:C0:T0:L0                                                          Direct-Access    /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0                                                          58680MB   NMP     Local USB Direct-Access (mpx.vmhba32:C0:T0:L0)
t10.ATA_____MARVELL_Raid_VD_________________________6b6377eccdd6101000000000  Direct-Access    /vmfs/devices/disks/t10.ATA_____MARVELL_Raid_VD_________________________6b6377eccdd6101000000000  3815367MB HPP     Local ATA Disk (t10.ATA_____MARVELL_Raid_VD_________________________6b6377eccdd6101000000000)
t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000  Direct-Access    /vmfs/devices/disks/t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000  488306MB  HPP     Local ATA Disk (t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000)

Is there also the possibility to define a HPP device as SSD?

I would be very grateful for any input!

Thanks and best regards

 

0 Kudos
MisterDeeds
Enthusiast
Enthusiast

Hi together

I have now figured it out. The following page says it:

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-6035DE0C-9285-4D37...

In vSphere version 7.0 Update 1 and earlier, NMP remains the default plug-in for local NVMe devices, but you can replace it with HPP. Starting from vSphere 7.0 Update 2, HPP becomes the default plug-in for local NVMe and SCSI devices, but you can replace it with NMP.

[root@Esx01:~] esxcli storage core claimrule list
Rule Class   Rule  Class    Type       Plugin     Matches                                                                XCOPY Use Array Reported Values  XCOPY Use Multiple Segments  XCOPY Max Transfer Size KiB  Config String
----------  -----  -------  ---------  ---------  ---------------------------------------------------------------------  -------------------------------  ---------------------------  ---------------------------  -------------
MP             50  runtime  transport  NMP        transport=usb                                                                                    false                        false                            0
MP             51  runtime  transport  HPP        transport=sata                                                                                   false                        false                            0  pss=FIXED
MP             52  runtime  transport  NMP        transport=ide                                                                                    false                        false                            0
MP             53  runtime  transport  NMP        transport=block                                                                                  false                        false                            0
MP             54  runtime  transport  NMP        transport=unknown                                                                                false                        false                            0
MP            101  runtime  vendor     MASK_PATH  vendor=DELL model=Universal Xport pci_vendor_id=* pci_sub_vendor_id=*                            false                        false                            0
MP            101  file     vendor     MASK_PATH  vendor=DELL model=Universal Xport pci_vendor_id=* pci_sub_vendor_id=*                            false                        false                            0
MP          65531  runtime  transport  HPP        transport=sas                                                                                    false                        false                            0  pss=FIXED
MP          65532  runtime  transport  HPP        transport=parallel                                                                               false                        false                            0  pss=FIXED
MP          65533  runtime  transport  HPP        transport=pcie                                                                                   false                        false                            0  pss=FIXED
MP          65534  runtime  vendor     HPP        nvme_controller_model=* pci_vendor_id=* pci_sub_vendor_id=*                                      false                        false                            0
MP          65535  runtime  vendor     NMP        vendor=* model=* pci_vendor_id=* pci_sub_vendor_id=*                                             false                        false                            0

However, it is not necessary to define them as NMP. It can also be done directly with HPP.

 

esxcli storage hpp device set -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000 -M true

 

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-895AEB6D-58B7-4B4D...

 

[root@Esx01:~] esxcli storage hpp device usermarkedssd list
Device UID
----------
t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff900100000000

 

And:

 

[root@Esx01:~] esxcli storage core device list -d t10.ATA_____MARVELL_Raid_VD_________________________a3fc18dd5ff9001000000000 |grep -i ssd
   Is SSD: true

 

I hope this helps you too.

Best regards

View solution in original post

0 Kudos