www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/29/07:09:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <229D7C0FE0BED311A0E800805F0DD471010D2DCD@wn01ex.wn.gb.solvay.com>
From: "Craveiro, Marco" <Marco DOT Craveiro AT solvay DOT com>
To: "'Don Sharp'" <dwsharp AT iee DOT org>, gnuwin32 <cygwin AT cygwin DOT com>
Subject: RE: Cygrunsrv and backups
Date: Mon, 29 Apr 2002 13:07:04 +0200
MIME-Version: 1.0

Don, i'm sorry about being such a pain but i have googled for a bit with no
luck :-(
on my status i dont get the remaining blocks, only the total capacity. i
then did a status 3 which tells me that "reports remaining" is set to "no".
so i'm assuming i have this option disabled. i couldnt find no info on the
net on how to enable it.  is this some kind of hardware thing, as in my
drive does not support it or is it just a software preference? and if it is
how do i set to yes, do you know?

thanks mate.

marco

> -----Original Message-----
> From:	Don Sharp [SMTP:dwsharp AT iee DOT org]
> Sent:	29 April 2002 02:21
> To:	gnuwin32
> Subject:	Re: Cygrunsrv and backups
> 
> "Craveiro, Marco" wrote:
> > 
> > "Don Sharp" wrote:
> > 
> > > > anyway, there's just one thing i dont understand on your script:
> > > >
> > > >         mt -f /dev/nst0 tell
> > > >
> > > > why do you need this?
> > > >
> > >
> > > One doesn't strictly need it. I use it to tell me how near to a full
> > > tape I am using so I reshuffle what goes on which tape when it proves
> > > necessary.
> > >
> >         hey, that is quite cool as I want to add 2 tests to my script
> (is
> > the tape full, is the tape empty). how do i interpret the tell output,
> i.e.
> > whats the max blocks on a compressed dds-2 tape?
> 
> The initial
> 
> mt -f /dev/nst0 status
> 
> reports
> 
> tape capacity    :  1760887 KB          remaining        :  1760887 KB
> current block    :        0             write protected  :      
> no             datcompression   :       on
> 
> Note the tape capacity report. This is NOT a constant as bad blocks are
> removed from the capacity automatically. The tape is a DDS-1 of
> nominally 2Gb capacity.
> 
> The tape blocks reported by "tell" depends on the blocking set before.
> In my case because I am using default tar blocking it reports in 10K
> blocks. However I have noticed that if I run an NT backup beforehand,
> "tell" reports in 1K blocks. I believe that you can set the block size
> for the hardware using "mt".
> 
> HTH
> 
> Don Sharp

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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