1753774 Members
6823 Online
108799 Solutions
New Discussion юеВ

Re: Save set file size

 
SOLVED
Go to solution
Joseph Huber_1
Honored Contributor

Re: Save set file size


Daniel,
backup/list gives the block-size, but not the number of blocks to calculate the saveset-size.
The number of blocks at the end of the listing gives the DISK blocks of the files written to the saveset , which may differ more or less from the backup save-set-size.
http://www.mpp.mpg.de/~huber
Daniel Fernandez Illan
Trusted Contributor

Re: Save set file size

Joseph,
But the first information (header of backup/list contains information about size of blocks in save set
i.e.
Save set: HIT704.SAV
Written by: KIT_BUILD
UIC: [000100,000001]
Date: 5-JAN-1996 08:44:47.27
Command: BACKUP/LOG/NOREWIND COMMON*.*,HITMAN*.* MKA500:HIT704.SAV/LAB
EL=SAIGA
Operating system: OpenVMS Alpha version V1.5
BACKUP version: V1.5
CPU ID register: 80000000
Node name: _ROC::
Written on: _ROC$MKA500:
Block size: 8192
Group size: 10
Buffer count: 219

Saludos
Daniel
Ian Miller.
Honored Contributor

Re: Save set file size

Daniel, Joseph is saying that you can get the total size in blocks of the disk files written to the save set from the backup listing. This is in addition to getting the saveset record size from the backup header.
____________________
Purely Personal Opinion
Joseph Huber_1
Honored Contributor

Re: Save set file size

Yes Ian.
Daniel, of course You're right, but it does not solve Lionels problem to get the real size of a saveset on tape. It would be a bit outrageous to do a directory/size to get the number of blocks, and then a backup/list to get the blocksize. Directory/size/full gets all in one run over the tape.
http://www.mpp.mpg.de/~huber
Daniel Fernandez Illan
Trusted Contributor

Re: Save set file size

Ian, Joseph
Thanks for your appointment.
Might another form be obtain the size of the block of save-set (backup/list), the total size of the save-set (dir/size) and multiply both values?.
But these procedures works only after backup operation, other question was obtain save set size preview (before backup).
Sorry for my english.
Saludos
Daniel.
Ian Miller.
Honored Contributor

Re: Save set file size

Daniel,
there is not currently a way to predict the size of the savset and the affect of compression. What are you trying to do - predict tape capacity?

I did post the following query on the hp advocacy site
BACKUP should display backup size summary
http://www.hpuseradvocacy.com/advocacy/metoo/metooissue.cfm?IssueID=1795

and recieved a response
http://www.hpuseradvocacy.com/Response/jan2005.htm
which says they are planning on adding some things.
____________________
Purely Personal Opinion
Joseph Huber_1
Honored Contributor

Re: Save set file size

Daniel,
the first question: multiplying dir/size and block-size from backup/list gives the correct size - but You will not want it, because You have to go over the tape TWICE and read the entire savesets to list them.
DIRECTORY/FULL returns both, the number of blocks and the block-size, and it does it in one go for all savesets on tape, and it does it much faster: it does not read the entire savesets, just the file-headers on tape.

Ian has answered the second question, great if it becomes true in a future backup version !

http://www.mpp.mpg.de/~huber