* dump and DAT's
@ 1995-03-09 16:54 Paul A. Scowen
1995-03-11 0:06 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 4+ messages in thread
From: Paul A. Scowen @ 1995-03-09 16:54 UTC (permalink / raw)
This is a real simple question so i hope there are plenty of people
out there who can educate me.
My original experience with the dump/restore business came from the good old
days of 9-track tapes - nice and easy to use, and the use of -d 6250 and -s
made sense because of the linear correspondence between tape length and
volume size.
Now we have DAT's and that's all out the window. With any given DAT (whether
you have compression activated or not) there is an accepted "ball park" size
of volume that can be written onto the tape safely. My question is how do you
determine this size?
Before what I had done was take the volume size (guess) and divide it by 6250
and insert the resulting length in -s. Then under OSF/1 I found the -B -S
options that allow specification of overall volume size in 1024-byte blocks.
However my experience so far is that this doesn't work properly. When I give
the dump routine a volume size somewhere around 1.7 Gb and dump a volume
larger than that I never get prompted for volume 2 and it always claims that
its dumped the whole thing onto the tape ok - which it clearly hasn't.
FYI I'm running OSF/1 v2.0 and the hardware is a WangDAT with the hardware
compression deactivated. Any suggestions? Thanks.
-------------------------------------------------------------------------------
Paul A. Scowen | Internet: scowen@tycho.la.asu.edu
Dept of Physics & Astronomy | paul.scowen@asu.edu
Arizona State University | Bitnet: scowen@asu
Box 871504, Tempe, AZ 85287-1504 | WWW: http://wfpc3.la.asu.edu/scowen.html
Tel/FAX: (602) 965-0938 / 7954 | http://wfpc3.la.asu.edu/sah.html
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dump and DAT's
1995-03-09 16:54 dump and DAT's Paul A. Scowen
@ 1995-03-11 0:06 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1995-03-13 14:33 ` John Kohl
0 siblings, 1 reply; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1995-03-11 0:06 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dump and DAT's
1995-03-11 0:06 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1995-03-13 14:33 ` John Kohl
1995-03-13 23:00 ` Peter da Silva
0 siblings, 1 reply; 4+ messages in thread
From: John Kohl @ 1995-03-13 14:33 UTC (permalink / raw)
>>>>> "Alan" == Alan Rollow <alan@nabeth.cxo.dec.com> writes:
In article <3jqpih$12n@nntpd2.cxo.dec.com> alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) writes:
Alan> Personally,
Alan> I prefer the running estimate anyway. It gets updated to reflect how
Alan> long it is taking to write data and stays pretty accurate after the
Alan> first estimate.
Ah, this pushes one of my ancient pet peeves for dump's estimates.
Its "done in x:yy" estimates are based on average data rates over ALL
runtime. They really should stop and restart the clock before/after
user interaction. For example, if I start it, and it asks for a second
tape when I'm off doing something else, the time it waits for me to
change tapes is not relevant to its data rate. With current dumps, it
will wildly overestimate remaining time in such cases.
--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing: Atria Software
sometimes hacking on: NetBSD/i386
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dump and DAT's
1995-03-13 14:33 ` John Kohl
@ 1995-03-13 23:00 ` Peter da Silva
0 siblings, 0 replies; 4+ messages in thread
From: Peter da Silva @ 1995-03-13 23:00 UTC (permalink / raw)
In article <D5Dv43.LtM@atria.com>, John Kohl <jtk@atria.com> wrote:
> runtime. They really should stop and restart the clock before/after
> user interaction. For example, if I start it, and it asks for a second
> tape when I'm off doing something else, the time it waits for me to
> change tapes is not relevant to its data rate. With current dumps, it
> will wildly overestimate remaining time in such cases.
> sometimes hacking on: NetBSD/i386
If you hack the NetBSD copy of dump to DTRT, email me a diff, OK?
--
Peter da Silva `-_-'
Network Management Technology Incorporated 'U`
1601 Industrial Blvd. Sugar Land, TX 77478 USA
+1 713 274 5180 "Hast du Heute schon deinen Wolf umarmt?"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-03-13 23:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-09 16:54 dump and DAT's Paul A. Scowen
1995-03-11 0:06 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1995-03-13 14:33 ` John Kohl
1995-03-13 23:00 ` Peter da Silva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox