delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/17/11:54:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 17 Aug 2004 17:54:26 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.10-3 + mt 2.3 scsi tape problems
Message-ID: <20040817155426.GN1689@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4122275D DOT 6010101 AT macroscoop DOT nl>
Mime-Version: 1.0
In-Reply-To: <4122275D.6010101@macroscoop.nl>
User-Agent: Mutt/1.4.2i

On Aug 17 17:42, Pim Zandbergen wrote:
> I'm using a cygwin script as a wrapper around ntbackup on a number
> of servers, running windows 2000 and 2003 server.
> 
> Basically, the script does
> 
> mt -f /dev/st0 status
> dd if=labelfile of=/dev/st0
> ntbackup  [ lots of options ]
> mt -f /dev/st0 offline
> 
> After doing cygwin updates, backups started failing.
> mt and/or dd would hang, ntbackup wouldn't detect the tape drive
> 
> This usually happened the second day. One day everything would
> work, the next day, the backup would hang. Rebooting would be
> the only way to get a good backup the next day. On one server,
> a cold reboot was always necessary to release the tape.

A cold reboot shouldn't be necessary at all.  After the last Cygwin
process on the machine has stopped, there's nothing in Cygwin left
which could block the tape device.

> Reverting back to cygwin 1.5.9 and mt 2.1 resolved my problems.

That's not exactly helpful.  Do mt or dd hang when called from the
command line, too?  What does an strace of mt or dd show?

Corinna

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

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