Creates and adds a new pool to the StorMan repository. The pool is defined for a specific storage system already contained in the repository.
After completing the –add
function, the new pool is created and empty; it contains no logical volumes.
Syntax
|
Parameters
–poolid poolid
Specifies the ID of the pool. This parameter is mandatory.
Refer to the common description of ”poolid” in chapter "Common supported value ranges".
The pool ID must be unique and is internally not case-sensitive. If the pool ID already exists in the repository, the command is rejected.
–system system
Specifies the system name of the storage system that contains the pool. If the specified storage system is not contained in the repository, the command is rejected.
This parameter is mandatory.
–connectparam
Refer to the description of the "Connection parameters".
Return codes
Error Code | Name | Error Type |
0 |
| Function successful |
3 |
| Version not supported |
7 |
| Specified parameters invalid |
13 |
| Error in StorMan communication between client and server |
16 |
| Unexpected error in function |
18 |
| Matching object could not be provided |
19 |
| Pool ID is in use |
20 |
| Object already exists in the repository |
36 |
| User / password for StorMan not valid |