volume info

Definition

Prints information about a volume.

Usage

$ ozone sh volume info [-hV] <value>
Arguments
Parameter Description

value

A volume URI. It can be a full URI (starts with o3://, e.g. o3://hostname:9862/vol1/) or a short URI (starts with a volume name, e.g. vol1). Any missing information is obtained from the configuration files

Examples

Consider a volume vol1 with five buckets created withing. To get information about the volume, call the following command:

$ ozone sh volume info vol1

The output depends on volume configuration, but overall should be similar to the following:

{
  "metadata" : { },
  "name" : "vol1",
  "admin" : "s_tikhomirov_krb1",
  "owner" : "s_tikhomirov_krb1",
  "quotaInBytes" : -1,
  "quotaInNamespace" : -1,
  "usedNamespace" : 5,
  "creationTime" : "2025-01-22T21:23:28.796Z",
  "modificationTime" : "2025-02-12T23:08:16.179Z",
  "acls" : [ {
    "type" : "USER",
    "name" : "s_tikhomirov_krb1",
    "aclScope" : "ACCESS",
    "aclList" : [ "ALL" ]
  }, {
    "type" : "USER",
    "name" : "sergei",
    "aclScope" : "ACCESS",
    "aclList" : [ "READ", "WRITE", "CREATE", "LIST", "DELETE", "READ_ACL", "WRITE_ACL", "ALL" ]
  } ],
  "refCount" : 0
}

The usedNamespace parameter here displays the number of buckets within a volume.

Found a mistake? Seleсt text and press Ctrl+Enter to report it