Adapter request and response for find-lun-info operation
The find-lun operation finds logical unit number (LUN) details. This can be used for searching either of the following:
- Details of ALL luns
- Details of a specific lun
The following table describes the elements for this request.
Adapter request elements for find-lun-info operation
A sample adapter request for this operation is given in the following figure.
Sample adapter request for find-lun-info operation
<netapp-storage-request>
<operation-name>find-lun-info</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<target-host>Filer1</target-host>
<path>/vol/GL_DEV_SAN_PLATINUM_24/lun1/lun1</path>
</arguments>
</netapp-storage-request>
<operation-name>find-lun-info</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<target-host>Filer1</target-host>
<path>/vol/GL_DEV_SAN_PLATINUM_24/lun1/lun1</path>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for find-lun-info operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>2</count>
</metadata>
<output>
<are-vols-onlining>false</are-vols-onlining>
<luns>
<lun-info>
<path>/vol/GL_DEV_SAN_PLATINUM_24/lun1/lun1</path>
<size>41126400</size>
<online>true</online>
<mapped>false</mapped>
<read-only>false</read-only>
<staging>false</staging>
<share-state>none</share-state>
<multiprotocol-type>windows</multiprotocol-type>
<uuid>d21b5f50-8a79-11df-a2ae-0050561ba0f6</uuid>
<serial-number>nBOOBoXfKMNC</serial-number>
<block-size>512</block-size>
<is-space-reservation-enabled>false</is-space-reservation-enabled>
<size-used>0</size-used>
</lun-info>
</luns>
</output>
</response>
</responses>
</netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>2</count>
</metadata>
<output>
<are-vols-onlining>false</are-vols-onlining>
<luns>
<lun-info>
<path>/vol/GL_DEV_SAN_PLATINUM_24/lun1/lun1</path>
<size>41126400</size>
<online>true</online>
<mapped>false</mapped>
<read-only>false</read-only>
<staging>false</staging>
<share-state>none</share-state>
<multiprotocol-type>windows</multiprotocol-type>
<uuid>d21b5f50-8a79-11df-a2ae-0050561ba0f6</uuid>
<serial-number>nBOOBoXfKMNC</serial-number>
<block-size>512</block-size>
<is-space-reservation-enabled>false</is-space-reservation-enabled>
<size-used>0</size-used>
</lun-info>
</luns>
</output>
</response>
</responses>
</netapp-storage-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*