Table 69 VLUN Creation Error Codes (continued)
DescriptionHTTP CodeAPI Error
Since WSAPI 1.2.
Missing volumeName or LUN or both hostname and
portPos members.
400 Bad
Request
INV_INPUT
Incomplete port info, specifying override option without
hostname.
Specified volume does not exist.404 Not foundNON_EXISTENT_VOL
Specified hostname not found.404 Not foundNON_EXISTENT_HOST
Specified port does not exist.404 Not foundNON_EXISTENT_PORT
(Since WSAPI 1.2)
Missing both hostname and portPos for VLUN
creation.
400 Bad
Request
MISSING_VLUN_EXPORT_INFO
Specified port is of invalid port type.404 Not foundBAD_PORT_TYPE
LUN already exists.409 ConflictEXISTENT_LUN
Incorrect portPos specification or the node or slot or
cardPort in portPos object maybe out of range.
400 Bad
Request
INV_INPUT_PORT_SPECIFICATION
OverrideLowerPriority is being specified without
hostname.
400 Bad
Request
INV_INPUT_PARAM_CONFLICT
LUN is greater than 16384.400 Bad
Request
TOO_LARGE
LUN ID cannot be assigned within the specified range.409 ConflictAUTO_LUN_ID_UNAVAILABLE
(Since WSAPI 1.2)
LUN number and the host persona capability conflict.409 ConflictLUN_HOSTPERSONA_CONFLICT
LUN_HOSTPERSONA_CONFLICT
(Since WSAPI 1.2)
Volume is a target of physical copy.409 ConflictINV_OPERATION_VLUN_PCOPY_TARGET_VV
VLUN Creation Example
The following example creates a matched VLUN type template for test_vv02 volume.
HTTP Request
POST /api/v1/vluns HTTP/1.1
Host: storsys1.example.com:8080
Accept: application/json
Content-Type: application/json
X-HP3PAR-WSAPI-SessionKey: 2-33fe8891e288b34b3f914410e7cc7907-a93d1c50
{
"volumeName":"test_vv02",
"lun":252,
"hostname":"mysystem",
"portPos":{
"node": 2,
"slot": 2,
"cardPort": 4
},
"noVcn":false,
Creating a VLUN 71