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

disk: invalid total disk space displayed since v1.3.0 #4798

Open
laciferin2024 opened this issue Jan 5, 2025 · 3 comments
Open

disk: invalid total disk space displayed since v1.3.0 #4798

laciferin2024 opened this issue Jan 5, 2025 · 3 comments
Labels
request/new Request: Indicates a new request that has been submitted and awaits initial triage type/bug Type: Something is not working as expected

Comments

@laciferin2024
Copy link

laciferin2024 commented Jan 5, 2025

Bug Description

Shows only free disk space in linux, mac machines since v1.4.0

curl -sL 'https://get.bacalhau.org/install.sh' | bash

image

Expected Behavior

Should have shown 30/512gb

Steps to Reproduce

  1. In v1.4.0 : setup a compute, requestor node
  2. In v1.5.0+ : setup orchestrator, compute node

Bacalhau Versions

  • v1.5.1

Host Environment

Provide details about the environment where the bug occurred:

  • Operating System: Mac, Linux

Job Specification

(If applicable, provide the job spec used when the issue occurred.)

Logs

Agent Logs:

(Include here if applicable.)

Client Logs:

(Include here if applicable.)

@laciferin2024 laciferin2024 added request/new Request: Indicates a new request that has been submitted and awaits initial triage type/bug Type: Something is not working as expected labels Jan 5, 2025
Copy link

linear bot commented Jan 5, 2025

@laciferin2024 laciferin2024 changed the title disk: invalid total disk space displayed since v1.4.0 disk: invalid total disk space displayed since v1.3.0 Jan 5, 2025
@wdbaruni
Copy link
Member

wdbaruni commented Jan 5, 2025

Hi! Thanks for reporting this issue. To help us investigate the disk space reporting problem:

  1. Could you share the output of df -h? This will help us understand your filesystem layout.

  2. Can you confirm if this issue only started occurring in v1.4.0+? Did earlier versions show the disk space correctly?

@laciferin2024
Copy link
Author

@wdbaruni here u go:

Filesystem        Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/disk3s1s1   460Gi    10Gi    45Gi    19%    412k  474M    0%   /
devfs            203Ki   203Ki     0Bi   100%     701     0  100%   /dev
/dev/disk3s6     460Gi   2.0Gi    45Gi     5%       2  474M    0%   /System/Volumes/VM
/dev/disk3s2     460Gi   6.4Gi    45Gi    13%    1.3k  474M    0%   /System/Volumes/Preboot
/dev/disk3s4     460Gi   2.6Mi    45Gi     1%      51  474M    0%   /System/Volumes/Update
/dev/disk1s2     500Mi   6.0Mi   483Mi     2%       1  4.9M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   5.4Mi   483Mi     2%      33  4.9M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   928Ki   483Mi     1%      85  4.9M    0%   /System/Volumes/Hardware
/dev/disk3s5     460Gi   115Gi    45Gi    72%    2.4M  474M    0%   /System/Volumes/Data
/dev/disk3s8     460Gi    43Gi    45Gi    49%    1.6M  474M    0%   /Volumes/N
/dev/disk3s7     460Gi    60Gi    45Gi    58%    756k  474M    0%   /Volumes/J
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
/dev/disk3s9     460Gi   176Gi    45Gi    80%     27k  474M    0%   /Volumes/Zk

Its reproducing in linux machines as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request/new Request: Indicates a new request that has been submitted and awaits initial triage type/bug Type: Something is not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants