Map a LUN to an initiator group
PUT /webmapi/luns/action/map
Pass input arguments in LunMapInputType
Reports successful result in ResponseContentType<LunMapOutputType>
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_MAP_LUN_NOT_FOUND | 27004 | LUN not found. |
| LUN_MAP_IGROUP_NOT_FOUND | 27005 | Initiator group not found. |
| LUN_MAP_LUN_ID_OUT_OF_RANGE | 27006 | Specified LUN ID is out of range (0 - 4095). |
| LUN_MAP_LUN_ALREADY_MAPPED_TO_IGROUP | 27007 | LUN is already mapped to the initiator group. |
| LUN_MAP_LUN_ID_IN_USE | 27008 | LUN ID is already used by this initiator group. |
| LUN_MAP_LUN_ALREADY_MAPPED | 27009 | Specified LUN is already mapped to an initiator(s) in the initiator group via another initiator group. |
| LUN_MAP_LUN_ID_COULD_NOT_BE_SELECTED | 27010 | Could not find an available LUN ID from 0-4095 to use -- all have been taken by initiators in the initiator group. |
| LUN_MAP_LUN_MAP_LIMIT_EXCEEDED | 27011 | LUN already mapped to the maximum number of initiator groups. |
| LUN_MAP_DISCARDED | 27014 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_MAP_LUN_ID_IN_USE_VIA_OTHER_IGROUP | 27072 | Specified LUN ID is already used by an initiator(s) in the initiator group via another initiator group. |
application/json
application/json
1.0
Rename a LUN
PUT /webmapi/luns/action/rename
Pass input arguments in ResourceRenameInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_RENAME_LUN_NOT_FOUND | 27027 | LUN not found. |
| LUN_RENAME_EXISTS_LUN | 27028 | New name specified for this LUN is already in use by an existing LUN. |
| LUN_RENAME_DISCARDED | 27030 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
Resize a LUN
Only enlarging a LUN is allowed at this time.
PUT /webmapi/luns/action/resize
Pass input arguments in LunResizeInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_RESIZE_LUN_NOT_FOUND | 27015 | LUN not found. |
| LUN_RESIZE_DISCARDED | 27016 | Internal error occurred and the operation was discarded. This is usually a transient error. |
| LUN_RESIZE_SHRINK_NOT_SUPPORTED | 27017 | Only growing the LUN is allowed at this time. |
| LUN_RESIZE_MAX_SIZE_EXCEEDED | 27018 | New size exceeds maximum LUN size. |
| LUN_RESIZE_NO_CHANGE | 27019 | New size is the same as old LUN size. |
| LUN_RESIZE_LUN_RESIZE_FAILED | 27020 | Internal error resizing LUN. |
| LUN_RESIZE_LUN_NVFAILED | 27021 | LUN status is nvfail. Use lun modify command to clear nvfail status. |
| LUN_RESIZE_TOTAL_PROVISIONED_SPACE_EXCEEDED | 27073 | Creating this LUN would exceed the limit on provisioned space. |
application/json
application/json
1.0
Un-map a LUN from an initiator group
PUT /webmapi/luns/action/unmap
Pass input arguments in LunUnmapInputType
Reports successful result in ResponseContentType
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| LUN_UNMAP_LUN_NOT_FOUND | 27054 | LUN not found. |
| LUN_UNMAP_IGROUP_NOT_FOUND | 27055 | Initiator group not found. |
| LUN_UNMAP_LUN_NOT_MAPPED_TO_IGROUP | 27056 | LUN is not mapped to the specified initiator group. |
| LUN_UNMAP_BAD_PARAMS | 27057 | Internal parameter translation failed. |
| LUN_UNMAP_DISCARDED | 27058 | Internal error occurred and the operation was discarded. This is usually a transient error. |
application/json
application/json
1.0
APIs for logical storage volumes