Arun Sarin created HDDS-9141:
--------------------------------
Summary: ozone sh volume info is not listing usedBytes info
Key: HDDS-9141
URL: https://issues.apache.org/jira/browse/HDDS-9141
Project: Apache Ozone
Issue Type: Bug
Components: Ozone CLI
Reporter: Arun Sarin
ozone sh volume info is not listing usedBytes info
For more info please read comments on PR's for HDDS-4308
This is supported & listed in bucket info , but its not supported in case of
volume
{code:java}
[root@quasar-rsyvvc-1 ~]# ozone sh volume info o3://ozone1/$vol
{
"metadata" : { },
"name" : "volbaselinka",
"admin" : "hdfs",
"owner" : "root",
"quotaInBytes" : 8053063680,
"quotaInNamespace" : 2,
"usedNamespace" : 2,
"creationTime" : "2023-08-09T11:10:50.336Z",
"modificationTime" : "2023-08-09T11:11:18.223Z",
"acls" : [ {
"type" : "USER",
"name" : "root",
"aclScope" : "ACCESS",
"aclList" : [ "ALL" ]
}, {
"type" : "GROUP",
"name" : "root",
"aclScope" : "ACCESS",
"aclList" : [ "ALL" ]
} ],
"refCount" : 0
}
[root@quasar-rsyvvc-1 ~]#
[root@quasar-rsyvvc-1 ~]# ozone sh bucket info o3://ozone1/$vol/$buck
{
"metadata" : { },
"volumeName" : "volbaselinka",
"name" : "buckbaselinka",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2023-08-09T11:10:56.255Z",
"modificationTime" : "2023-08-09T11:11:13.732Z",
"sourcePathExist" : true,
"quotaInBytes" : 8053063680,
"quotaInNamespace" : 2,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"link" : false
} {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]