Returns information about volumes and the associated containers. For JSON formatted output, use the -json option 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 Administering Volumes.
maprcli dump volumeinfo
[-cluster <cluster name>]
-volumename <volume name>
[-ctime <true|false>]
Set to true to display container state/role change time.
Default:
false
The cluster on which to run the command. If this parameter is omitted, the command is run on the cluster on which it is issued. In multi-cluster contexts, you can use this parameter to specify a different cluster on which to run the command.
maprcli volume
list command. This parameter is mandatory.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. See the following Example
for sample output. true) or not (false) a
parent volume grants permission for a child volume to inherit its
properties.1) or not (0) auditing is
enabled for the volume. 1) or not (0) the volume
accommodates audit logs.1) or not (0)
data-at-rest encryption (DARE) is enabled for the volume.1) or not (0) to force
audit of operations on all files, tables, and streams in the volume.1) or not (0) metrics
collection is enabled for the volume.true, the container is the first container of the volume.
Replication then occurs simultaneously from the master to the intermediate and
tail containers./ (root directory). For more information, see Setting Up Node Topology.1) or not (0) wire-level
security is enabled.# /opt/mapr/bin/maprcli dump volumeinfo -cluster docs41cluster -volumename sampleVol -ctime true -json
{
"timestamp":1435363982346,
"timeofday":"2015-06-26 05:13:02.346 GMT-0700",
"status":"OK",
"total":2,
"data":[
{
"VolumeName":"sampleVol",
"VolumeId":47274128,
"VolumeTopology":"/data",
"VolumeUsedSizeMB":0,
"VolumeReplication":3,
"VolumeMinReplication":2,
"NameSpaceReplication":3,
"NameSpaceMinReplication":2,
"ReReplicationTimeOutSec":0,
"MirrorThrottle":true,
"AccessTime":"Fri Jun 26 09:38:30 PDT 2015",
"AuditVolume":"0",
"Audited":"0",
"ForceAudit":"0",
"CoalesceInterval":60,
"EnabledDataAuditOperations":"setattr,chown,chperm,chgrp,getxattr,listxattr,setxattr,removexattr,read,write,create,delete,mkdir,readdir,rmdir,createsym,lookup,rename,createdev,truncate,tablecfcreate,tablecfdelete,tablecfmodify,tablecfScan,tableget,tableput,tablescan,tablecreate,tableinfo,tablemodify,getperm,getpathforfid,hardlink,filescan,fileoffload,filerecall,filetierjobstatus,filetierjobabort",
"DisabledDataAuditOperations":"getattr,filetieroffloadevent,filetierrecallevent",
"WireSecurityEnabled":"1",
"securityPolicyTags":"Lab_Security_Policy,Sensitive_Data",
"enforcementMode":"PolicyAceAndDataAce",
"limitSpread":true,
"allowGrant":false,
"fixCreatorId":false,
"MetricsEnabled":"0",
"dareEnabled":1
"label":"label1",
"nslabel":"label1"
},
{
"ContainerId":2049,
"Epoch":3,
"Master":"10.10.100.126:5660-10.10.101.126:5660-172.17.42.1:5660--3-VALID",
"ActiveServers":{
"IP:Port":"10.10.100.126:5660-10.10.101.126:5660-172.17.42.1:5660--3-VALID, ctime: 2020-09-07 23:15:40"
},
"InactiveServers":{
},
"UnusedServers":{
},
"OwnedSizeMB":"0 MB",
"SharedSizeMB":"0 MB",
"LogicalSizeMB":"0 MB",
"TotalSizeMB":"0 MB",
"NumInodesInUse":41,
"Mtime":"Fri Jun 26 13:27:35 PDT 2015",
"NameContainer":"true",
"CreatorContainerId":0,
"CreatorVolumeUuid":"-8225749748229459176:-4287758954200211096",
"UseActualCreatorId":true
}
]
}
# curl -k -X GET 'https://abc.sj.us:8443/rest/dump/volumeinfo?volumename=sampleVol&ctime=true' --user mapr:mapr
{"timestamp":1531074195026,"timeofday":"2018-07-08 11:23:15.026 GMT-0700 AM","status":"OK","total":2,"data":[{"VolumeName":"sampleVol","VolumeId":245584625,"VolumeTopology":"/data","VolumeUsedSizeMB":0,"VolumeReplication":3,"VolumeMinReplication":2,"NameSpaceReplication":3,"NameSpaceMinReplication":2,"ReReplicationTimeOutSec":0,"MirrorThrottle":true,"AccessTime":"July 7, 2018","AuditVolume":"0","Audited":"0","ForceAudit":"0","CoalesceInterval":60,"EnabledDataAuditOperations":"setattr,chown,chperm,chgrp,getxattr,listxattr,setxattr,removexattr,read,write,create,delete,mkdir,readdir,rmdir,createsym,lookup,rename,
createdev,truncate,tablecfcreate,tablecfdelete,tablecfmodify,tablecfScan,tableget,tableput,tablescan,tablecreate,tableinfo,tablemodify,getperm,
getpathforfid,hardlink,filescan,fileoffload,filerecall,filetierjobstatus,filetierjobabort","DisabledDataAuditOperations":"getattr,filetieroffloadevent,filetierrecallevent","WireSecurityEnabled":"1",
"securityPolicyTags":"Lab_Security_Policy,Sensitive_Data",
"enforcementMode":"PolicyAceAndDataAce","limitSpread":true,
"allowGrant":false,"fixCreatorId":false,"MetricsEnabled":"0",dareEnabled":0,"label":"label1","nslabel":"label1"},{"ContainerId":2068,"Epoch":3,
"Master":"10.10.82.24:5660--3-VALID","ActiveServers":{"IP:Port":"10.10.100.126:5660-10.10.101.126:5660-172.17.42.1:5660--3-VALID, ctime: 2020-09-07 23:15:40""IP:Port":"10.10.82.24:5660--3-VALID"},"InactiveServers":{},"UnusedServers":{},"OwnedSizeMB":"0 MB","SharedSizeMB":"0 MB","LogicalSizeMB":"0 MB","TotalSizeMB":"0 MB","NumInodesInUse":256,"Mtime":"July 7, 2018","NameContainer":"true","CreatorContainerId":2068,"CreatorVolumeUuid":"-8225749748229459176:-4287758954200211096","UseActualCreatorId":true}]}