dump ecginfo
Indicates whether rebuild is in progress for a container from CLDB.
Syntax
- CLI
-
maprcli dump ecginfo -h dump ecginfo [ -cluster cluster_name ] -ids ids
NOTEFor best results, use the-json
option from the command line. - REST
- N/A
Parameters
Parameter |
Description |
---|---|
cluster |
The cluster on which to run the command. If this parameter is omitted, the command is run on the same cluster where it is issued. In multi-cluster contexts, you can use this parameter to specify a different cluster on which to run the command. |
|
The container gateway ID to use to retrieve rebuild information. |
Output fields
Field |
Description |
---|---|
ContainerID |
The unique ID number for the container. |
Epoch |
A sequence number that indicates the most recent copy of the container. The CLDB uses the epoch to ensure that an out-of-date copy cannot become the master for the container. |
Master |
The physical IP address and port number of the master copy. The master copy is part of the original copy of the volume. |
ActiveServers |
The physical IP address and port number of each active node on which the container resides. |
InactiveServers |
The physical IP address and port number of each inactive node on which the container resides. |
UnusedServers |
The physical IP address and port number of servers from which no "heartbeat" has been received for quite some time. |
OwnedSizeMB |
The size on disk (in MB) dedicated to the container. |
SharedSizeMB |
The size on disk (in MB) shared by the container. |
LogicalSizeMB |
The logical size on disk (in MB) of the container. |
TotalSizeMB |
The total size on disk (in MB) allocated to the container. Combines the Owned Size and Shared Size. |
NumInodesInUse | The total number of inodes that this container occupies. |
Mtime |
The time of the last modification to the contents of the container. |
NameContainer |
Indicates if the container is the name container for the volume.
If |
ecCgId | The gateway ID of this container. |
isRebuildInProgress |
|
CreatorContainerId | ID for the container. |
CreatorVolumeUuid |
ID that supports the container chain identification for mirroring. The creatorcontainerid and creatorvolumeuuid fields combined form a unique identifier for the container chain. |
UseActualCreatorId |
Value can be true or false. ID of the user who created the container. |
Example
- CLI
-
maprcli dump ecginfo -ids <cgid> -json
Output Samples
The following command returns information about container gateway ID 2351 .
maprcli dump ecginfo -ids 2351 -json
"cid2":{
"ContainerId":2353,
"Epoch":5,
"Master":"10.10.102.51:5660--5-VALID",
"ActiveServers":{
"IP":"10.10.102.51:5660--5-VALID"
},
"InactiveServers":{
},
"UnusedServers":{
"IP":"10.10.102.49:5660--3"
},
"OwnedSizeMB":"381 MB",
"SharedSizeMB":"0 MB",
"LogicalSizeMB":"381 MB",
"TotalSizeMB":"381 MB",
"NumInodesInUse":229,
"Mtime":"June 10, 2020",
"NameContainer":"false",
"ecCgId ":2351,
"isRebuildInProgress ":true,
"CreatorContainerId":0,
"CreatorVolumeUuid":"",
"UseActualCreatorId":true
},