-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[stats] weed mount displays wrong data in output. #3407
Comments
|
Hard to reproduce. Please run |
Nothing more in the output:
|
what is the df output with these logs? |
Once again together: logs:
df output:
|
martyanov
pushed a commit
to martyanov/seaweedfs
that referenced
this issue
Aug 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
weed mounts statistics displayed via df command doesn't respond to real data from volume server.
We have 2 volume servers with 13 10Gb volumes on each and replication 010.
According to the weed shell volume.list we use around 70Gb on each data node:
DataNode 10.120.214.8:8080 total size:70776755152 file_count:39229 deleted_file:4238 deleted_bytes:297263094
DataNode 10.120.214.7:8080 total size:70799440000 file_count:39684 deleted_file:4689 deleted_bytes:315723235
On client:
df -h /mnt/app Filesystem Size Used Avail Use% Mounted on 10.120.214.8:8988+10.120.214.7:8988:/ 260G -8.0Z -2.7G 100% /mnt/app
System Setup
Expected behavior
https://seaweedfs.slack.com/archives/C9MGUC1UG/p1659665309805189?thread_ts=1659633210.439099&cid=C9MGUC1UG
26 x 10GB - usedBytes = freeSpace
260Gb - 70Gb * 2 = 120Gb
So df should display around 120 Gb of free space.
The text was updated successfully, but these errors were encountered: