why rsync --sparse
create much larger file than the source?
#386
Unanswered
braindevices
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to rsync between 2 local disks, thus there is no compression. the sparse file has apparent size of 50GB, actual size of 16GB. I tried
rsync -a -P --sparse
, it did generate sparse file on destination at the end. However, it is not as sparse as the source file. The generated file is 27GB instead of 16GB. I can usefallocate -d <filename>
to shrink it more. It became around 18GB. I wonder why rsync cannot create sparse file ascp -a --sparse
?cp
can create sparse file with identical size as source.rsync 3.1.3
Beta Was this translation helpful? Give feedback.
All reactions