From 4bf3fdbfe7fb3845c4a1a24f77f7af7a324cfe2e Mon Sep 17 00:00:00 2001 From: sean Date: Tue, 9 Mar 2021 15:26:22 +0800 Subject: [PATCH] curve-tools: add more info to display the logical pool --- src/tools/status_tool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/status_tool.cpp b/src/tools/status_tool.cpp index 8941db7020..5acde85315 100644 --- a/src/tools/status_tool.cpp +++ b/src/tools/status_tool.cpp @@ -354,6 +354,9 @@ int StatusTool::LogicalPoolListCmd() { << ", physicalPoolID = " << lgPool.physicalpoolid() << ", type = " << curve::mds::topology::LogicalPoolType_Name(lgPool.type()) + << ", allocateStatus = " + << curve::mds::topology:: + AllocateStatus_Name(lgPool.allocatestatus()) << ", total space = " << totalSize / curve::mds::kGB << "GB" << ", used space = " << usedSize / curve::mds::kGB << "GB" << "(" << usedRatio * 100 << "%, can be recycled = "