Re: tar: compress fast - extract very slow



In article <1193047309.437203.299550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<shedir@xxxxxxxxx> wrote:
:Hi folks,
:
:
:I'm having this behavior on different machines and do not know why:
:* I create a tar.gz-file VERY fast (about 20minutes for 120GB => 4GB
:(=not much real data in it - mostly empty))
:* I extract the same tar.gz-file BUT VERY SLOWLY (about 10 hours!!!)

If by "mostly empty" you mean that these are sparse files, then
you need to use the "--sparse" ("-S") option to tell tar to handle
them efficiently. Otherwise, those blocks that are unallocated in
the source file will be replaced by allocated blocks filled with
zeros, which can slow down the extraction dramatically as well as
using a lot of additional disk space.

--
Bob Nichols AT comcast.net I am "RNichols42"
.



Relevant Pages

  • Re: Group policies show empty in Vista Event log
    ... my first two Vista machines to join my little domain. ... DC to process policy that has not yet received the GPO information for this ... they would report that GPO empty (assuming the change was the first ... Find out more about Desktop Policy Manager at ...
    (microsoft.public.windows.group_policy)
  • Paragon Help Please :-)
    ... machines in my collection, I've never taken the head off of a machine ... The connector has one red wire and one blue wire. ... on the MPU the J-5 slot is empty. ...
    (rec.games.pinball)
  • Re: [opensuse] saving boot-time console output
    ... Hash: SHA1 ... I have seen it empty for ... years in my machines. ...
    (SuSE)
  • FS: Approximately 150 videos $25 to $75 each in Petersburg, VA at Coinopwarehouse - Building so
    ... Sold my main warehouse and have to have it empty in three weeks. ... have already settled on it so the stuff has to go no matter what. ... Minimum purchase 6 machines as I ...
    (rec.games.video.arcade.collecting)
  • Re: Incorrect file size?
    ... Also I have seen this on different machines. ... Any ideas how to fix this? ... Either use backup software that is aware of sparse files ...
    (freebsd-stable)