<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Repairing Rdb corrupt pages in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5551649#M102601</link>
    <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To restore just the page, you would want the first valid backup back from before the 2-Feb time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the page dump, it contains some nodes of an index, so you may have a choice even if you can;t restore the page - you may be able to drop the index and recreate it. (Of course, the DROP may fail due to the corrupt page, but it would be worth a try).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are able to restore the page, it may be worth recreating the index anyway, just to be sure it is up to date and includes any changes since 2nd May - though I suspect if there had been any attempts to update they would have crashed due to the corrupt page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which index is it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well the bit that says "index: set 198" on each b-tree node tells us that the logical area number of the index is 198.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So do,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ rmu/dump/larea=rdb$aip/out=a.lis database_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$search/win=8 a.lis "area 198"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That will show you the area name, which should correlate to an index name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hiope that helps,&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2012 04:48:12 GMT</pubDate>
    <dc:creator>Chris Barratt</dc:creator>
    <dc:date>2012-02-15T04:48:12Z</dc:date>
    <item>
      <title>Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5545483#M102597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I inherited responsibility for a system a little over 12 months ago.&amp;nbsp; It's an AlphaServer DS20 running VMS 7.2-1 with Rdb 7.0-5 and application called DECfin.&amp;nbsp; I don't have much Rdb experience but this system is slated for retirement Real Soon Now so the customer has not wanted to devote a lot of time to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today they alerted me to an error in the RMU backup job:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rmug -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /backup -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /online -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lock_timeout=3600 -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /log -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1$dra3:[decfin22.data]catch22.rdb -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1$dra4:[decfin_rmu]ca22.rbf&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%RMU-I-QUIETPT, waiting for database quiet point&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000" face="courier new,courier"&gt;%RMU-E-CORPAGPRES, Corrupt or inconsistent pages are present in area $1$DRA3:[DECFIN22.DATA]CATCH22_AREA02.RDA;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%RMU-F-FATALERR, fatal error on BACKUP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%RMU-F-FTL_BCK, Fatal error for BACKUP operation at&amp;nbsp; 9-FEB-2012 22:30:02.55&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They casually mentioned this had been happening "for a few days" and a review of the previous log files for this job indicates this started on 2nd Feburary i.e. a week ago.&amp;nbsp; I also found this in OPERATOR.LOG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="courier new,courier"&gt;%%%%%%%%%%%&amp;nbsp; OPCOM&amp;nbsp;&amp;nbsp; 2-FEB-2012 22:05:44.23&amp;nbsp; %%%%%%%%%%%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Message from user SYSTEM on ORFF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Oracle Rdb V7.0-5 Database DISK$DECFIN22:[DATA]CATCH22.RDB;1 Event Notification&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Page 3:743742 checksum error - computed 4684D055, page contained 525468E9; retrying disk read&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;%%%%%%%%%%%&amp;nbsp; OPCOM&amp;nbsp;&amp;nbsp; 2-FEB-2012 22:05:48.65&amp;nbsp; %%%%%%%%%%%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Message from user SYSTEM on ORFF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Oracle Rdb V7.0-5 Database DISK$DECFIN22:[DATA]CATCH22.RDB;1 Event Notification&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Page 3:743742 checksum error - computed 4684D055, page contained 525468E9; retrying disk read&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;%%%%%%%%%%%&amp;nbsp; OPCOM&amp;nbsp;&amp;nbsp; 2-FEB-2012 22:06:19.06&amp;nbsp; %%%%%%%%%%%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Message from user SYSTEM on ORFF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Oracle Rdb V7.0-5 Database DISK$DECFIN22:[DATA]CATCH22.RDB;1 Event Notification&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Page 3:743742 checksum error - computed 4684D055, page contained 525468E9; retrying disk read&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;%%%%%%%%%%%&amp;nbsp; OPCOM&amp;nbsp;&amp;nbsp; 2-FEB-2012 22:06:32.47&amp;nbsp; %%%%%%%%%%%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Message from user SYSTEM on ORFF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Oracle Rdb V7.0-5 Database DISK$DECFIN22:[DATA]CATCH22.RDB;1 Event Notification&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Page 3:743742 checksum error - computed 4684D055, page contained 525468E9; retrying disk read&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RMU backup starts at 22:30 each night so the timestamps above are consistent with the backup job first failing on 2-Feb-2012.&amp;nbsp; There are no other Rdb messages in OPERATOR.LOG (the system has been up since 20-Nov-2011).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RMU/SHOW CORRUPT indicates a single page is corrupt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$ rmug/show corrupt DRA3:[DECFIN22.DATA]CATCH22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;* Oracle Rdb V7.0-5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10-FEB-2012 13:57:48.26&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;* Dump of Corrupt Page Table &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Database: DRA3:[DECFIN22.DATA]CATCH22.RDB;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Entries for storage area AREA02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page 743742&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - AIJ recovery sequence number is -1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Live area ID number is 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Consistency transaction sequence number is 0:0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - State of page is: corrupt&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;* Oracle Rdb V7.0-5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10-FEB-2012 13:57:48.27&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;* Dump of Storage Area State Information &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Database: DRA3:[DECFIN22.DATA]CATCH22.RDB;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;All storage areas are consistent.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;My limited understanding of Rdb is that this can be fixed fairly easily using the command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$ &lt;STRONG&gt;RMUG/RECOVER/JUST_CORRUPT/ONLINE/LOG DRA3:[DECFIN22.DATA]CATCH22&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;provided I have a backup from before the problem occurred, which would be the one from 1st Feb (if that's still available on tape) or 27th Jan (the last "weekly" backup, which is kept for longer).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this database does not have AIJ enabled, so does that mean the page in question will remain "stale" and possibly inconsistent with the rest of the database?&amp;nbsp; (The previous system manager, who was reasonably proficient with Rdb, disabled the AIJs in mid-2010 for reasons unknown.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an aside, I found Jean-Francois Pierronne's comments on this subject in another thread from 2005 in which he suggests simply closing and opening the database may fix it.&amp;nbsp; So I'll try that first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeremy Begg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 01:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5545483#M102597</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2012-02-10T01:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5545643#M102598</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First check what is contains in this page, data or index.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can fix the uncorrect checksum using rmu/repair (base closed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then issue a rmu/verify/all on you database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using rmu/restore/just will restore the corrupt page which will become unconsistent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can clear the unconsistent flag (using rmu/set corrupt, or using rmu/alter), then verify the database&lt;/P&gt;&lt;P&gt;if it is an index just drop and recreate the index.&lt;/P&gt;&lt;P&gt;If it's a data page you may have lost some update...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JF&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 06:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5545643#M102598</guid>
      <dc:creator>Jean-François Piéronne</dc:creator>
      <dc:date>2012-02-10T06:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5546263#M102599</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lack of AIJs definitely complicates matters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing to do, is to run a full verification on your database – this will give you an idea as to the scope of the problem (is it limited to only the one page, or is it more widespread, and is the nature of the corruption only “checksums” or page formats, AIP issues, etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the db has been verified (and you are ready to move to the “repair” phase), we strongly recommend that you shutdown the database and do a VMS backup of all the files that make up the database.&amp;nbsp; This way, you will be able to get back to the point you are at right now. :)&amp;nbsp; You can’t buy this afterwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it turns out that it is just the checksum on the one page, then you are in luck (sort of).&amp;nbsp; You can use rmu/alter to put the correct checksum on the page (if the page is indeed messed up, it won't fix that problem). You can then do a "verify" of the page from RMU alter to sanity check this page.&amp;nbsp; Afterwards, you will need to use RMU/SET CORRUPT to clear the corrupt page table entry in the root file (otherwise, you will not be able to perform backups).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it turns out that the page is really messed up, then it becomes more interesting.&amp;nbsp; You could try to recover the specific page from the last backup (clearly, changes since then will be missing – which could result in inconsistencies between the data that was supposed to be on this page and other structures).&amp;nbsp; After you do this, you would need to use rmu/set corrupt &amp;lt;root&amp;gt;/area=&amp;lt;area&amp;gt;/consistent to make the area appear” consistent (again, changes made since the backup will be lost – and logical and physical inconsistencies could still exist).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RMU/Dump of the page before and after a restore (of the corrupt page) might be useful in determining if there were modifications to the page since the last backup.&amp;nbsp; Also dumping the page would provide the timestamp of when the page was last updated (provided that the timestamp isn't &amp;nbsp;part of the corruption).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck - let me know if we can be of further help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad McCusker&lt;/P&gt;&lt;P&gt;Software Concepts International&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.sciinc.com"&gt;www.sciinc.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 19:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5546263#M102599</guid>
      <dc:creator>Brad McCusker</dc:creator>
      <dc:date>2012-02-10T19:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5546527#M102600</link>
      <description>&lt;P&gt;Hi JFP and Brad, thanks for your input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW, I have attached the output of RMUG/DUMP for this database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JFP said, "First check what is contains in this page, data or index" ... how do I do that. &amp;nbsp;(Yes, I really know very little about Rdb.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I shut down the applications and did RMUG/CLOSE on all databases. &amp;nbsp;RMUG/SHOW CORRUPT returned the same result as previously. &amp;nbsp;I then ran RMUG/VERIFY/ALL on the database and it returned without reporting any output. &amp;nbsp;I then tried RMUG/VERIFY/AREA which reported quite a few messages like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%RMU-W-PGSPAMENT, area RDB$SYSTEM, page 68697&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the fullness value for this data page does not match&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the threshold value in the space management page&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; expected: 3, computed: 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%RMU-W-PGSPAMENT, area AREA01, page 216985&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the fullness value for this data page does not match&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the threshold value in the space management page&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; expected: 3, computed: 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%RMU-W-PGSPAMENT, area AREA02, page 1679618&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the fullness value for this data page does not match&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the threshold value in the space management page&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; expected: 0, computed: 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%RMU-E-CORRUPTPG, Page 743742 in area AREA02 is marked as corrupt.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but didn't give any other information about the nature of the corruption.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second attachment is a dump of the "corrupt" page as well as the page immediately before and after it. &amp;nbsp;To this untrained eye it doesn't give any clue as to what's wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "corrupt" page has a timestamp of&amp;nbsp;31-JAN-2012 12:43:45.29 but I'm not sure I can locate a valid backup made between then and when the corruption was noted (2-Feb 22:06). &amp;nbsp;This probably means if I do have to restore from backup it's going to be loading stale data :-(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeremy Begg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2012 08:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5546527#M102600</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2012-02-11T08:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5551649#M102601</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To restore just the page, you would want the first valid backup back from before the 2-Feb time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the page dump, it contains some nodes of an index, so you may have a choice even if you can;t restore the page - you may be able to drop the index and recreate it. (Of course, the DROP may fail due to the corrupt page, but it would be worth a try).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are able to restore the page, it may be worth recreating the index anyway, just to be sure it is up to date and includes any changes since 2nd May - though I suspect if there had been any attempts to update they would have crashed due to the corrupt page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which index is it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well the bit that says "index: set 198" on each b-tree node tells us that the logical area number of the index is 198.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So do,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ rmu/dump/larea=rdb$aip/out=a.lis database_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$search/win=8 a.lis "area 198"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That will show you the area name, which should correlate to an index name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hiope that helps,&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 04:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5551649#M102601</guid>
      <dc:creator>Chris Barratt</dc:creator>
      <dc:date>2012-02-15T04:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5554995#M102602</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think we're getting close now ... here's what I found after dumping the SYS$AIP larea ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;entry #5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00020A7D 014B first area bitmap page 133757&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0003 00C6 014F logical area 198, physical area 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0D 0153 area name length 13 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;00000058444E5F424F4A5F52545F4343 0154 area name 'CC_TR_JOB_NDX...'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; 000000000000000000000000000000 0164 area name '...............'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 000000DA 0173 snaps enabled TSN 218&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00D7 0177 record length 215 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00000000 0179 MBZ '....'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01 017D entry is in use&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 017E MBZ '..'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 000000 0180 thresholds are (0,0,0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1A 0183 ** junk **&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00 0184 record type unknown&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00 0185 MBZ '.'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks to me like index&amp;nbsp;CC_TR_JOB_NDX is the one to recreate.&lt;/P&gt;&lt;P&gt;I'll post an update when I've been able to try it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2012 01:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5554995#M102602</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2012-02-17T01:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Repairing Rdb corrupt pages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5563745#M102603</link>
      <description>&lt;P&gt;I think we're up and running again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the help of a friendly local (thanks Mark!) the index in question was dropped, the page removed from the "corrupt pages" table, and the index rebuilt. &amp;nbsp;I ran RMU/VERIFY/ALL and the only complaints were like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%RMU-W-PGSPAMENT, area AREA01, page 218375&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the fullness value for this data page does not match&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; the threshold value in the space management page&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; expected: 3, computed: 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which I don't think is a serious error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RMUG/BACKUP now runs instead of immediately halting because of the corrupt page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to JFP and Brad for your helpful comments, to Chris for telling me how to identify which index was broken, and to Mark Hurcombe for hands-on assistance on a Sunday morning.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeremy Begg&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2012 09:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/repairing-rdb-corrupt-pages/m-p/5563745#M102603</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2012-02-26T09:43:58Z</dc:date>
    </item>
  </channel>
</rss>

