You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2023/08/14 05:35:00 UTC

[jira] [Updated] (HDDS-9141) ozone sh volume info is not listing usedBytes info

     [ https://issues.apache.org/jira/browse/HDDS-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Agrawal updated HDDS-9141:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>          Components: Ozone CLI
>            Reporter: Arun Sarin
>            Assignee: Sumit Agrawal
>            Priority: Major
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org