Creating tdevs and masking them to hosts (storage groups in a masking view) is relatively easy in the Unisphere for VMAX interface, but what if you add a few tdevs of exactly the same size and you want to make sure that the VMware administrator uses the right LUN for each VMFS he’s going to create? One way to make sure he knows which LUN corresponds with what tdev is the Host LUN id. To list the host LUN ids
symaccess -sid 1234 show view mv_some-maskingview-name
or (a bit more verbose)
symaccess -sid 1234 list view -name mv_some-maskingview-name -detail
The second command shows each initiator group nested within other initiator groups as well.
Both generate a table with the following headers:
Dev Dir:Port Physical Device Name Lun Attr Cap(MB)
The column under “Host Lun” shows the Host LUN ids.