Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[curvefs]tools-v2: Add the command of statistical cluster size information #2532

Open
Cyber-SiKu opened this issue Jun 13, 2023 · 6 comments
Assignees
Labels
enhancement improve feature

Comments

@Cyber-SiKu
Copy link
Contributor

Cyber-SiKu commented Jun 13, 2023

Registration procedure

Step 1. Add a comment when you sign up.The purpose of comments is for us to understand you and determine whether you have the basic ability to complete this issue.

  • If you are a student, please introduce your school, major, programming language, technical fields of interest, what you are good at, and why you chose this issue.
  • If you are already working, please introduce your company, career, work content, technical fields of interest, and why you chose this issue.

Step 2. Use WeChat to add the Curve community assistant "Curve" as a WeChat friend, tell your GitHub ID, and send the Issue link of your choice. The assistant will invite you to communicate with the mentor by WeChat.

Step 3. In order to better complete each development task, the mentor will select the developer who best matches the issue based on everyone's comment on GitHub and communication status by WeChat. If you are not selected, please select another issue.

Tips

  • Before developing, please read the dev guideline( https://ask.opencurve.io/t/topic/201) carefully and communicate with your mentor.
  • Please submit a draft PR before 11.29, and the mentor will review it within 2-5 working days and may guide you to modify the PR based on the actual situation.
  • If you successfully merge into PR before 12.27 and you will receive gifts carefully prepared by the Curve community.

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

It is necessary to query more accurate cluster scale information, such as total capacity, used capacity, number of files, number of inodes, metadata information., and cluster running time. You can not complete these problems in one pr, but do a function separately and submit them in stages.

The capacity of the s3 file system can be represented by the quota of the bucket, if not represented as unlimited.

Describe the solution you'd like (描述你期望的解决方法)

The following is for reference only

$ curve fs list space
total used free fileNum inodeNum
1.0G 1.0G 0.0G 1000 1000
$ curve fs status cluster

......

create time run time
2021-01-01 00:00:00 1y2m3d4h5m6s

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图)

@WWWindrunner
Copy link

Hi, can I try this issue?

@Cyber-SiKu
Copy link
Contributor Author

Hi, can I try this issue?

welcome!

@WWWindrunner
Copy link

Thank you for your reply!By the way, I am new to Curve, and I would like to ask if this function has been implemented in tool-v1 ?
For example,
image

@Cyber-SiKu
Copy link
Contributor Author

@WWWindrunner No, this function is brand new, mainly to obtain some fs (data metadata, etc.) usage and other related information.

@Cyber-SiKu
Copy link
Contributor Author

Cyber-SiKu commented Sep 28, 2023

image
You can add our assistant via WeChat

@lim-yoona
Copy link

Hello, I am a graduate student in the University of the Chinese Academy of Sciences. My major is cyberspace security. I am familiar with programming languages such as Golang, Java and C++. I am interested in technology fields such as distributed systems, cloud native and storage systems. I am good at technology stacks such as Golang server development, storage system principles, etc.
I have read tools-v2/docs/zh/develop.md and docs/cn/curve工具.md, understanding the structure and development method of the curve tool. I think I can complete this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve feature
Projects
None yet
Development

No branches or pull requests

3 participants