Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Chris Sharman <Chris.Sharman@CCAgroup.co.uk>
Subject: Re: Forcing BACKUP to use a single tape
Date: 1999/01/07	[thread overview]
Message-ID: <369475DD.77FDB7F1@CCAgroup.co.uk> (raw)
In-Reply-To: 6JAN99.22550250@thuria.waisman.wisc.edu

Carl Karcher wrote:
> 
> 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.

Yes, the drive itself would have to make stats available on how much
compression had been achieved, and the /STAT qualifier would need to
pass that on. It would be a very useful addition. It would be nice if
there were an option to put the stats into DCL symbols etc, so that
automated backups could easily take action based on the values (eg tape
nearly full).



  reply	other threads:[~1999-01-07  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 ` Larry Kilgallen
1999-01-04  5:00 ` Hoff Hoffman
1999-01-05  5:00   ` Chris Sharman
1999-01-06  5:00   ` Carl Karcher
1999-01-07  5:00     ` Chris Sharman [this message]
1999-01-07  5:00       ` Tim Llewellyn
1999-01-11  5:00       ` Chris Sharman
1999-01-06  5:00   ` Dale Dellutri
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