- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Determine size of Backup save set prior to bac...
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
06-07-2006 10:30 AM
06-07-2006 10:30 AM
I have a disk I want to defragment. Easiest way would be to image backup this disk to a save set on another disk and then restore.
However, I would like to know how much space this save set is going to take up to prior to actually doing the backup. My resources are limited so I may or may not have another disk with the amount of free space needed. If I can't backup to a disk I will be forced to back up to tape and restore.
I know to set /GROUP=0.
BACKUP a.dat,a.com a.bck/sav/group=0
I have been working a bit with HP and experiementing a bit. For example I backed up some files (1 block each)to a save set and then dumped the save set and saw that files were all in the same save set record. However, if I now backup the three files a.dat, a.com and a.bck, each file is in its own backup save set record. The resulting backup save set is 252 blocks = 4 * 63 (32,256 bytes)
Needless to say it is a little confusing. I know that each save set record has a header and each file has a header as well.
Is there any documentation that describes how things are layed out in a backup save set? Any information on how it chooss to put only one or more than one file in the same save set record?
Thanks
Cass
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 01:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:58 PM
06-07-2006 03:58 PM
Re: Determine size of Backup save set prior to backup
make that command $ BACKUP/LIST/ANAL saveset.bck/SAVE
The backup saveset file and record structure is only available from the OpenVMS source listings.
For a BACKUP/IMAGE, I would expect the size of the backup saveset to be 'just a little bit more' than the USED disk space of the input disk - taking into account files marked /NOBACKUP.
I don't think it's worth while to experiment with just a few files. If you want to experiment, take a whole directory tree (couple of 100 files maybe) and then compare DIR/SIZ <...> with the backup saveset size.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 04:14 PM
06-07-2006 04:14 PM
Re: Determine size of Backup save set prior to backup
Hi Cass,
Long time no see.
What sort of storage are you working with? Any chance you could either borrow disk or use a "spareset" disk for the target of your backup then modify the disk identifier and configuration.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 05:04 PM
06-07-2006 05:04 PM
Re: Determine size of Backup save set prior to backup
Why not do an IMAGE backup to another disk, then swap them around in the shelf? (or reassign LUNs in the controller) One step only required, and you know exactly what size you need (as long as the target disk is at least as large as the existing drive, you can't go wrong ;-)
Estimating the exact size of a backup saveset is tricky as it depends on LOTS of factors. I'd allow for at least twice the size of the files to be sure it will fit.
Don't try to work it out from the backup saveset layout - expect that to change. Also expect any method to estimate sizes to change. (maybe very soon! ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 09:06 AM
06-08-2006 09:06 AM
Re: Determine size of Backup save set prior to backup
Andy, Sorry about the points. Blame it on the scroll wheel on my mouse. Please reply again so I can assign points. We have 100 sites with disk subsystems ranging from HSZ40s and SW300 cabinets to HSG80, to MSA1000. I would rather not have to have each site modify their disk layout. One is that is dificult to write the instructions for a variety of disk subsystems and two, the level of sophistication varies from site to site so I want to keep this simple.
John can you elaborate on things changing very soon?
I have done some testing.
In one test I had a directory where I created 10,000, 20,000, 30,000 and 40,000 files each being 1 block in size. I then did an image backup of that disk and examined the size of the backup save set.
Backup command was:
BACKUP/IMAGE diskT: diskS:a.bck/sav/group=0
Disk Size of
#files Blocks Save set
2 2 378
10,003 11,002 18,207
20,004 22,003 36,036
30,005 33,004 53,865
40,006 44,005 71,631
Remember directory file is growing also.
I also tried the same backup of real life disk I want to backup.
Disk Size of
#files Blocks Save set
15,607 66,942,568 68,035,338
11,487 44,407,522 45,134,964
No clear pattern that I can see comes to mind that can explain the different sizes of the backup file with regards to the number of files and disk blocks being backed up.
My problem is coming up with an way to estimate the size of the disk needed to store the backup file that is reasonable but not too high. I don't want to prevent someone from using a disk for the save set (versus tape) just because they didn't think they had enough free disk space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 02:04 PM
06-08-2006 02:04 PM
Re: Determine size of Backup save set prior to backup
>John can you elaborate on things changing very soon?
Sorry, not at this time... let's just say the release notes and new features guides for V8.3 should make very interesting reading ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 05:36 PM
06-08-2006 05:36 PM
Re: Determine size of Backup save set prior to backup
the backup saveset size values seen when backing up your 'real life disks' should be more typical than the backups from your 1-block file tests.
It may be near to impossible to predict the maximum backup saveset size for backing up a certain disk.
Another test comes to mind:
$ BACKUP/IMAGE disk NLA0:BCK.BCK/SAVE
then type CTRL-T from time to time and see the saveset block count increase. Unfortunately, the Operation Count on the NLA0: device does not increase, but if you did type CTRL-T shortly before backup has finished, you'll know the backup saveset size pretty well (saveset block count times blocksize divided by 512 bytes).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 07:34 PM
06-08-2006 07:34 PM
Re: Determine size of Backup save set prior to backup
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 12:55 AM
06-09-2006 12:55 AM
Re: Determine size of Backup save set prior to backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:23 AM
06-09-2006 02:23 AM
Re: Determine size of Backup save set prior to backup
remove 1 disk from the system disk shadow set, mount/for of the disk, image backup from active disk to foreign disk, reboot from new disk. All well ? Then add the other disk to shadow disk. No ? Reboot from the old disk.
Very simple.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 04:57 AM
06-09-2006 04:57 AM
Re: Determine size of Backup save set prior to backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 04:59 AM
06-09-2006 04:59 AM
Re: Determine size of Backup save set prior to backup
Thanks one and all for your input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 08:27 AM
06-26-2006 08:27 AM
Re: Determine size of Backup save set prior to backup
Cass