Skip to content

Calculate disk usage as binary instead of decimal #610

@scambra

Description

@scambra

Reporting Issues:

  • Branch: master

  • Commit hash: 3f78517

  • Operating system: lsiobase/alpine.python.armhf:3.9

  • Python version: 2.7.15

  • What you did?

Setup system info and enabled in dashboard

  • What happened?

I see free disk space calculated as decimal, 3348288045056 bytes free, displayed as 3.3TB

  • What you expected?

I was expecting to see 3.1TB as I see in console, calculated as binary (3.1 TiB)

df -h

Filesystem Size Used Avail Use% Mounted on
//192.168.0.10/share/ 3.7T 593G 3.1T 16% /mnt/medialibrary

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions