public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: ael <law_ence.dev@ntlworld.com>
To: tonyb@cybernetics.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: st.c block limits
Date: Thu, 01 Aug 2002 23:51:05 +0100	[thread overview]
Message-ID: <3D49BB59.2020405@ntlworld.com> (raw)
In-Reply-To: 002001c2395d$6e842150$e0019d89@cybernetics.com

Tony Battersby wrote:
>>>># tar -cf /dev/ntape blah_home.tar.bz2; mt  tell
>>>
> 
>>The tape has a real 10GB capacity. (I believe.)  The 20BG
>>blocks is correct
>>for the default block size of 512. So compression is not an
>>issue here. And
>>the report above is actually 17.8/2 = 8.9 GB :-(
> 
> 
> Some compression algorithms will actually expand data by a significant
> amount.  For example, many implementations of ALDC compression will give a
> compression ratio of 0.8 on random data.  In your example above you are
> writing a .bz2 file (which is already compressed), so it would probably
> expand if compressed again.  Try turning drive internal compression off:
> 
> mt -f /dev/ntape compression off
> 
> This might help squeeze a little more data on your tape.

Thanks for the suggestion. Various such thoughts had crossed what passes 
for my mind, including whether 10GB was before formatting. But I did assume 
that the tape drive/driver was reporting actual bytes on the tape 
regardless of compression.

I was indeed recording largely bz2 files, and I did realize that the 
default drive streaming compression would almost certainly expand again. I 
sometimes do remember to turn the drive compression off in such 
circumstances. But as I say, I assume that the actual data on the tape 
after compression was being reported. That has always seemed to be the case 
in the past, although I am not sure whether I checked very thoroughly.

I guess that I should browse the Imation web site and see exactly they 
specify for the tape itself. The packaging is clearly marked 10GB 
uncompressed. The drive has a read-while-write-and-rerecord-on-error 
circuit, but the tapes have not had much use, and I don't think that the
data is being expanded by repeated blocks. I could be wrong, of course.
And in any case, I would expect the drive to report the total blaoc count 
including repeats.

ael






  parent reply	other threads:[~2002-08-01 22:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30 20:20 st.c block limits ael
2002-08-01  4:45 ` Kai Makisara
2002-08-01 11:46   ` ael
2002-08-01 13:14     ` Tony Battersby
2002-08-01 15:49       ` Rogier Wolff
2002-08-01 22:51       ` ael [this message]
2002-08-01 11:57   ` ael
  -- strict thread matches above, loose matches on Subject: below --
2002-08-01 16:06 Bryan Henderson
2002-08-01 16:53 Bryan Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D49BB59.2020405@ntlworld.com \
    --to=law_ence.dev@ntlworld.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tonyb@cybernetics.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox