www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/26/09:21:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <383E973E.A9EA0A4F@nac.net>
Date: Fri, 26 Nov 1999 09:20:46 -0500
From: "Donald E. Hammond" <dhammond AT nac DOT net>
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
MIME-Version: 1.0
To: Morten Eriksen <mortene AT sim DOT no>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Problem with tar
References: <Pine DOT LNX DOT 3 DOT 96 DOT 991126113733 DOT 14329C-200000 AT trh DOT sim DOT no>

Morten -

I've had problems in the past using compression on the fly with tar.  It
was different than you describe, and it was with b18 so may not be
relevant, but it does seem to be fixed with v 1.0 from cd.  Sometimes a
tar file that had been compressed with -z was corrupt.  I am *pretty*
sure that it could always be decompressed with gzip -d then untarred,
but testing (-t or -d) and extraction of the compressed tar file all
failed.  Like I say, this seems to be fixed with the latest version but
I haven't done much testing.  I don't know how much data you're putting
in the tar files, but if it wouldn't be too unwieldy I might try doing
it without compression. Or even by compressing each file before putting
it in the tar file.  Even if that's not an acceptable final solution, it
might help isolate the problem.

This is probably completely unrelated to your problem.  For me, tar
never bombed while creating the tar file.  I only knew there was a
problem when trying to read it while decompressing it on the fly.  But
I  thought I'd mention it just in case.

 - Don


Morten Eriksen wrote:
> 
> [...]
> 
> Every night, for each of the servers, I run approximately this sequence of
> commands:
> 
> ssh -x -l administrator $ntserver "/bin/tar cvzf /tmp/data.tgz /data"
> scp administrator@$ntserver:/tmp/data.tgz data-$ntserver.tgz
> 
> Works like a charm, except that tar hangs at what seems like random places
> at what seems like random times at what seems like random sites. :^(
>
> [...]

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019