-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Btrfs dedupe images Raw #13894
Comments
Can I ask what you are attempting to do? The storage backend already ensures image layers are not duplicated. Are you trying to deduplicate within layers? Our primary focus is on layer deduplication, I'm not aware of any focus on deduplicating individual files as such. |
Between layers. The images we're using are very bad and brought by the end
user. Disc use is a problem.
…On Sat, Apr 16, 2022, 9:25 AM Matt Heon ***@***.***> wrote:
Can I ask what you are attempting to do? The storage backend already
ensures image layers are not duplicated. Are you trying to deduplicate
within layers? Our primary focus is on layer deduplication, I'm not aware
of any focus on deduplicating individual files as such.
—
Reply to this email directly, view it on GitHub
<#13894 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJS2V45THFYIM2N5BD3K2RDVFLSWBANCNFSM5TR2HUFA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
there is an attempt to solve this issue in containers/storage: containers/storage#775 Could you try creating images with the |
A friendly reminder that this issue had no activity for 30 days. |
Since we have had no response to the request in the zstd:chunked code has made its way into podman, I am closing this issue. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
What is the correct way to dedupe images.
Steps to reproduce the issue:
sudo dnf -y install duperemove
sudo duperemove -drAh --hashfile=containers.hash ~/.local/share/containers/storage/
Comparison of extent info shows a net change in shared extents of: 15.9M
Describe the results you received:
It deduped
15.9M
, but mostly a huge number ofSkipping - extents are already deduped.
Describe the results you expected:
I want to safely dedupe images because the images where created by a bunch of different providers and have a lot of overlap. Also multiple non-root users.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
I read the guide and also tested on 3.4.4 and btrfs graph driver
Additional environment details (AWS, VirtualBox, physical, etc.):
physical fedora silverblue 36 beta
The text was updated successfully, but these errors were encountered: