Skip to main content
Pure Technical Services

Determining Whether an ESXi LUN Supports SCSI UNMAP

Currently viewing public documentation. Please login to access the full scope of documentation.

esxcli storage core path list

This provides the naa number for esx luns:

fc.20000024ff272d2c:21000024ff272d2c-fc.20000024ff<wbr/>327e49:21000024ff327e49-naa.624a93707de700e947e46f<wbr/>9a00010014
 UID: fc.20000024ff272d2c:21000024ff272d2c-fc.20000024ff<wbr/>327e49:21000024ff327e49-naa.624a93707de700e947e46f<wbr/>9a00010014
 Runtime Name: vmhba3:C0:T2:L4
 Device: naa.624a93707de700e947e46f9a00010014
 Device Display Name: PURE Fibre Channel Disk (naa.624a93707de700e947e46f9a00010014)
 Adapter: vmhba3
 Channel: 0
 Target: 2
 LUN: 4
 Plugin: NMP
 State: dead
 Transport: fc
 Adapter Identifier: fc.20000024ff272d2c:21000024ff272d2c
 Target Identifier: fc.20000024ff327e49:21000024ff327e49
 Adapter Transport Details: Unavailable or path is unclaimed
 Target Transport Details: Unavailable or path is unclaimed

use the "Device" line with naa to get the naa number.

Then this command to query the LUN:

esxcli storage core device vaai status get -d naa.624a93707de700e947e46f9a00010014
/vmfs/volumes/4f9b10dd-1f84b6ee-ec11-002590200227 # esxcli storage core device vaai status get -d naa.624a93707de700e947e46f9a00010014
naa.624a93707de700e947e46f9a00010014
 VAAI Plugin Name: 
 ATS Status: supported
 Clone Status: unsupported
 Zero Status: supported
 Delete Status: supported