Quantcast
Channel: VMware Communities: Message List - vSphere™ Storage
Viewing all articles
Browse latest Browse all 5826

Re: Can't create claim storage transport rule !!

$
0
0

A little unsure here if you are trying to mask all paths from a specific vendor, or if you are trying to mask specific paths.

 

if its a vendor you can do the following:

 

esxcli storage vmfs extent list

grab the naa, t10. or eui. VMFS uuid

esxcli storage core device list -d "uuid from above"

 

This should then give you information like:

 

esxcli storage core device list -d naa.600140541fe494bddcfcd369dd8cfdd2

naa.600140541fe494bddcfcd369dd8cfdd2

   Display Name: SYNOLOGY iSCSI Disk (naa.600140541fe494bddcfcd369dd8cfdd2)

   Has Settable Display Name: true

   Size: 854528

   Device Type: Direct-Access

   Multipath Plugin: NMP

   Devfs Path: /vmfs/devices/disks/naa.600140541fe494bddcfcd369dd8cfdd2

   Vendor: SYNOLOGY

   Model: iSCSI Storage

   Revision: 3.1

   SCSI Level: 5

   Is Pseudo: false

   Status: on

   Is RDM Capable: true

   Is Local: false

   Is Removable: false

   Is SSD: true

   Is Offline: false

   Is Perennially Reserved: false

   Queue Full Sample Size: 0

   Queue Full Threshold: 0

   Thin Provisioning Status: unknown

   Attached Filters:

   VAAI Status: unknown

   Other UIDs: vml.0200000000600140541fe494bddcfcd369dd8cfdd2695343534920

   Is Local SAS Device: false

   Is Boot USB Device: false

   No of outstanding IOs with competing worlds: 32

 

Then you could mask the path based on the Vendor and Model lines, SYNOLOGY and iSCSI Storage in the above example so:

 

esxcli storage coreclaimrule add -r 101 -t vendor -V SYNOLOGY -M iSCSI Storage -P MASK_PATH

*Above iSCSI Storage may need to be in quotes, i haven't created the rule to test"

 

Load, run rescan.

 

If i wanted to MASK the iscsi iqn then i would do:

 

esxcli storage core path list

 

grab the iqn.

for me thats

Target Transport Details: IQN=iqn.2000-01.com.synology:DiskStation.Target-1.9668f3fdb0

 

so,

esxcli storage core claim rule add -r 101 -P MASK_PATH -t target -R iscsi --iqn iqn.2000-01.com.synology:DiskStation.Target-1.9668f3fdb0 --lun x

 

Load, run rescan.

 

btw i have used 101 rule number in my examples, change that as it will already exist.

 

let me know how you get on.

 

R


Viewing all articles
Browse latest Browse all 5826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>