delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/26/04:20:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 26 Nov 2008 10:21:37 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Magnetic tape tools
Message-ID: <20081126092137.GY30831@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5369FDACFFACA04182E47E00D46B71810AA080F4BF AT LAX-EXCH03 DOT spimageworks DOT com>
MIME-Version: 1.0
In-Reply-To: <5369FDACFFACA04182E47E00D46B71810AA080F4BF@LAX-EXCH03.spimageworks.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Nov 25 15:25, Bruce Dobrin wrote:
>   It
> took over an hour to get to filemark 116 and all night to extract 6500
> files.  Much slower than on My Linux boxes (  which are not an option
> in this case). I haven't had to deal with MT in a long time,  is there
> a way to speed this up?  Could I Might it be faster to dd the whole
> (TByte) tape and untar later?  Are there any other tools I should
> concider? I'm hoping someone has had to do this recently and knows the
> secret
> 
> Mt -f /dev/nst0 fsf 116
> Tar -xvb 1024 -f /dev/nst0

Speeding up the fsf command won't work, unfortunately.  Cygwin positions
the tape one filemark after the other.  This is the only way to position
the tape and to be able to keep track of all tape marks due to the
behaviour of the Win32 tape API when detecting set marks.

Speeding up tar might work.  What's the blocksize used on tape?  Make
sure that tar uses the same or a multiple of that.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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