- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Save set file size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 07:47 AM
04-06-2005 07:47 AM
I use the following command to create a save set file
$ BACKUP/IGNORE=(INTERLOCK)/LABEL=(RSBKUP) DKC0:[000000...]*.*;* MKE500:RS_DAT.SAV/SAVE_SET/NOREWIND/log/block=65024
Then I use the following command to check the save set file size
$mount/ov=id mke500:
$dir mke500:[000000...]*.*/size
it display the RS_DAT.SAV save set file size is 16547 blocks
So the save set file size would be
16547/(2*1024)= 8.07 M
Is that right? For save set file, are they use the same way to calculate the size as the disk file?
thanks
Lionel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 07:54 AM
04-06-2005 07:54 AM
Re: Save set file size
(16547*65024)/(1024*1024*1024) = 1Gb
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 08:00 AM
04-06-2005 08:00 AM
Re: Save set file size
You should expect your save set to be quite a bit larger than the total size of the files you saved into it, because BACKUP adds error detection and correction codes. 10%-20% larger is probably reasonable.
--Travis Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 08:06 AM
04-06-2005 08:06 AM
Re: Save set file size
If I am using the following command without /block=65024
$ BACKUP/IGNORE=(INTERLOCK)/LABEL=(RSBKUP) DKC0:[000000...]*.*;* MKE500:RS_DAT.SAV/SAVE_SET/NOREWIND/log
So the system will use 32256 as default block size
the save set file size would be
16547*32256/(1024*1024)= 509 M
Is that right? 32256 is the system default block size for save set file,correct?
Thanks again
Lionel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 08:32 AM
04-06-2005 08:32 AM
Re: Save set file size
For tape the default block size is 8192 bytes. 32256 is the default block size (record size) for disks. See HELP BACKUP /BLOCK_SIZE.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 08:56 AM
04-06-2005 08:56 AM
Re: Save set file size
Can somebody give me a example how to calculate the disk and save set file size
?
what is the system default block size for disk file and what is the system default block size for save set?
Thanks again
Lionel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 07:52 PM
04-06-2005 07:52 PM
SolutionFor tape files it is in principle the same, just the block-size does vary: file size is nblocks*blocksize bytes.
The block-size of tape files (like savesets), if not known, You can get using DIRECTORY/FULL:
$ mount tape: !NOT mount/foreign
$ directory/full tape:
You get the file-size in blocks , and the record length = blocksize for fixed length records (backup savesets are fixed length records).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 07:58 PM
04-06-2005 07:58 PM
Re: Save set file size
Most drives support compression up to 80%, so if the tape was initialised with /MEDIA=COMPACT, this will have a big effect.
Robert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 01:34 AM
04-07-2005 01:34 AM
Re: Save set file size
For the sake of completeness, why is a directory/full necessary for a save-set on tape, isn't a directory/size enough ?
Directory/size gives the size as number of blocks, but the blocksize is not known.
One can write many savesets to tape, each with different blocksize. So one needs the 'record size' from directory/full to calculate the save-set-size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 02:50 AM
04-07-2005 02:50 AM
Re: Save set file size
You can obtain blocksize using:
Backup/list MKE500:RS_DAT.SAV/SAVE
and see this information on head information of save set file.
Saludos.
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 03:55 AM
04-07-2005 03:55 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 04:31 AM
04-07-2005 04:31 AM
Re: Save set file size
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 04:43 AM
04-07-2005 04:43 AM
Re: Save set file size
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 07:22 PM
04-07-2005 07:22 PM
Re: Save set file size
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 07:55 PM
04-07-2005 07:55 PM
Re: Save set file size
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 08:19 PM
04-07-2005 08:19 PM
Re: Save set file size
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:27 PM
04-07-2005 09:27 PM
Re: Save set file size
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 !