Unable to remove a SATP rule
search cancel

Unable to remove a SATP rule

book

Article ID: 374164

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Unable to remove a 'system' defined rule
  • Unable to remove a 'user' defined rule
    Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.

 

Environment

  • ESXi 7.0.x

Cause

  • It is not possible to remove a 'system' defined rule
  • We can remove a 'user' defined rule but we need to ensure we specify all parameters.

Resolution

  • If 'system' defined rule default rule is not sufficient create a new 'user' defined rule and this 'user' defined rule will take precedence.
  • To add a 'user' defined rule  Define NMP SATP Rules
    #esxcli storage nmp satp rule add -c tpgs_on -M "model" -P VMW_PSP_RR -o iops=1 -s VMW_SATP_ALUA -V vendor -o disable_action_OnRetryErrors
  • To remove this 'user' defined rule
    #esxcli storage nmp satp rule remove -c tpgs_on -M "model" -P VMW_PSP_RR -o iops=1 -s VMW_SATP_ALUA -V vendor -o disable_action_OnRetryErrors