From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,3a6d8d0d91b0eed2 X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,3a6d8d0d91b0eed2 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-10 17:32:08 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!lll-winken.llnl.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1,comp.unix.ultrix Subject: Re: dump and DAT's Date: 11 Mar 1995 00:06:41 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <3jqpih$12n@nntpd2.cxo.dec.com> References: <3jnbrgINN65g@lanews.la.asu.edu> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com Xref: bga.com comp.unix.osf.osf1:6371 comp.unix.ultrix:4827 In article <3jnbrgINN65g@lanews.la.asu.edu>, scowen@tycho.la.asu.edu (Paul A. Scowen) questions: > > [ The value of the dump options for specifying the length and density > on modern tape drives that are nothing like the 9 track tape for > which the options were originally designed... ] >My question is how do you determine this size? For OSF and ULTRIX, the best answer is that you don't. About 8 years ago ULTRIX V2.0 added support in the driver that allowed dump (tar and dd) to tell the difference between an I/O error and the end of media. With this support dump has been able to tell when it reaches the end of tape and tries to handle the necessary tape appropriately. The OSF tape drivers inherited this support. However, the length and density had been used to do more than guess at when EOM was coming up, it allowed estimating the number of tapes that a dump was going to take and this was useful. So, support for the options was kept and each new version required changes for each new tape drive added to the system. The old 9 track model was kept and the default values for length and density were chosen to make the model come out with something close to the right answer. As long as dump was allowed to use the defaults it would give the closest estimate it could, but still handle EOM correctly. If you used the length and density and it would trust you. Make the tape too long and the EOM handling would kick in early. Too short and it would trust you and ask for a tape change before one was necessary. In ULTRIX V4.4 and in the DEC OSF/1 code (soon Digital UNIX), this was changed so that estimates wouldn't be trusted. I think ULTRIX an environment variable that lets those relying on the behaviour to get it. So, the value of different length and densities is that it allows you find a better model for the tape drive to get better up front estimates. Throw in data compression and I think you can forget it unless you can estimate in advance what the compression ratio will be. Personally, I prefer the running estimate anyway. It gets updated to reflect how long it is taking to write data and stays pretty accurate after the first estimate. > >Then under OSF/1 I found the -B -S >options that allow specification of overall volume size in 1024-byte blocks. I think this was designed for writing to the RA60 (or other removable disk devices). You could specify the capacity and it would do the appropriate thing. It wasn't meant for tapes. > >------------------------------------------------------------------------------- >Paul A. Scowen | Internet: scowen@tycho.la.asu.edu > -- Alan Rollow alan@nabeth.cxo.dec.com