ESXi enables you to tag devices as local. This is useful in cases when ESXi is unable to determine whether certain SAS devices are local or remote.

Before you begin

  • Make sure that the device is not shared.

  • Power off virtual machines that reside on the device and unmount an associated datastore.

About this task

For more information about the commands listed in this topic, see the Getting Started with vSphere Command-Line Interfaces and vSphere Command-Line Interface Concepts and Examples documentation.

Procedure

  1. Identify the device to be tagged and its SATP:
    esxcli storage nmp device list

    You might see the output similar to the following:

    naa.000000000000000001234
    Device Display Name: DGC Fibre Channel Disk (naa.000000000000000001234)
    Storage Array Type: VMW_SATP_CX
    Storage Array Type Device Config: {navireg ipfilter}
    Path Selection Policy: VMW_PSP_MRU
    Path Selection Policy Device Config: Current Path=vmhba4:C0:T0:L25
    Working Paths: vmhba4:C0:T0:L25
  2. Note down the SATP associated with the device.
  3. Run this command to add a PSA claim rule that marks the devices as local. Use the SATP associated with the device from the output in 1.
    esxcli storage nmp satp rule add -s SATP_name --device device_name --option="enable_local"

    For example,

    esxcli storage nmp satp rule add -s VMW_SATP_CX --device naa.000000000000000001234 --option="enable_local"
  4. Reclaim the device. For example,
    esxcli storage core claiming reclaim --device naa.000000000000000001234 
  5. Check the status by running the following command:
    esxcli storage core device list -d device_name

    The command output indicates that the disk is local.

    Is Local: true