ESXi enables you to tag devices as local. This is useful in cases where you are unable to determine whether certain SAS controllers are local or remote. This ability to tag devices can also be used in Stateless ESXi system configurations to autoformat local devices.

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.

Make sure that the device is claimed by VMW_SATP_LOCAL.

1

Identify the device to be tagged and its SATP.

esxcli storage nmp device list

The command results in the following information.

naa.6006016015301d00167ce6e2ddb3de11
Device Display Name: DGC Fibre Channel Disk (naa.6006016015301d00167ce6e2ddb3de11)
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

Add a PSA claim rule.

esxcli storage nmp satp rule add -s SATP --device device_name option="enable_local"

For example,

esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device naa.6006016042fa19010a12d9b16d6ade11 option="enable_local"
4

Unclaim the device.

esxcli storage core claiming unclaim --type device --device naa.6006016042fa19010a12d9b16d6ade11 
5

Reclaim the device by running the following commands.

esxcli storage core claimrule load
esxcli storage core claimrule run
6

Check the status by running the following command.

esxcli storage core device list -d device_name

The command output indicates whether the disk is remote or local.