X-Spam-Check-By: sourceware.org
Date: Mon, 12 Jun 2006 17:19:00 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: Win2003 server and LTO tape drive
Message-ID: <20060612151900.GC24199@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
References: <6E7C3053253B934BA07CA1DB8DBF27580484C2CA@fsfspm35>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6E7C3053253B934BA07CA1DB8DBF27580484C2CA@fsfspm35>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

