[
https://issues.apache.org/jira/browse/HDDS-14718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-14718:
----------------------------------
Labels: pull-request-available (was: )
> Ozone Datanode usageinfo wrongly represent remaining allocatable
> ----------------------------------------------------------------
>
> Key: HDDS-14718
> URL: https://issues.apache.org/jira/browse/HDDS-14718
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Datanode
> Affects Versions: 2.1.0
> Reporter: Soumitra Sulav
> Assignee: Soumitra Sulav
> Priority: Major
> Labels: pull-request-available
>
> The disk capacity assigned for ozone datanode/metadata is 24.44G, but the
> remaining allocatable says 24.4G, even when there is a min free space to
> spare configured by default as 20G.
> That makes the available storage capacity to be only 4.4 G which doesn't
> allow default container of size 5G to be allocated, which is not very evident
> from the datanode usageinfo output.
> {code:java}
> [hadoop@datanode-0 ~]$ ozone admin datanode usageinfo -c=1 -m
> Usage Information (3 Datanodes)
> UUID : 466b48d8-33e1-4203-8952-4186377f017a
> IP Address : 10.233.103.63
> Hostname : dn1.cluster.local
> Capacity : 26239272258 B (24.44 GB)
> Total Used : 40854850 B (38.96 MB)
> Total Used % : 0.16%
> Ozone Used : 4472832 B (4.27 MB)
> Ozone Used % : 0.02%
> Remaining : 26198417408 B (24.40 GB)
> Remaining % : 99.84%
> Pipeline(s) : 0
> Container(s) : 0
> Container Pre-allocated : 0 B (0 B)
> Remaining Allocatable : 26198417408 B (24.40 GB)
> Free Space To Spare : 21474836480 B (20 GB) {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]