-
Notifications
You must be signed in to change notification settings - Fork 18
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
deduped always 0 when deduped?? #30
Comments
That's strange. Are you using some type of btrfs RAID? |
Thanks
What's the disk usage before and after you ran dduper command?
Its because we are using 32kb chunk size for 11GB file. So it does lot of syscalls, can you try increasing chunk size to 1M ? Also you can run PS: Please use this suggestion with care: If you already have a backup of these files in other system, you may want to checkout |
Thanks for the details. I didn't update the docker image with recent changes. Let me push of those change to docker and re-create the image and ping here. After that you can pull the latest image and give it a try. |
I was testing the issue without docker image - let me test there and reproduce the issue too |
This is a bug, I managed to reproduce the issue. Fixed it (hopefully :P) - currently running some basic tests |
Until now, we skiped making use of bytes_deduped status code. This caused a bug discussed here #30 Signed-off-by: Lakshmipathi <[email protected]>
@i00 , Changes seems to be working, please pull the latest docker image and give it a try. |
Ok ... thanks ... appears to be working now. Just wondering why when I run it now it takes ~399 seconds the first time (2 files) ... then when I re-run it it takes ~274 seconds ... |
Can you try something like this: run-1 sleep 10 && sync && sleep 10 run-2 and verify the results.
Sorry, I didn't understand this issue. could you please provide psudeo-code of it? |
|
Another simple option:
below says 30MB deduped/shared content on the file.
|
Hey sorry; project has been on hold for a while; hope to investigate this further next week. |
Sure no problem. |
When I run it using:
files appear to be deduped (used space goes down) ... but ...
the output is always "deduped: 0" (see below)
The text was updated successfully, but these errors were encountered: