From: karcher@thuria.waisman.wisc.edu (Carl Karcher)
Subject: Re: Forcing BACKUP to use a single tape
Date: 1999/01/06 [thread overview]
Message-ID: <6JAN99.22550250@thuria.waisman.wisc.edu> (raw)
In-Reply-To: 76rg1r$5u1@usenet.pa.dec.com
In a previous article, ddellutr@MCS.COM (Dale Dellutri) wrote:
->Could you also ask them to add a /STATISTICS qualifier similar to the one
->for SORT? I'd love to know number of blocks actually written to the save
->set, etc, so I could do a better job of guessing how much of the tape I'm
->using.
You should be able to get a reasonable estimate by taking the difference in
the IO operation count (F$GETDVI("MKAnnn","OPCNT")) before and after the backup
command, multiply that by the block size (in bytes) of the save set then divide
by 512. Or:
saveset_blocks = (OpCnt[after] - OpCnt[before]) * blocksize/512
If you use /VERIFY then divide by 2. The result has been fairly close in my
observations (at least back in VMS V6.2, I've not checked V7.1). Of course,
if your tape drive does compression that will introduce another variable if
your goal is estimating actual tape usage.
next prev parent reply other threads:[~1999-01-06 5:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-04 5:00 Forcing BACKUP to use a single tape Martin Platts
1999-01-04 5:00 ` Hoff Hoffman
1999-01-05 5:00 ` Chris Sharman
1999-01-06 5:00 ` Carl Karcher [this message]
1999-01-07 5:00 ` Chris Sharman
1999-01-07 5:00 ` Tim Llewellyn
1999-01-11 5:00 ` Chris Sharman
1999-01-06 5:00 ` Dale Dellutri
1999-01-04 5:00 ` Larry Kilgallen
1999-01-06 5:00 ` Tim Llewellyn
1999-01-10 5:00 ` George Cornelius
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