maprcli dump volumeinfo command enables you to view information about a volume and the containers within that volume. For best results, use the
-json option when running
dump volumeinfo from the command line.
A volume is a logical unit that allows you to apply policies to a set of files, directories, and sub-volumes. Using volumes, you can enforce disk usage limits, set replication levels, establish ownership and accountability, and measure the cost generated by different projects or departments. For more information, see Managing Data with Volumes.
maprcli dump volumeinfo [-cluster <cluster name>] -volumename <volume name>
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 name of the volume. To obtain volume names, use the
maprcli volume info returns information about the volume and the containers associated with that volume. Volume information includes the ID, volume name, and replication factor. For each container on the specified volume, the command returns information about nodes and storage.
The name of the volume.
The unique ID number of the volume.
The volume topology corresponds to the node topology of the rack or nodes where the volume resides. By default, new volumes are created with a topology of / (root directory). For more information, see Volume Topology.
The size on disk (in MB) of the volume.
The desired replication factor, the number of copies of a volume. The default value is 3. The maximum value is 6.
The minimum replication factor, the number of copies of a volume (excluding the original) that should be maintained by the MapR cluster for normal operation. When the replication factor falls below this minimum, writes to the volume are disabled. The default value is 2.
|Specifies whether mirror throttling is enabled (true) or disabled (false). Throttling is set on the source volume and applies to all its mirrors. This property was introduced in version 4.0.2.|
|AccessTime||A value that can be used to determine which volumes are accessed regularly. This value is updated every 6 hours with the last time that an operation occurred on the volume. The access time is not updated for changes to volume properties, creation of a snapshot, or synchronization between a volume and a mirror. However, the volume access time is updated the first time you upgrade to a MapR version that includes this property. This property was introduced in version 4.0.2.|
|limitSpread||An internal flag for MapR volumes to control the growth of volume in terms of number of containers. When this flag is set, cldb tries to limit the number of new containers created depending on the present size of volume. If volume size (data in volume) is small, cldb tries to reuse space in existing containers to avoid the creation of new containers. This helps reduce the wasting of containers IDs in an environment that has small volumes.|
The unique ID number of the container.
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.
The physical IP address and port number of the master copy. The master copy is part of the original copy of the volume.
The physical IP address and port number of each active node on which the container resides.
The physical IP address and port number of each inactive node on which the container resides.
The physical IP address and port number of servers from which no "heartbeat" has been received for quite some time.
The size on disk (in MB) dedicated to the container.
The size on disk (in MB) shared by the container.
The logical size on disk (in MB) of the container.
The total size on disk (in MB) allocated to the container. Combines the Owned Size and Shared Size.
Indicates the time of the last modification to the contents of the container.
Indicates if the container is the name container for the volume. If
|CreatorContainerId||The container ID of the read-write container. The container Id is retained in all mirrors of that containers (in all mirrors of volume). The container ID enables the identification of the correct containers to source from when mirror sources are changed in a mirror chain.|
|CreatorVolumeUuid||A randomly generated unique ID that is shared by all mirrors of a volume and all containers of them. It is used to avoid undesirable chaining of containers when mirror sources are changed in a mirror chain.|