VMware Cloud Community
fsosson
Contributor
Contributor

Flash read cache config question

Hello,

I would configure flash read cache on one of my ESXi 6u2 hosts.  First, I made sure my local disk is SSD enabled :

mstsc_2016-04-08_18-02-27.png

Second, if I want to add capacity the list is empty :

mstsc_2016-04-08_18-05-25.png

Can you please enlighten me on this?

Thanks,

Regards,

Fred

0 Kudos
20 Replies
Finikiez
Champion
Champion

Hi!

Check if there is any partition on the disk using 'partedUtil getptbl' command.

If there is one delete it.

0 Kudos
fsosson
Contributor
Contributor

Hi Finikiez,

Thanks for your answer.  When I run: partedUtil getptbl "/vmfs/devices/disks/naa.600508b1001ca7c4c3ab178746a17f00" command hangs and does not give the shell back

putty_2016-04-11_14-03-27.png

I have tried the other option, they crash as well.  According to HP iLO the disks is going well.

Any idea ?

Fred

0 Kudos
fsosson
Contributor
Contributor

After a while, I got this error message:

putty_2016-04-11_14-10-53.png

I am still investigating ...

Regards,

0 Kudos
Finikiez
Champion
Champion

Input\output erros mean that there are some issues accessing the disk.

I would recommend to check vmkernel.log

Also be sure that you have the latest FW installed on your local controller.

0 Kudos
fsosson
Contributor
Contributor

I updated local disk controller (HP Smart Array P410i Controller) firmware, this was just a minor upgrade (6.64 to 6.65).

Unfortunately it did not help Smiley Sad.  Here is vmkernel.log output :

putty_2016-04-12_14-12-35.png

What is strange is I can access the disk with a Linux live CD, I used parted command to delete partitions without any issue.

0 Kudos
Finikiez
Champion
Champion

H:0x1 status means - No connect.

This status is returned if the connection is lost to the LUN. This can occur if the LUN is no longer visible to the host from the array side or if the physical connection to the array has been removed.

VMware KB: Understanding SCSI host-side NMP errors/conditions in ESX 4.x and ESXi 5.x

is it properly seated?

Does SSD have the latest FW?

Anyway this is not an ESXi issue, this is something about the device or FW.

I would also advise to check if you have actual hpsa driver on this ESXi host.

0 Kudos
Finikiez
Champion
Champion

But maybe I'm wrong.

What was the command you used to mar the device as SSD?

Did you just copied from the KB VMware KB: Enabling the SSD option on SSD based disks/LUNs that are not detected as SSD by default ?

If so, you attached the wrong SATP rule for your device, as it shouldn't be like VMW_SATP_CX (which is notcied in vmkernel logs)

0 Kudos
fsosson
Contributor
Contributor

For information, firmware and driver are up to date.

I ran: esxcli storage nmp satp rule add --satp=VMW_SATP_CX --device naa.600508b1001ca7c4c3ab178746a17f00 --option "enable_ssd"

When I ran: esxcli storage nmp satp rule add --satp=VMW_SATP_LOCAL --device naa.600508b1001ca7c4c3ab178746a17f00 --option "enable_local enable_ssd" it throws this error message:

     Error adding SATP user rule: Sysinfo error on operation returned status : Bad parameter. Please see the VMkernel log for detailed error information


Here is vmkernel.log output :
putty_2016-04-12_15-04-46.png

What should I check at 'rule' level?


0 Kudos
Finikiez
Champion
Champion

You need to use default SATP rule for the device.

This is the first step in KB to check the current SATP rule and use it further.

Currently you need to unclaim the device using 'esxcli storage core claiming unclaim

Then delete created SATP rule esxcli storage nmp satp rule remove

Then reboot your host and repeat steps from KB.

1. Figure our SATP rule 'esxcli storage nmp device list -d naa.id'

2. Using this SATP add satp rule esxcli storage nmp satp rule add --satp=SATP_TYPE --device naa.6006016015301d00167ce6e2ddb3de11 --option "enable_ssd"

where SATP_TYPE is what you got from step 1.

And do all other steps from KB VMware KB: Enabling the SSD option on SSD based disks/LUNs that are not detected as SSD by default

0 Kudos
fsosson
Contributor
Contributor

As soon as I want to remove the existing rule like this, this error message pops in:

putty_2016-04-12_17-15-26.png

This makes me think that there is something wrong somewhere else.

0 Kudos
Finikiez
Champion
Champion

Your device is claimed using vmw_satp_cx rule,in your command you used vmw_satp_local.

0 Kudos
fsosson
Contributor
Contributor

sure, I cleaned up everyhting and ran again steps from https://kb.vmware.com/kb/2013188 but 'Add Virtual Flash Resource Capacity' from web GUI is still unfortunately empty.

mstsc_2016-04-13_11-06-24.png


partedUtil command still displays same error message:

mstsc_2016-04-13_11-04-19.png



0 Kudos
Finikiez
Champion
Champion

just to be sure,

could you paste output from the command

esxcli storage nmp device list -d naa.600508b1001ca7c4c3ab178746a17f00

0 Kudos
fsosson
Contributor
Contributor

certainly, please:

mstsc_2016-04-13_14-44-48.png

0 Kudos
Finikiez
Champion
Champion

Thanks!

You see that SATP rule is VMW_SATP_CX. However this is SATP rule for EMC Clariion. This can causes the issue.

If you can, I would recommend to reinstall ESXi host just to revert all changes. Then start again the process marking the device as SSD.

First after reinstall we need to check the correct SATP rule by running command

esxcli storage nmp device list -d naa.600508b1001ca7c4c3ab178746a17f00


This will let us know for which SATP rulle we should add option 'enable_ssd'

0 Kudos
fsosson
Contributor
Contributor

don't you think I can change that without reinstalling ESXi ?

0 Kudos
Finikiez
Champion
Champion

Of course you can.

But when you revert settings and claim your ssd device with correct SATP rule, repeat steps to mark is as ssd and use _correct_ SATP .

If you get an error, post it here so we could check it.

0 Kudos
fsosson
Contributor
Contributor

same message like before

mstsc_2016-04-18_11-23-51.png

it's like there is a hardware issue but I see the problem on another ESXi host (same hardware), it's HP ProLiant BL460c G7

0 Kudos
Finikiez
Champion
Champion

Could you check current SATP rule for the device

esxcli storage nmp device list -d naa.600508b1001ca7c4c3ab178746a17f00


If it's still VMW_SATP_CX your command won't work.

0 Kudos