- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Data restore
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 01:25 AM
04-06-2005 01:25 AM
We have a 20G data disk. We use following command to backup to tape, it took 70 minutes
Backup/image dkd105: mke500:dkd105050305.sav/sav/block=65024
When restoring the data from tape to disk
using following command, it took more than three hours.
BACKUP/IMAGE MKE500:DKD105050305.SAV/SAV DKD105:
Is that normal?, Anyway to speed up restore?
Thanks
Lionel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 02:14 AM
04-06-2005 02:14 AM
Re: Data restore
On the backup, the system can use a lot of caching, and does not need to care about some data (like bitmap.sys), and can issue concurrent read IOs as one read will not influence the other (other then speed)
On restore files have to be created, space allocated, one at a time. Yes the user data writes can (and are?) done in parallel, but the file and directory stuff around it goes one at a time pretty much, with lots of write IOs to bitmap and indexf.sys and so on.
I'm speculating a little here. Maybe Guenther can correct me. Still, it feels right for it to be slow.
Also, when a slow a little the tape may stop streaming, in which case you slow a lot more.
Finally... are you sure that was the right restore command? When I just verified that (on a ram disk), it created a flat restore structure. Don't you need DKD105:[*...]
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 02:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 02:24 AM
04-06-2005 02:24 AM
Re: Data restore
What you are seeing is fairly typical (at least it
is in our situation). What can really impact the
restore is a large number of small files. You would
want to check how many files are in the backup and
some idea of number of large files compared to number
of small files.
If you have lots of small files you will not likely
be able to improve the restore time.
Regards
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 02:51 AM
04-06-2005 02:51 AM
Re: Data restore
Uwe> Hein,
you might have forgotten the /IMAGE qualifier on the restore...
Right right. I spaced.
I tried that first, but it did not do anything. Looking back that was because I had the output mounted normally.
I got the files back dropping the /ima, but should have remounted the output /foreign. With that in place the XQP is no longer involved and Backup can use its own Files-11 structure create commands.
Still the main problem remains. When creating a file, many data elements need to be updated: indexf, bitmap, directory and finally data. So for restore many more (write) IOs will be needed which become more signifincat as you have more and smaller files.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 03:00 AM
04-06-2005 03:00 AM
Re: Data restore
This will save ALL disk blocks, which might not make a big difference if the disk is quite full.
The downside is that you cannot restore a single file from the physical backup. At least in older versions of OpenVMS you had to restore to a disk with the same size (and in the early days even with the same geometry).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 03:15 AM
04-06-2005 03:15 AM
Re: Data restore
As BACKUP creates each file individually using XQP QIOs (I think) then changing the RMS parameters won't help either.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 11:14 PM
04-07-2005 11:14 PM
Re: Data restore
how often do you have to do a BACKUP save?
Quite often, I hope!
How often do you do a restore?
Very rarely, I hope!!
So, improving SAVE speed has a much bigger impact than improving RESTORE speed.
... but if you need that restore, it may be a nuisance.
Then again, IF you need that restore, my guess is that the (guaranteed!!) quality & integrity of that restore is MUCH more important than the speed.
just my EUR 0.02
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 11:44 PM
04-07-2005 11:44 PM
Re: Data restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 01:39 AM
04-08-2005 01:39 AM
Re: Data restore
AFAIK backup/image without /noini qualifier always initialize output device so it can't run any concurrent process writing on disk. It's true restore command has to write to index, bitmap and directory, but comparing backup time (70 min.) with restore time (210 min.) the rate is 3:1. I'm not sure that's the mere reasion.
I believe the tuning is not at the best.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 01:46 AM
04-08-2005 01:46 AM
Re: Data restore
The problem is that a lot of meta data needs to be written on a restore and that is a synchronous operation - I doubt that BACKUP does any optimizations. Also, you cannot optimize any head movements.
Show us how to tune a restore!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 02:03 AM
04-08-2005 02:03 AM
Re: Data restore
Use /group=0 to reduce the overhead by 10%.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 05:04 AM
04-09-2005 05:04 AM
Re: Data restore
assuming you make restore with default /INIT option; because of this you have to work in single user mode.
Assuming no other users/processes are running while you make the restore.
Assuming in your saveset there are many sequential files.
You can temporary trick your system to avoid multiple i/o on disk.
You can turn on deferred write with
$ SET VOL DKD105: /NOWRITE
Also you can increase multiblock count (it works fine only on sequential files)
$ SHOW RMS !--read current value
$ SET RMS /BUFF=128 !-- set new value
Also you can increase two system parameters ACP_DINDXCACHE and ACP_DIRCACHE. They are both dynamic.
It is very importart you restore all modified parameters after you terminate saveset restore.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 07:36 AM
04-09-2005 07:36 AM
Re: Data restore
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 08:23 AM
04-09-2005 08:23 AM
Re: Data restore
And that would be for non-image restores.
For /IMAGE restores, as discussed here, the target device is mounted /FOREIGN and it is all Backup's doing. No RMS, no XQP. Backup knows and executed the ODS layout with logical IOs, not virtual IOs.
I discussed this some with Mark H. We believe image restore does do the bitmap in a single IO, but the indexf.sys in a single block IO per file. Furthermore it is all synchroneous, in line = slow. This in contrast to the backup phase which will do concurrent IO. This could obviously be improved upon, but over the past decades there has been no business justification for that.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 07:13 PM
04-10-2005 07:13 PM
Re: Data restore
A backup design usually includes the RTO ;-)
Yes, of course. And Management should have a written, advance, realistic estimate.
But, in my experience (scarse on VMS, but witnessed from the side-line on *UX and Billyware all too frequently) the DECISION to restore always took longer than the actual resore itself.
And yes, the discussion always starts with ANY time being too long. But in the balancing between restore duration, restore reliability and backup duration usually restore duration looses priority.
Much more can be gained by a real rigid (and rehearsed) procedure for the restore-decision process.
YMMV !!
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:06 PM
04-11-2005 07:06 PM
Re: Data restore
I know restore takes more time than backup in vms, but the rate 3:1 seems to me too high.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:23 PM
04-11-2005 07:23 PM
Re: Data restore
so RTO = Recovery Time Objective.
It means that the customer specifies the time in which the data must be available again and the backup solution is planned accordingly (or the RTO must be relaxed for reasons like not enough money or other constraints ;-)
Antonio,
haven't you followed recent discussions here?
*** Modern tape drives are not slow ! ***
A tape media is just moving forward (a LTO-3 at up to 80 MegaBytes/second, uncompressed). A disk drive must move its arm to the correct cylinder and then wait until the right sector passes the head.
Re-read Hein's excellent descriptions about why a restore is limited to lots of small, synchronous I/Os, which will make the restore slow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:40 PM
04-11-2005 07:40 PM
Re: Data restore
thank you for RTO meaning.
I'm with you about new quick tape devices but, in this case, tape throughtput is less than 0,285 Mbs per minute (20Gb/70min) so I believe it is a DAT tape, no some device like DLT.
I'm still convinced the rate 3:1 is unreasonable, in this case.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:47 PM
04-11-2005 07:47 PM
Re: Data restore
I guess we need to compare out maths:
20,000,000,000 / (70*60) = 4,761,904
Thats 4.7 MegaBytes/second to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 09:23 PM
04-11-2005 09:23 PM
Re: Data restore
you are right!
The throughtput is around 5Mbs.
However, 5Mbs is the rate of DAT tape.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 09:31 PM
04-11-2005 09:31 PM
Re: Data restore
In the early 1997 I was working in a project where we could read between 850 KiloBytes/sec from the system disk and multiple MegaBytes/sec from the data disk (large database files) to the same destination (a DECnet node with an attached HSZ RAID subsystem).
We don't know the hardware and we don't know what the disk's file structure looks like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 06:56 PM
04-24-2005 06:56 PM
Re: Data restore
Cass