Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Changing the default pathing policy for new/existing LUNs (1017760)

Purpose

This article provides steps to configure the default pathing policy for newly defined LUNs via the ESX host terminal.

For more information on changing the multipathing policy of existing LUNs, see Modifying path information for ESXi/ESX hosts (2000552).

Resolution

To change the default path selection policy for any new storage for a Storage Array Type Plug-in (SATP):
  1. Log into the ESXi/ESX host.

    For more information, see:


  2. To check the existing path selection policy:

    In ESXi 5.x:

    Run one of these commands:

    # esxcfg-info | grep -A1 "Default Path Selection Policy"
    # esxcli storage nmp satp list


    In ESXi/ESX 4.x:

    # esxcli nmp satp list

  3. Run this command to change the default pathing policy:

    In ESXi 5.x:

    # esxcli storage nmp satp set --default-psp=policy --satp=your_SATP_name

    In ESXi/ESX 4.x:

    # esxcli nmp satp setdefaultpsp --psp policy --satp your_SATP_name

    Where policy is:

    • VMW_PSP_MRU for Most Recently Used mode
    • VMW_PSP_FIXED for Fixed mode
    • VMW_PSP_RR for Round Robin mode

  4. Reboot the ESXi/ESX host to apply the changes.
To get the current SATP, use one of these options:

Note: By default, VMware ESX uses the recommended failover path policy for the storage array connected. If the configured policy is not listed for the SAN array's entry in the Hardware Compatibility List, you may experience problems.

Warning: Changing the default pathing policy for a specific SATP when there are multiple storage arrays using the same plug-in can cause other issues, such as incorrect pathing policies and unexpected storage failover results.



Additional Information

For more information on:
For for information on ESXi 5.5, see the VMware vSphere 5.5 Documentation Center

Tags

lun-paths

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 18 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 18 Ratings
Actions
KB: