Operation: get-lun |
|
|
The get-lun operation lists the available LUNs in the specified storage system, as well as their characteristics. This operation is helpful to get the characteristics and ID of a LUN that needs to be "mapped" to a new host. The table below describes the input properties for this request. If not specified, the valid value for an element should be assumed to be any string. Adapter Request Elements for 'get-lun' Operation
Sample Adapter Request for 'get-lun' Operation<emc-storage-request> <operation-name>get-lun</operation-name> <arguments> <argument> <storage-system-name/> <lun-name/> <raid-group/> <thin-pool/> </argument> </arguments> </emc-storage-request> Adapter Response Elements for 'get-lun' Operation
Sample Adapter Response for 'get-lun' Operation<emc-storage-response> <metadata> <status>success</status> <response-count>1</response-count> </metadata> <responses> <response> <metadata> <status>success</status> <execution-milliseconds>23088</execution-milliseconds> <line-count>3873</line-count> <lun-count>321</lun-count> <target>locke-2</target> <config-name>default</config-name> </metadata> <output> <luns> <lun> <lun-name>00000</lun-name> <lun-element-name>LUN 0</lun-element-name> <lun-type>Regular Device (LUN)</lun-type> <storage-system-name>CLARiiON+CKM00083900053</storage-system-name> <raid-level>RAID5</raid-level> <raid-group>0000</raid-group> <size-bytes>32212254720</size-bytes> <size-gigabytes>30</size-gigabytes> <consumed-capacity-bytes>32212254720</consumed-capacity-bytes> <consumed-capacity-gigabytes>30</consumed-capacity-gigabytes> <current-controller>SP_B</current-controller> <composite>yes</composite> <operational-status>2</operational-status> </lun> <lun> <lun-name>00002</lun-name> <lun-element-name>Volume 00002</lun-element-name> <lun-type>Reserved by the ComputerSystem (Vault)</lun-type> <storage-system-name>SYMMETRIX+000294901120</storage-system-name> <raid-level>Other RAID Level</raid-level> <raid-group>0002</raid-group> <size-bytes>5368709120</size-bytes> <size-gigabytes>5</size-gigabytes> <consumed-capacity-bytes>5368709120</consumed-capacity-bytes> <consumed-capacity-gigabytes>5</consumed-capacity-gigabytes> <composite>no</composite> <operational-status>2</operational-status> </lun> <lun> <lun-name>0009D</lun-name> <lun-element-name>Volume 0009D</lun-element-name> <lun-type>Data Device</lun-type> <storage-system-name>SYMMETRIX+000294901120</storage-system-name> <raid-level>RAID5</raid-level> <raid-group>0001</raid-group> <size-bytes>2147745792</size-bytes> <size-gigabytes>2</size-gigabytes> <consumed-capacity-bytes>2147745792</consumed-capacity-bytes> <consumed-capacity-gigabytes>2</consumed-capacity-gigabytes> <composite>no</composite> <operational-status>2</operational-status> </lun> <lun> <lun-name>0009C</lun-name> <lun-element-name>Volume 0009C</lun-element-name> <lun-type>Thin Device</lun-type> <storage-system-name>SYMMETRIX+000294901120</storage-system-name> <raid-level>RAID1</raid-level> <thin-pool>TestThinPool</thin-pool> <size-bytes>210370560</size-bytes> <size-gigabytes>0.196</size-gigabytes> <consumed-capacity-bytes>786432</consumed-capacity-bytes> <consumed-capacity-gigabytes>0.001</consumed-capacity-gigabytes> <composite>no</composite> <operational-status>2</operational-status> </lun> </luns> </output> </response> </responses> </emc-storage-response> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||