Hello Richard
Thank you for your time , i am trying to mask by transport iscsi protocol for specific LUN, i tried your command below as follow:
by esxcli storage core path list
iqn.1998-01.com.vmware:esxi03-32fc0648-00023d000007,iqn.2006-01.com.openfiler:tsn.904062595734,t,1-t10.F405E46494C45425A59347A6A5C6D213A57403D2E497A6A4
UID: iqn.1998-01.com.vmware:esxi03-32fc0648-00023d000007,iqn.2006-01.com.openfiler:tsn.904062595734,t,1-t10.F405E46494C45425A59347A6A5C6D213A57403D2E497A6 A4
Runtime Name: vmhba33:C0:T0:L2
Device: t10.F405E46494C45425A59347A6A5C6D213A57403D2E497A6A4
Device Display Name: OPNFILER iSCSI Disk (t10.F405E46494C45425A59347A6A5C6D213A57403D2E497A6A4)
Adapter: vmhba33
Channel: 0
Target: 0
LUN: 2
Plugin: NMP
State: active
Transport: iscsi
Adapter Identifier: iqn.1998-01.com.vmware:esxi03-32fc0648
Target Identifier: 00023d000007,iqn.2006-01.com.openfiler:tsn.904062595734,t,1
Adapter Transport Details: iqn.1998-01.com.vmware:esxi03-32fc0648
Target Transport Details: IQN=iqn.2006-01.com.openfiler:tsn.904062595734 Alias= Session=00023d000007 PortalTag=1
Maximum IO Size: 131072
So executed:
esxcli storage core claimrule add -r 110 -P MASK_PATH -t target -R iscsi --iqn iqn.2006-01.com.openfiler:tsn.904062595734 --lun 2
load run scan , but LUN didn't go
in the command example they show it like that:
Add rule #429 to claim paths to LUN 5 provided by iSCSI Target on given IQN.
# esxcli storage core claimrule add -r 429 -P NMP -t target -R iscsi --iqn iqn.2001-04.com.example:storage.disk2.sys1.xyz --lun 5
So i tried the plugin of NMP
esxcli storage core claimrule add -r 210 -P NMP -t target -R iscsi --iqn iqn.2006-01.com.openfiler:tsn.904062595734 --lun 2
esxcli storage core claimrule load
esxcli storage core claimrule run
esxcli storage core adapter rescan --all
but still it is there , I am using openfiler , ,is there any specific issues to mask its LUNs ?