volume info
Contents
Usage
$ ozone sh volume info [-hV] <value>
Parameter | Description |
---|---|
value |
A volume URI. It can be a full URI (starts with |
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.