Soumitra Sulav created HDDS-14718:
-------------------------------------
Summary: 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
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.
{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]