I have a file Server CentOS 5.10, its on the internet, so I compress all csv into one file using (tar -czvf compressed_files.tar.gz *.csv) on this server so that I can download them as one compressed file to save bandwidth, Disk space on this server available is 50Gig, so when I copy the files onto Redhat EL 5.9 and decompress them using (tar -zxvf *.gz) It decompresses maybe 80% then get error: gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now what might be the issue here? Bonnie B Mtengwa Email: <mailto:bonnie.mtengwa at potraz.gov.zw> bonnie.mtengwa at potraz.gov.zw | <mailto:bonniebm at gmail.com> bonniebm at gmail.com Web: <http://www.potraz.gov.zw/> www.potraz.gov.zw
On 03/18/2014 10:22 AM, Bonnie B Mtengwa wrote:> I have a file Server CentOS 5.10, its on the internet, so I compress all csv > into one file using (tar -czvf compressed_files.tar.gz *.csv) on this > server so that I can download them as one compressed file to save bandwidth, > Disk space on this server available is 50Gig, so when I copy the files onto > Redhat EL 5.9 and decompress them using (tar -zxvf *.gz) It decompresses > maybe 80% then get error: > > > > gzip: stdin: unexpected end of file > > tar: Unexpected EOF in archive > > tar: Unexpected EOF in archive > > tar: Error is not recoverable: exiting now > > > > what might be the issue here?corrupt file when downloading? try gunzip -t on the server to confirm archive is ok on that end. and you could md5sum as well, to test the integrity of what you dl'd.
On Tue, 18 Mar 2014 11:22:31 +0200 "Bonnie B Mtengwa" <bmtengwa at potraz.gov.zw> wrote:> I have a file Server CentOS 5.10, its on the internet, so I compress > all csv into one file using (tar -czvf compressed_files.tar.gz > *.csv) on this server so that I can download them as one compressed > file to save bandwidth, Disk space on this server available is 50Gig, > so when I copy the files onto Redhat EL 5.9 and decompress them using > (tar -zxvf *.gz) It decompresses maybe 80% then get error: >FWIW you would likely be able to save a lot more bandwidth using xz compression. In the below example you can create your compressed archive all on the fly to your remote server. $ tar -cJvf - target-file-dir/ | ssh root at remote.server.com "cat> /remote/archive.tar.xz"-- Q: What did Tarzan say when he saw the elephants coming over the hill? A: "The elephants are coming over the hill." Q: What did he say when saw them coming over the hill wearing sunglasses? A: Nothing, for he didn't recognize them.
Dear Bonnie, Your not getting an answer because the emails you are sending look like spam to most email filters. Thanks, Andrew On 18 March 2014 09:22, Bonnie B Mtengwa <bmtengwa at potraz.gov.zw> wrote:> I have a file Server CentOS 5.10, its on the internet, so I compress all csv > into one file using (tar -czvf compressed_files.tar.gz *.csv) on this > server so that I can download them as one compressed file to save bandwidth, > Disk space on this server available is 50Gig, so when I copy the files onto > Redhat EL 5.9 and decompress them using (tar -zxvf *.gz) It decompresses > maybe 80% then get error: > > > > gzip: stdin: unexpected end of file > > tar: Unexpected EOF in archive > > tar: Unexpected EOF in archive > > tar: Error is not recoverable: exiting now > > > > what might be the issue here? > > > > Bonnie B Mtengwa > > Email: <mailto:bonnie.mtengwa at potraz.gov.zw> bonnie.mtengwa at potraz.gov.zw | > <mailto:bonniebm at gmail.com> bonniebm at gmail.com Web: > <http://www.potraz.gov.zw/> www.potraz.gov.zw > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos