- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Using Backup/Encrypt - Saveset Corruption with...
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
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
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-17-2010 05:47 AM
06-17-2010 05:47 AM
The backup job in question run nightly after quiesing our app (so all files are closed). The job creates 8 savesets. At the time that the savesets are created, each has a "check file" included, this is used for verification. When the Backup is finished, the Verification job is started, and it opens each saveset and extracts the check file. This is basically to verify that the saveset is readable.
The backup and verify jobs have been running fine, and unchanged, since we implimented the encryption, that is until Tuesday night.
On Tuesday night, the backup job ran fine, gave no errors either in the code, or on the tapedrives. When the subsequent verify job executed, it ran fine for the first 4 savesets (extracting the check file as it should). On the 5th saveset it returned the following error,
%BACKUP-F-ENCBSRNOT, internal error. Backup Summary Record required for decryption not found
The job then blew off. After manually checking, savesets 6, 7 & 8 were fine, so the problem seemed to be only with saveset 5.
Note: The scripts had run fine up to this time, and ran fine last night.
The help for this message says;
ENCBSRNOT, internal error. BACKUP Summary, Record required for
decryption not found
Facility: BACKUP, BACKUP/ENCRYPT Command
Explanation: The BACKUP Summary Record that contains the data key under
which the save set is encrypted was not found at the start
of the save set. It is possible that the save set was not
encrypted.
User Action: None. The save set is probably corrupted and cannot be
restored. If the save set was in fact not encrypted, it can
be recovered by omitting the /ENCRYPT qualifier.
When I checked to see if the saveset was in fact encrypted, backup told me that it was, and that I had to use the /Encrypt qualifier.
I tried accessing the saveset manually, i.e. from an interactive session, using Backup/list and the full backup restore command, both with the /encrypt=... qualifier include and excluded. With it included I got the same error as above. With it excluded I got the appropriate "This is an encrypted saveset.." message.
I am concerned that there was no indication in the original Backup Script that this saveset was both corrupted and unrecoverable. If I had not had my verification job in place I would have had no indication that the saveset was bad, and would have happily sent the tape offsite thinking it was a valid backup.
I have attached both the backup command, and the verification command. However keep in mind that these scripts are not inherently bad, having been use consistently and successfully since encryption was implemented, including last night.
I have reported this event to HP but I was interested if anyone had seen this before and could shed light on possible causes.
thanks \
Dave.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 07:44 AM
06-17-2010 07:44 AM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
Are there any good reasons why you are using /NOCRC?
Also, why are you you not using /SAVE after ND06.BCK
Personally, I'd be tempted to run a full suite of tests with /CRC/SAVE and possibly with /VERIFY to see what happens.
HTH
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 08:35 AM
06-17-2010 08:35 AM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
/NOCRC ?? No good reason for or against. It was on the command when I took over administration of these scripts. Not really relevant however since it has always been there, does not appear to influence (that I can see) the encryption problem that I observed.
/Save ?? This is unnecessary since it is the default when writing to tape!
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 08:47 AM
06-17-2010 08:47 AM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
This was a bug in BACKUP utility. This was reported to engineering and has been fixed. This problem occurs while restoring the encrypted saveset, even though the encrypted savesetâ s contents are intact. BACKUP saveset stores the encryption key (which is encrypted) in its BSR (BACKUP summary record). During restore, BACKUP compares this value with the value specified in the BACKUP command. If this comparison fails, then BACKUP reports the %BACKUP-F-ENCBSRNOT. BACKUP utility had a bug which causes BACKUP report the above error in some conditions based on the HEX value of the key. This has been identified and fixed.
Please provide the image identification information of BACKUP.EXE and BACKUPSHR.EXE.
$ ANALYZE/IMAGE/SELECT=(ARCH,FILE,NAME,IDENT,BUILD,LINK) SYS$COMMON:[SYSEXE]BACKUP.EXE;
$ ANALYZE/IMAGE/SELECT=(ARCH,FILE,NAME,IDENT,BUILD,LINK) SYS$COMMON:[SYSLIB]BACKUPSHR.EXE;
Let me check, are the BACKUP images in your machine older and does not contain the fix.
Regards,
Ketan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 09:01 AM
06-17-2010 09:01 AM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
There is a fix available for this issue in V8.3 both in Alpha and IA64. The fix part of VMS83I_BACKUP-V0300 and VMS83A_BACKUP-V0400 kits.
=================
5.2.2 BACKUP Fails While Listing Or Restoring The Encrypted SaveSet
5.2.2.1 Problem Description:
BACKUP fails with below error message while listing or
restoring the encrypted saveset.
%BACKUP-F-ENCBSRNOT, internal error. Backup Summary Record required for decryption not found
=================
You can verify the fix by restoring the saveset(which reports error on V8.3-1h1) on V8.3 Alpha or IA64 after installing the above kits. Please let me know the image idtification information of BACKUP images in V8.3-1h1 and I will check whether they have the this fix in them.
Regards,
Ketan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 09:08 AM
06-17-2010 09:08 AM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
I have attached the image information you requested.
Regarding your comments, I should say that my systems are patched pretty much up to date (at least up to ~4 weeks ago), so unless this "fix" came out recently, I would expect it to be in. Alternatively there is a condition (which I found) which is not covered by the fix.
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 07:24 PM
06-17-2010 07:24 PM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
Did you get a chance to verify the fix on V8.3 Alpha or IA64 machine? Does the BACKUP able to restore or list the saveset (which reports error on V8.3-1h1) on V8.3 after installing the above mentioned kit?
Regards,
Ketan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 08:30 PM
06-17-2010 08:30 PM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
>> There is a fix available for this issue in V8.3 both in Alpha and IA64.
Looks like the problem that you have reported is a known problem which is
fixed. The patch with fix is released for openVMS V83 Alpha/I64.
>> (OpenVMS V8.3-1H1).
The system that you are using is OpenVMS V8.3-1H1. If the problem is same
then all you need may be a Backup patch for OpenVMS V8.3-1H1.
>> You can verify the fix by restoring the saveset(which reports error on
>> V8.3-1h1) on V8.3 Alpha or IA64 after installing the above kits.
If you have other nodes in the cluster then you can try out the tests suggested
by ketan. This should help you to confirm that the problem that you are facing
is indeed the known problem.
>> I have reported this event to HP
Good. So if the problem is the same one, then its a matter of you getting a new
backup image for OpenVMS V8.3-1H1.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 08:34 PM
06-17-2010 08:34 PM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
>> If you have other nodes in the cluster
Oops. To make it clear, i meant any other openVMS V83 node in the cluster.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2010 08:41 PM
06-17-2010 08:41 PM
Re: Using Backup/Encrypt - Saveset Corruption with no warning.
The fix for this issue on V8.3-1h1 is part of below images.
$
$ ANALYZE/IMAGE/SELECT=(ARCH,FILE,NAME,IDENT,BUILD,LINK) BACKUP.EXE;1
BACKUP.EXE;1
OpenVMS IA64
Image
"BACKUP"
"V8.3-1H1"
"XBOR-0090070000"
30-NOV-2007 14:24:47.18
$ ANALYZE/IMAGE/SELECT=(ARCH,FILE,NAME,IDENT,BUILD,LINK) BACKUPSHR.EXE;1
BACKUPSHR.EXE;1
OpenVMS IA64
Image
"BACKUPSHR"
"V8.3-1H1"
"XBOR-0090070000"
30-NOV-2007 14:23:56.75
$
$
Regards,
Ketan