Skip to content

list should provide archive consumed space? #244

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

Open
tlaurion opened this issue Mar 26, 2025 · 1 comment
Open

list should provide archive consumed space? #244

tlaurion opened this issue Mar 26, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@tlaurion
Copy link
Contributor

I go through a lot of loops to delete unneeded archives right now.

Scripting things on

  • destination so that I get du -ch | sort -h wyng_archive_dir/* to get voldir occupied space
  • then on dom0, wyng list --debug to get mapping of voldir to volname for the biggest consumers
  • then wyng delete volname in a loop

I was wondering if there could be a way that list could provide occupied disk space on remote archive voldir (considering that dedup makes one voldir occupy real consume space, and not volname?)

That would be a nice improvement when comes time to get rid of unneeded volnames.

Then offer a wrapper for wyng-qubes-util?

Thoughts?

@tasket
Copy link
Owner

tasket commented Mar 27, 2025

You can get the vol dir mapping with simply wyng list --verbose in a simpler format.

Having du scan the whole archive dir is probably the most accurate way right now, as it takes hardlinks into account. I'm not sure if running it from the wyng list command is that helpful.

BTW, using find to output the inodes of chunk files allows you to compute the overlap between deduplicated volumes.

FWIW, existing Wyng metadata could provide details on the uncompressed data in each vol and session, but it would have no clue about the compressed amount.

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

No branches or pull requests

2 participants