bucket info
Contents
Usage
$ ozone sh bucket info [-hV] <value>
Parameter | Description |
---|---|
value |
A bucket URI. It can be a full URI (starts with |
-h, --help |
Prints out a help manual for this command |
-V, --version |
Prints out version information and exits |
Examples
Consider a volume vol1
with a bucket bucket1
created within. To get information about that bucket, call the following command:
$ ozone sh bucket info vol1/bucket1
The output depends on bucket configuration, but overall should be similar to the following:
{
"metadata" : { },
"volumeName" : "vol1",
"name" : "bucket1",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2025-01-22T22:06:04.800Z",
"modificationTime" : "2025-01-22T22:06:55.834Z",
"sourcePathExist" : true,
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"owner" : "s_tikhomirov_krb1",
"replicationConfig" : {
"replicationFactor" : "ONE",
"requiredNodes" : 1,
"replicationType" : "RATIS"
},
"link" : false
}