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

system-monitor-graph@rcassani: Desklet space reporting on backups #1199

Open
DonEdwards opened this issue Jun 12, 2024 · 1 comment
Open
Labels

Comments

@DonEdwards
Copy link

Desklet version/Build date

current as of bug report date

Cinnamon version

6.0.4

Distribution

Mint 21.3

Graphics hardware and driver used

not relevant

Desklet name and maintainer

system-monitor-graph@rcassani @rcassani

What happened?

Disk reporting can be seriously off, on a disk used for backups by e.g. timeshift or backintime. Both of which heavily use hard links. It appears that the desklet is adding up the size of each file in any directory, whereas in that specific usage there might be a dozen directory entries pointing at the same file - for each of a million or so files. Free space reporting is also off, apparently gotten by subtracting the (incorrect) total size of files from the stated capacity of the partition - rather than asking the partition.

RIght now, on my backup drive, the desklet is reporting 595 GB free out of 1863, whereas rdfind says there are 300 GB occupied; gnome-disk-utility and nemo agree there's 1.7 TB free.

Possibly also worth noting: my backup partition is formatted btrfs with transparent compression turned on.

Other information

No response

@DonEdwards DonEdwards added the bug label Jun 12, 2024
@rcalixte rcalixte changed the title Desklet space reporting on backups system-monitor-graph@rcassani: Desklet space reporting on backups Jun 13, 2024
@rcassani
Copy link
Contributor

The total and available disk metrics in the Desklet comes directly from the command /bin/df.

You may want to further investigate this:

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

No branches or pull requests

2 participants