From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c5edcea28a0ae7a3 X-Google-Attributes: gidfee84,public 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 Message-ID: <4tqr3m$g2i@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 171437926 distribution: world references: <4tl96d$94b@thor.atcon.com> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 In article <4tl96d$94b@thor.atcon.com>, John Allen - GeoNet 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