Table 69 VLUN Creation Error Codes (continued)
API Error
INV_INPUT
NON_EXISTENT_VOL
NON_EXISTENT_HOST
NON_EXISTENT_PORT
MISSING_VLUN_EXPORT_INFO
BAD_PORT_TYPE
EXISTENT_LUN
INV_INPUT_PORT_SPECIFICATION
INV_INPUT_PARAM_CONFLICT
TOO_LARGE
AUTO_LUN_ID_UNAVAILABLE
LUN_HOSTPERSONA_CONFLICT
LUN_HOSTPERSONA_CONFLICT
INV_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,
HTTP Code
Description
Since WSAPI 1.2.
Missing volumeName or LUN or both hostname and
400 Bad
portPos members.
Request
Incomplete port info, specifying override option without
hostname.
Specified volume does not exist.
404 Not found
Specified hostname not found.
404 Not found
Specified port does not exist.
404 Not found
(Since WSAPI 1.2)
Missing both hostname and portPos for VLUN
400 Bad
creation.
Request
Specified port is of invalid port type.
404 Not found
LUN already exists.
409 Conflict
Incorrect portPos specification or the node or slot or
400 Bad
cardPort in portPos object maybe out of range.
Request
OverrideLowerPriority is being specified without
400 Bad
Request
hostname.
LUN is greater than 16384.
400 Bad
Request
LUN ID cannot be assigned within the specified range.
409 Conflict
(Since WSAPI 1.2)
LUN number and the host persona capability conflict.
409 Conflict
(Since WSAPI 1.2)
Volume is a target of physical copy.
409 Conflict
Creating a VLUN
71