Resource /webmapi/luns/actionExpand | Collapse

APIs for logical storage volumes

Map a LUN to an initiator group
Description

Map a LUN to an initiator group

HTTP Example

PUT /webmapi/luns/action/map

Input

Pass input arguments in LunMapInputType

Output

Reports successful result in ResponseContentType<LunMapOutputType>

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LUN_MAP_LUN_NOT_FOUND27004LUN not found.
LUN_MAP_IGROUP_NOT_FOUND27005Initiator group not found.
LUN_MAP_LUN_ID_OUT_OF_RANGE27006Specified LUN ID is out of range (0 - 4095).
LUN_MAP_LUN_ALREADY_MAPPED_TO_IGROUP27007LUN is already mapped to the initiator group.
LUN_MAP_LUN_ID_IN_USE27008LUN ID is already used by this initiator group.
LUN_MAP_LUN_ALREADY_MAPPED27009Specified LUN is already mapped to an initiator(s) in the initiator group via another initiator group.
LUN_MAP_LUN_ID_COULD_NOT_BE_SELECTED27010Could 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_EXCEEDED27011LUN already mapped to the maximum number of initiator groups.
LUN_MAP_DISCARDED27014Internal error occurred and the operation was discarded. This is usually a transient error.
LUN_MAP_LUN_ID_IN_USE_VIA_OTHER_IGROUP27072Specified LUN ID is already used by an initiator(s) in the initiator group via another initiator group.
Produces

application/json

Consumes

application/json

Since

1.0

Rename a LUN
Description

Rename a LUN

HTTP Example

PUT /webmapi/luns/action/rename

Input

Pass input arguments in ResourceRenameInputType

Output

Reports successful result in ResponseContentType

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LUN_RENAME_LUN_NOT_FOUND27027LUN not found.
LUN_RENAME_EXISTS_LUN27028New name specified for this LUN is already in use by an existing LUN.
LUN_RENAME_DISCARDED27030Internal error occurred and the operation was discarded. This is usually a transient error.
Produces

application/json

Consumes

application/json

Since

1.0

Resize a LUN
Description

Resize a LUN

Only enlarging a LUN is allowed at this time.

HTTP Example

PUT /webmapi/luns/action/resize

Input

Pass input arguments in LunResizeInputType

Output

Reports successful result in ResponseContentType

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LUN_RESIZE_LUN_NOT_FOUND27015LUN not found.
LUN_RESIZE_DISCARDED27016Internal error occurred and the operation was discarded. This is usually a transient error.
LUN_RESIZE_SHRINK_NOT_SUPPORTED27017Only growing the LUN is allowed at this time.
LUN_RESIZE_MAX_SIZE_EXCEEDED27018New size exceeds maximum LUN size.
LUN_RESIZE_NO_CHANGE27019New size is the same as old LUN size.
LUN_RESIZE_LUN_RESIZE_FAILED27020Internal error resizing LUN.
LUN_RESIZE_LUN_NVFAILED27021LUN status is nvfail. Use lun modify command to clear nvfail status.
LUN_RESIZE_TOTAL_PROVISIONED_SPACE_EXCEEDED27073Creating this LUN would exceed the limit on provisioned space.
Produces

application/json

Consumes

application/json

Since

1.0

Un-map a LUN from an initiator group
Description

Un-map a LUN from an initiator group

HTTP Example

PUT /webmapi/luns/action/unmap

Input

Pass input arguments in LunUnmapInputType

Output

Reports successful result in ResponseContentType

Errors

Reports errors in ResponseContentType<ErrorType>

Error KeyError CodeError Description
LUN_UNMAP_LUN_NOT_FOUND27054LUN not found.
LUN_UNMAP_IGROUP_NOT_FOUND27055Initiator group not found.
LUN_UNMAP_LUN_NOT_MAPPED_TO_IGROUP27056LUN is not mapped to the specified initiator group.
LUN_UNMAP_BAD_PARAMS27057Internal parameter translation failed.
LUN_UNMAP_DISCARDED27058Internal error occurred and the operation was discarded. This is usually a transient error.
Produces

application/json

Consumes

application/json

Since

1.0