From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: How to Maximize Tape Usage.
Date: 1996/08/01 [thread overview]
Message-ID: <4tqr3m$g2i@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 4tl96d$94b@thor.atcon.com
In article <4tl96d$94b@thor.atcon.com>, John Allen - GeoNet <johna@ATCON.COM> writes:
>Does anyone know how to maximize tape usage. Currently I'm using the following
>command:
>
>dump -0u -f /dev/rmt0h -s 2640 -d 61000 -b 32 /rz1
>
>I have reason to believe this commbination of parameters is not making full
>use of the 90m tape capacity.
I've been lead to believe, but have never verified that the size
and density parameters on all versions of Digital UNIX and DEC
OSF/1 dump are used ONLY for estimating capacity. Tape drivers
provided by Digital's UNIX systems have supported end-of-tape
reporting since ULTRIX V2.0 or V2.2. While older versions of
ULTRIX dump would potentially limit the size when given a bad
estimate, this was fixed in V4.4 and I think the person that
did the DEC OSF/1 port knew what needed to changed if the OSF
version had a similar mis-feature.
The affect of end-of-tape detection is that while dump will get
an I/O when it tries to write at the end of the tape, the tape
driver will record that is really EOT instead of media error.
Dump can then use an I/O control to query the driver to see
if the error was EOT or something else. On EOT it can start
handling "Please mount the next tape...".
Poor choice of size and density may give poor estimates, but
dump should only ask for a tape change, when it reaches EOT.
Since the TLZ06 support compression, the size of data written
to the 'h' device is suspect. Most compression algorithms do
a good job given ordinary data, but if given data that is already
compressed it can actually require more space on tape. The affect
can be seen using compress to compress a file twice:
% compress -v some-file
% compress -v < some-file.Z > some-other-file.Z
>John Allen - GeoNet
--
Alan Rollow alan@nabeth.cxo.dec.com
prev parent reply other threads:[~1996-08-01 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-30 4:00 How to Maximize Tape Usage John Allen - GeoNet
1996-08-01 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox