Returns information about the object ID, which can be a physical device or a RAID device (RAID 0, RAID 1, and RAID 5).
<getDeviceInfo3 value =" "/> <objectID/> </getDeviceInfo3>
NOTE:The current implementation of this command is capable of returning the details for only 32 devices at a time. If you specify more than 32 devices in the "LIST" option or use "ALL" when there are more than 32 devices, the command returns an error.
<getDeviceInfo3> <deviceInfo> <name/> <objectID/> <type/> <size/> <freeSize/> <majorVersion/> <minorVersion/> <partitions> <partition> <partitionID/> <partitionType/> <mountPoint/> <hasSYS/> <bootable/> </partition> </partitions> <multiPath/> <shared/> <deviceRAID> <raidType/> <elementSize/> <elementCount/> <stripeSize/> <restripeFlag/> <restripeEnabled/> <segmentInfo> <numSegments/> <segment> <mirrorPercent/> <deviceName/> <segmentName/> <deviceID/> <segmentID/> </segment> </segmentInfo> </deviceRAID> <mirrored/> <deviceMirror> <mirrorGroupStatus/> <mirrorGroupPercent/> <numMirrors/> <remirrorEnabled/> <mirrorInfo> <segment> <mirrorPercent/> <deviceName/> <segmentName/> <deviceID/> <segmentID/> </segment> </mirrorInfo> </deviceMirror> <result value=” “> <description/> </result> </deviceInfo> </getDeviceInfo3>
Specifies the device object name.
Specifies the information of the device.
Specifies the name of the device assigned by Media Manager.
(Optional) Specifies the RAID type of the device assigned by Media Manager.
Specifies the total size of the object in bytes.
Specifies the object's available size in bytes.
Specifies the major number of the device.
Specifies the minor number of the device.
Repeats for each partition on the device.
Specifies the partition object name.
(Required) Specifies the following type of the partition:
Specifies the partition's mount point.
(Optional) Specifies that the partition contains the SYS pool.
Specifies that the partition contains the boot partition.
(Optional) Specifies that the device has multipath.
(Optional) Specifies that the device is shared.
Specifies the RAID type: 0, 1, or 5.
Specifies the size in bytes.
(Required) If deviceRAID is used, specifies the number of segments that are present. If raidType is 5 and elementCount equals the numSegments, one segment can be deleted.
Specifies the size in bytes.
Specifies if the restripe is enabled.
Specifies the number of segments in the RAID. If raidType is 1 (mirroring) and numSegments is greater than one, segments can be deleted (down to one remaining segment).
Repeats for each segment (partition) that makes up the RAID device.
Specifies the segment's (or mirror segment's) device name. If there's a missing segment in a mirror device, no information is returned for deviceName and deviceID.
(Optional) If exists, specifies the device is a RAID device.
(Optional) For RAID 1 devices only.
(Optional) For RAID 1 devices only. If there's a missing segment in a mirror device, the missing segment name is returned as missing_raid1_1.
Specifies if re-mirroring is enabled.
Specifies if the mirror segment is active:
Specifies the status of the mirror segment:
Specifies the result value only if the data for the device is not retrieved. It also shows the complete error information along with the result value.
Specifies the information of all the queried object IDs in the sequential order.
Specify “ALL” or “LIST” based on your requirement. If you give “ALL”, you get the information of all the object IDs, maximum up to 32 object IDs only at a time. If you give “LIST”, you get the information of the specified object IDs. You can select maximum up to 32 object IDs at a time.
An example for the LIST option is as follows:
<nssRequest> <device> <getDeviceInfo3 value="LIST"> <objectID>sdb</objectID> <objectID>sdc</objectID> </getDeviceInfo3> </device> </nssRequest>
<nssReply> <device> <getDeviceInfo3> <deviceInfo> <name>sdb</name> <objectID>sdb</objectID> <majorVersion>8</majorVersion> <minorVersion>16</minorVersion> <type>0</type> <size>5368709120</size> <freeSize>4850696192</freeSize> <partitions> <partition> <partitionID>sdb1.1</partitionID> <partitionType>105</partitionType> <mountPoint>/opt/novell/nss/mnt/.pools/AC</mountPoint> </partition> <partition> <partitionID>sdb1.2</partitionID> <partitionType>105</partitionType> <mountPoint>/opt/novell/nss/mnt/.pools/AB</mountPoint> </partition> </partitions> </deviceInfo> <deviceInfo> <name>sdc</name> <objectID>sdc</objectID> <majorVersion>8</majorVersion> <minorVersion>32</minorVersion> <type>0</type> <size>1073741824</size> <freeSize>1073725440</freeSize> <partitions> <partition> <partitionID>sdc_freespace1</partitionID> <partitionType>0</partitionType> </partition> </partitions> </deviceInfo> </getDeviceInfo3> </device> <result value="0"><description>zOK</description></result> </nssReply>