<?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: File corruption by CONVERT? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067631#M61020</link>
    <description>Hello Hein,&lt;BR /&gt;&lt;BR /&gt;I perfectly agree that poor tuning is no &amp;gt;&amp;gt;excuse&amp;lt;&amp;lt; for corruption and if you look up your internal problem tracking systems you might find that the company I do work for takes these issues pretty seriously. I just mentioned it because I did encounter situations where files were corrupted after a multi-step file transfer and tunig the FDL (besides of generally being a good idea) made the problem go away. And yes, I do agree this is not a solution, but a workaround and one should make sure the problem is reported and escaleted properly in any case, but often a first and fast workaround is something you look for if you have a problem with a production system ;-)&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
    <pubDate>Sat, 13 Sep 2003 16:43:44 GMT</pubDate>
    <dc:creator>Martin P.J. Zinser</dc:creator>
    <dc:date>2003-09-13T16:43:44Z</dc:date>
    <item>
      <title>File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067623#M61012</link>
      <description>On behalf of a customer....&lt;BR /&gt;Given environment: VMS 7.1-2&lt;BR /&gt;&lt;BR /&gt;CONVERT has found an indexed-sequential file being corrupted:&lt;BR /&gt;&lt;BR /&gt;convert BEHAND.ISM;1 behand.msi&lt;BR /&gt;%CONV-F-READERR, error reading DRA0:[000000]BEHAND.ISM;1&lt;BR /&gt;-RMS-F-CHK, bucket format check failed for VBN = 5458&lt;BR /&gt;&lt;BR /&gt;ANALYZE/RMS found this error but it could not be repaired. The corrupted bucket was found in a data area.&lt;BR /&gt;ANALYZE/DISK didn't reveal any errors, nor was anything found in errorlog or operator.log.&lt;BR /&gt;&lt;BR /&gt;We found mutiple files that had a similar problem. Since it occurred on a production system, solving the problem had higher priority than finding out what caused it. &lt;BR /&gt;First attempt was to make the file sequential.&lt;BR /&gt;Since CONVERT did not work, we first tried to achive this another way, but TYPE and EDIT failed as well. Restore from backup wasn't a solution either since some files carried the very same error!&lt;BR /&gt;However, we managed to recover the data, either from backup or by reading around the error spot (block-by-block). &lt;BR /&gt;&lt;BR /&gt;Now that is setteld, we still like to find out what could have caused the error. My suspicion is XQP, I know it was causing errors in ealier versions and it was advised to turn it off.&lt;BR /&gt;I would like to know if this could have been the case and if so, how to switch it off and if that requires a reboot.&lt;BR /&gt;&lt;BR /&gt;FYI: Learned from this: Although the documentation states you would have to recover from backup, this doesn't always solve the problem: The error could exist in the backup version as well...So beware.)&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Sep 2003 11:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067623#M61012</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-09-10T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067624#M61013</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;we had a similar problem with indexed files. It turns out that CONVERT was the culprit and that a patch was issued for the problem... but it was on VAX VMS 7.2. The patch was for RMS..&lt;BR /&gt;VAXRMS_072 and it required that VAXUPDATE01_072 was installed first.&lt;BR /&gt;&lt;BR /&gt;gary</description>
      <pubDate>Wed, 10 Sep 2003 12:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067624#M61013</guid>
      <dc:creator>Gary Sachs</dc:creator>
      <dc:date>2003-09-10T12:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067625#M61014</link>
      <description>Hello Willem,&lt;BR /&gt;&lt;BR /&gt;one thing you might want to check is if the FDL for these files matches your current needs. If index levels get to deep and/or you have many extents on the file they do become more error prone.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Wed, 10 Sep 2003 14:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067625#M61014</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-09-10T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067626#M61015</link>
      <description>When RMS buckets use the first and last byte as a sanity check. The check bytes are incremented before writing. This is a simple check for partial writes (due to power failure or system crash), or for other types of corruption.&lt;BR /&gt;&lt;BR /&gt;Dumping the bad block (in your example VBN 5458) might shed some light on the source of corruption - for example if there is obvious data from another file.&lt;BR /&gt;&lt;BR /&gt;Multiple files with the same type of error suggests a systemic cause. Find all the VBNs and map them to LBNs. If they're all in the same region, you may have a hard fault on the drive, or a single event that corrupted them all at the same time. Scattered blocks in space or time is more likely to be a software problem.&lt;BR /&gt;&lt;BR /&gt;Make sure you're up to date with all RMS, EXP and SYS ECOs for your versions. Also consider other likely candidates - defraggers, anything that caches or "optimises" disk I/O, or rogue users.&lt;BR /&gt;&lt;BR /&gt;To recover, first try a "plain" CONVERT, if that fails try CONVERT/KEY=n for all secondary keys (but beware null keys - not all records may be present on all secondaries). If all these fail, then restore backups or write a program to recover as much as you can (as you've already done).&lt;BR /&gt;&lt;BR /&gt;Protect yourself from this type of error by taking frequent BACKUPs, regular CONVERTs and/or ANALYZE/RMS. Perhaps check important files before the backup so you don't backup corruption. For especially valuable data, it might be worth doing CONVERTs to a sequential file as an emergency backup - sequential files are less likely to suffer fatal structural corruption. This can be done "live" with CONVERT/SHARE.</description>
      <pubDate>Wed, 10 Sep 2003 22:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067626#M61015</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2003-09-10T22:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067627#M61016</link>
      <description>Thnaks to all - it tells me what I wanted to know.</description>
      <pubDate>Thu, 11 Sep 2003 05:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067627#M61016</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-09-11T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067628#M61017</link>
      <description>Hi Willen,&lt;BR /&gt;some months ago I'm gone in same problem.&lt;BR /&gt;During recovery operations I've discovered I can read record using direct primary key.&lt;BR /&gt;Example:&lt;BR /&gt;AA First Record&lt;BR /&gt;BB Second Record&lt;BR /&gt;--- VBN Error&lt;BR /&gt;CC Thirth Record&lt;BR /&gt;Reading (and converting) file received VBN error after record BB but after read using CC key I can restart sequential read to convert into sequential format.&lt;BR /&gt;Obviously it was very hard find next sequential key after error and I can't find the program used in past for furthermore help you.&lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Sep 2003 06:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067628#M61017</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-09-11T06:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067629#M61018</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;That's just the way it was done ;-)...</description>
      <pubDate>Thu, 11 Sep 2003 08:04:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067629#M61018</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-09-11T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067630#M61019</link>
      <description>&lt;BR /&gt;Glad you got (most of) your data back.&lt;BR /&gt;Yes, silent corruption on a backup is scary.&lt;BR /&gt;&lt;BR /&gt;Therefor I recommend to CONVERT the old production file instead of, or as a preluse to, backup.&lt;BR /&gt;&lt;BR /&gt;To figure out the cause of the corruption you need to know details on the data found. DUMP is your friend... after a simple ANAL/DISK.&lt;BR /&gt;&lt;BR /&gt;The easiest data recovery technique is indeed to find a new starting point for a sequential read. DCL READ/KEY can help. ANAL/RMS/INT can help to find the next key/rfa through the index, sometime as parallel applicaiton file exists with key values, and somethime a simple binary search suffices.&lt;BR /&gt;&lt;BR /&gt;Well tuned files tend to have fewer IOs and corrupt less, but poor tuning is no excuse for corruption!&lt;BR /&gt;&lt;BR /&gt;For both tuning and patchin advise be sure to check out my freeware powerpoint presentation: &lt;A href="http://h71000.www7.hp.com/freeware/freeware50/rms_tools/rms_tuning.ppt" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware50/rms_tools/rms_tuning.ppt&lt;/A&gt;&lt;BR /&gt;[feedback is appreciated: hein at hp dot com]&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Sep 2003 03:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067630#M61019</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-09-13T03:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: File corruption by CONVERT?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067631#M61020</link>
      <description>Hello Hein,&lt;BR /&gt;&lt;BR /&gt;I perfectly agree that poor tuning is no &amp;gt;&amp;gt;excuse&amp;lt;&amp;lt; for corruption and if you look up your internal problem tracking systems you might find that the company I do work for takes these issues pretty seriously. I just mentioned it because I did encounter situations where files were corrupted after a multi-step file transfer and tunig the FDL (besides of generally being a good idea) made the problem go away. And yes, I do agree this is not a solution, but a workaround and one should make sure the problem is reported and escaleted properly in any case, but often a first and fast workaround is something you look for if you have a problem with a production system ;-)&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Sat, 13 Sep 2003 16:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-corruption-by-convert/m-p/3067631#M61020</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-09-13T16:43:44Z</dc:date>
    </item>
  </channel>
</rss>

