Displays information related to pools.
Syntax
|
Parameters
–poolid poolid
Specifies the ID of the pool (default: *). Wildcards (*) are supported.
–system system
Specifies the system name of the storage system (default: *).
Wildcards (*) are supported.
–model model
Selects by the model of the storage system.
Supported values: eternus
| any
(default).
–format format
Specifies the output format. Refer to the description of the "Format parameter".
–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 |
36 |
| User / password for StorMan not valid |
Examples
Output for pools with
–format std
(default)storcfg pool –show –poolid test
pool ID = test storage system name = 4621347002 storage vendor = FUJITSU storage model = ETERNUS DX
Output for pools with
–format medium
storcfg pool –show –poolid test -format medium
test storage=4621347002
Output for pools with
–format xmlp
storcfg pool –show –poolid SHC-OSD* -format xmlp
<Response> <ReturnCode> <Code>STORMAN_OK</Code> <CodeNumber>0</CodeNumber> <Text>successful</Text> <SubCode>0</SubCode> <SubCodeText>STORMAN_SUB_NONE</SubCodeText> <AdditionalInformation/> <MessageID>290</MessageID> <ConnectionID>55536A4721098</ConnectionID> </ReturnCode> <Result> <PoolDescriptions> <PoolDescription> <PoolID>test</PoolID> <StorageSystemName>4621347002</StorageSystemName> <StorageVendor>STORMAN_STORAGE_VENDOR_FUJITSU</StorageVendor> <StorageModel>STORMAN_STORAGE_MODEL_ETERNUS</StorageModel> <StorageFeatures>29694</StorageFeatures> <IsActionAllowed>true</IsActionAllowed> <IsActionAllowed4Volumes>true</IsActionAllowed4Volumes> <HaveVolumesWithCustomProperties>false</HaveVolumesWithCustomProperties> <NumVolumes>2567</NumVolumes> <NumPossibleTargetVolumes>756</NumPossibleTargetVolumes> <NumPossibleTargetSnaps>123</NumPossibleTargetSnaps> </PoolDescription> </PoolDescriptions> </Result> </Response>