This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata


Displays information about the specified volume. For best results, use the -json option when running the command.

Syntax

CLI

maprcli volume info
    [ -cluster <cluster name> ]
    [ -output terse | verbose ]
    [ -path <mount directory> ]
    [ -name <volume name> ]
    [ -columns <column name> ]

REST

http[s]://<host>:<port>/rest/volume/info?<parameters> 

Parameters

You must specify either name or path, but not both.


Parameter

Description

cluster

The cluster on which to run the command.

columnsA comma-separated list of fields to return in the query. See the Fields table on the volume page. Default: all

name

The volume name for which to retrieve information. Note: When issuing maprcli volume info -columns and marcli volume list -columns commands, the column for the volume name is volumename.

output

Whether the output should be terse or verbose. Default: verbose

path

The mount path of the volume for which to retrieve information.

Output

For definitions of the output fields, and short names for use with filters, see the Fields table on the volume command page.

Examples

CLImaprcli volume info -path /tmp/ruthTest -json
RESThttps://10.10.82.23:8443/rest/volume/info?path=%2Ftmp%2FruthTest

 

 

  • No labels