delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/12/11:19:17

X-Spam-Check-By: sourceware.org
Date: Mon, 12 Jun 2006 17:19:00 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Win2003 server and LTO tape drive
Message-ID: <20060612151900.GC24199@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <6E7C3053253B934BA07CA1DB8DBF27580484C2CA AT fsfspm35>
Mime-Version: 1.0
In-Reply-To: <6E7C3053253B934BA07CA1DB8DBF27580484C2CA@fsfspm35>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 May  3 08:40, Cano Reuben Contr 412 TW/EN wrote:
> I'm having problems extracting files from a LTO tape with the cygwin tar
> command on a Windows 2003 Server . 
> 
> Checked my tape device by using "mt -f /dev/st0 status 2",  I noticed that
> my IBM Ultrium-TD3 has a device name of STK9840.
> 
> How can I change this device type to be LTO_ULTRIUM?  

You can't.  The string is just a string.  It's entirely without function
otherwise.

> How can I change the max block size to be larger than 65536?

You can't, unless your SCSI adaptor drivers allows tweaking the
scatter/gather buffer sizes in the registry(*).  This is not a Cygwin
issue, but a very unfortunate limitation in Windows.  I found that
sometimes even when raising the scatter/gather buffer values, Windows
still didn't allow blocks beyond 64K.  It faild for me with an Adaptec
7890 (onboard 2940 U2W version), while it worked fine with an Adaptec
19160.

To avoid more grey hair, you should better stick to using blocksizes
below 64K, if you intend to create portable tape archives.


Corinna


(*) Typically by setting HKLM/SYSTEM/CurrentControlSet/Services/${adaptor}/Parameters/Device/MaximumSGList, a DWORD value, to 0xff.

-- 
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