- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Corruption....
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
Discussions
Forums
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
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
тАО10-04-2004 07:48 PM
тАО10-04-2004 07:48 PM
ANA/RMS revealed a big problem:
*** VBN 1272006: Record at offset %X'25E0' has a missing or illegal RRV.
(on key 0, about 140 pages, different VBN (but majority of above one) and offsets)
and finally
*** VBN 1260806: The bucket chains for key #0 contain a loop.
Unrecoverable error encountered in structure of file.
The analysis uncovered 7697 errors.
The loop has been found in the output mentioned above: the same combination VBN and offset was found several times.
Simple CONVERT fails - at least, it seems there will be missing records:
%CONVERT-I-SEQ, record not in order
1000's of them...
The file has been created using BACKUP to tape and restored to disk different times; I don't know the exact qualifiers for neither of them, nor do I know of errors that have been reported.
Both restored versions revelead errors on ANALYZE/RMS but it is said that one could be converted. But I don't know of errors.
I'm still working on this (CONVERT/FDL is running but seems to loop as well....), but would just like to have your opinion:
* What does the message actually mean ("invalid or missing RRV)?
* Could it be introduced by tape errors (writing to, or reading from).
* Can the file-contents be saved by CONVERT (I do have a proper FDL) or would I need to access the file by alternate key (to save as much as possible)
Willem
OpenVMS Developer & System Manager
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 08:52 PM
тАО10-04-2004 08:52 PM
Re: Corruption....
RRVs are record reference vector used when a bucket split occurs. They are used for alternate keys.
Many years ago I have similar problems on a corupted disk (hardware error). Some index files have holes (missing blocks). It was a very long and hard work to restore as much as possible.
You can try to read by alternate key, but there is a little posibility to succed, because of the invalid RRVs. Another posibility is to write a program which reads the file by RFAs (I used this in the previous mentioned disaster). In this program You generate the RFA sequential and try to read with it, if the read succed save the record else generate next RFA. On a big file this will be a long process. So try to save as much as possible with sequential access, access by alternate keys, reverse reading by keys etc...
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 09:24 PM
тАО10-04-2004 09:24 PM
Re: Corruption....
I think Zap is in the rms_tools in the freeware.
Good luck
Gerard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 11:49 PM
тАО10-04-2004 11:49 PM
SolutionThen convert is likely to loop also, as is uses vanilla RMS to read, and a private algoritme to write/fast.
>> The loop has been found in the output mentioned above: the same combination VBN and offset was found several times.
A loop means that the 'next' pointer in a bucket header points back to a bucket earlier in the chain.
Check out my RMS_TUNING presentaiton on the VMS Freeware under RMS_TOOLS. It describes teh basic indexed file internal structure, and in the second part has the details for a bucket header, record header and some hints how to deal with corrupctions.
>> %CONVERT-I-SEQ, record not in order
Well, if you do loop back, they will be out of order no?
>>The file has been created using BACKUP to tape and restored to disk different times; I don't know the exact qualifiers for neither of them
The biggest culprit we know of is /ingor=interlock on the input, as it allows backup to read inconsistent data and data 'on the move'. One backup read may catch the beginning of bucket before it is update, then next may catch the tail with an update IO between them.
>> Both restored versions revelead errors on ANALYZE/RMS but it is said that one could be converted.
Just use the one that can be converted!?
Sounds like tape read problems. Clean heads?
>> What does the message actually mean ("invalid or missing RRV)?
That the header of a record in a bucket is corrupted. Or that the record does not really start where is is believed to start.
If the record was not moved (split) then it's RRV should point to itself.. if not: badrrv. If the record is moved, then the remaining header, commonly referred to as 'the rrv', should point to a valid record. If not: badrrv. There is an early check that the VBN in each RRV (similar to an RFA) is 'reasonable', that is lower than the HIBLOCK of the file. Random ascii fails that test in general: badrrv
* Could it be introduced by tape errors (writing to, or reading from).
Yes, and by bad procedures (ignr=interlock)
* * Can the file-contents be saved by CONVERT (I do have a proper FDL) or would I need to access the file by alternate key (to save as much as possible)
There is no single answer.
Convert, like any SEQUENTIAL RMS read, does NOT use RRV's that's the good news.
Reportedly bad RRV's suggest serious other corruption. That's the bad news.
Clearly convert need 'help'. Perhaps a single 'patch' (with my zap tool?), to fix up one 'next' pointer can bring order back.
Focus on the FIRST error reported.
Understand that the first VBN with a reported corruption may be just a 'victim'. That is, it should not have been pointed to.
So the VBN before it (not reported) may actually be the place to fix!
We have also seen bad (corrupted) records in a file causing RMS to look places where it should not.
Try the other tools in my directory?
DUMP the FIRST VBN reported, for a length of the bucket, and the DUMP the bucket before it, hoping it is logically before it. Just eyeballing that may reveal problems.
ANAL/RMS ... POS/BUC badvbn ... DOWN
NEXT NEXT... watch that offset!
Use the INDEX bucket above it, to determine the prior bucket.
Make a big pot of coffee, and some scratch paper (Excell), and start to build a mental picture of the file. Which key value ranges live where, which vbn lives where, points to what other,
Patience!
(Oh... and don't forget that cost/benefit analysis: What is it worth to restore some data, most data, one more record,...)
Good luck,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 12:18 AM
тАО10-05-2004 12:18 AM
Re: Corruption....
That was a bit short, and may need clarification.
It is not 'the vbn', but the 'the bucket identified by its starting vbn.
And it is not just 'before it', but LOGICALLY before it. In key primary key order, not in VBN order.
Willem, ik hoop dat je een beetje van puzzellen houd... dan kan dit een leuke oefening worden. Zo niet, dan wordt het afzien. Wellicht support inschakelen?!
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2004 06:39 AM
тАО10-05-2004 06:39 AM
Re: Corruption....
All explanations have given me a good insight. Hein, thanks for the extensive education. I think we all learned from that.
Hein - ik heb het bestand gelukkig nog dus als er wat (eigen) tijd is, wordt het inderdaad een aardige oefening. Tijd dat ik er weer wat aan doe ;-)
We spreken elkaar nog wel
(Sorry guys. Just a short chat between two Dutchmen).
Willem
OpenVMS Developer & System Manager