<?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 Recreating a CMS library in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349848#M93155</link>
    <description>I have a CMS library whose control file 01CMS.CMS contains a forced error.  The library continues to work, I can see all the elements, I can operate on them, and everything.  VERIFY also succeeds.  The issue is that BACKUP won't handle the library properly because of the forced error.  Is there any way to read through a CMS library and recreate it exactly as it is in a new library with all of the generations intact?  I realize I can fetch all the latest generations and put them in a new library, but then the history and prior generations are gone.&lt;BR /&gt;-- &lt;BR /&gt;Brian Tillman</description>
    <pubDate>Mon, 02 Feb 2009 20:43:58 GMT</pubDate>
    <dc:creator>BrianT_1</dc:creator>
    <dc:date>2009-02-02T20:43:58Z</dc:date>
    <item>
      <title>Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349848#M93155</link>
      <description>I have a CMS library whose control file 01CMS.CMS contains a forced error.  The library continues to work, I can see all the elements, I can operate on them, and everything.  VERIFY also succeeds.  The issue is that BACKUP won't handle the library properly because of the forced error.  Is there any way to read through a CMS library and recreate it exactly as it is in a new library with all of the generations intact?  I realize I can fetch all the latest generations and put them in a new library, but then the history and prior generations are gone.&lt;BR /&gt;-- &lt;BR /&gt;Brian Tillman</description>
      <pubDate>Mon, 02 Feb 2009 20:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349848#M93155</guid>
      <dc:creator>BrianT_1</dc:creator>
      <dc:date>2009-02-02T20:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349849#M93156</link>
      <description>&lt;!--!*#--&gt;You can clear a forced error by writing to the block in question.  So find the disk block in question by analyzing the VMS error log.  Then write a quick program that assigns a channel to the volume and does a SYS$QIOW using function code IO$_READLBLK and a 1 block buffer (ignoring the error status) and then rewrites the buffer with function code IO$WRITELBLK.</description>
      <pubDate>Mon, 02 Feb 2009 21:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349849#M93156</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2009-02-02T21:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349850#M93157</link>
      <description>Sorry, but that's beyond my skill level.&lt;BR /&gt;-- &lt;BR /&gt;Brian Tillman</description>
      <pubDate>Mon, 02 Feb 2009 21:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349850#M93157</guid>
      <dc:creator>BrianT_1</dc:creator>
      <dc:date>2009-02-02T21:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349851#M93158</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;Grab the DBS_PATCH package and use the PATCH_DISK&lt;BR /&gt;utility to do the read/write that Jess is talking&lt;BR /&gt;about...&lt;BR /&gt;It is quite simple and I have used it a number of&lt;BR /&gt;times.&lt;BR /&gt;If you need any assistance with it I am available&lt;BR /&gt;at dbsneddon at bigpond dot com&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 00:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349851#M93158</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2009-02-03T00:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349852#M93159</link>
      <description>Various organizations can assist rebuilding a CMS library; HP and others here have experience with this.&lt;BR /&gt;&lt;BR /&gt;The brute-force approach is to rewrite the bad block, which is what the other replies here point to.  The data may well be bad; as mentioned below, the block-level ECC is flagging this.&lt;BR /&gt;&lt;BR /&gt;I'd probably just try to use BACKUP to copy the file, and then RENAME the files around so that the copy was the current file.  When the file gets deleted and/or rewritten, the block will be replaced.&lt;BR /&gt;&lt;BR /&gt;There is a disk error here.  These might be an occasional lost block, or this disk could be seeing additional problems.  And volume shadowing or RAID is the only way to recover a block error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"  BACKUP is telling you that there might well be an error in the data&lt;BR /&gt;  stored in the specific original disk sector involved -- this flag&lt;BR /&gt;  indicates that BACKUP was not able to reliably read the data from&lt;BR /&gt;  the disk, and flags the potential corruption.&lt;BR /&gt; &lt;BR /&gt;  Rewriting the faulty disk sector will trigger automatic bad block&lt;BR /&gt;  recovery, and a good block will replace the faulty block."&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;"$ HELP/MESSAGE FORCEDERROR&lt;BR /&gt; &lt;BR /&gt; FORCEDERROR,  forced error flagged in last sector read&lt;BR /&gt; &lt;BR /&gt;  Facility:     SYSTEM, System Services&lt;BR /&gt; &lt;BR /&gt;  Explanation:  This message applies only to devices governed by the mass&lt;BR /&gt;                storage control protocol (MSCP). The data in this sector is&lt;BR /&gt;                copied from another sector that had unrecoverable read errors.&lt;BR /&gt;                This data is written with the Forced Error Indicator set to&lt;BR /&gt;                show subsequent readers that the data is questionable.&lt;BR /&gt; &lt;BR /&gt;  User Action:  Be aware that the contents of the sector are only a close&lt;BR /&gt;                approximation of the data. Use the Backup utility to make a&lt;BR /&gt;                copy of the original file and recover its contents."&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 02:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349852#M93159</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-02-03T02:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349853#M93160</link>
      <description>Hoff said:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I'd probably just try to use BACKUP to &lt;BR /&gt;&amp;gt; copy the file, and then RENAME the files &lt;BR /&gt;&amp;gt; around so that the copy was the current &lt;BR /&gt;&amp;gt; file. When the file gets deleted and/or &lt;BR /&gt;&amp;gt; rewritten, the block will be replaced.&lt;BR /&gt;&lt;BR /&gt;So even though BACKUP complains, if the file is actually good, as seems to be indicated by the ability to use the CMS library and to verify the library, that the copied file should work, correct?</description>
      <pubDate>Tue, 03 Feb 2009 16:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349853#M93160</guid>
      <dc:creator>BrianT_1</dc:creator>
      <dc:date>2009-02-03T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349854#M93161</link>
      <description>&amp;gt;So even though BACKUP complains, if the file is actually good, as seems to be indicated by the ability to use the CMS library and to verify the library, that the copied file should work, correct?&lt;BR /&gt;&lt;BR /&gt;Anything that reads from that block will get the bad data.  (Though I do hesitate to write "gets the same bad data" there.  Different readers could well get different bad data.)   BACKUP is simply telling you it got bad data.   Whether or not the bad data or the bad block is relevant here is another discussion; there are cases where bit errors that don't matter can arise.  On the other hand, bit errors can slam you.  (The most recent data I've seen on reliability points to an average of three to six of these errors per terabyte, too.)&lt;BR /&gt;&lt;BR /&gt;The above assumes the absence of a BACKUP bug.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 17:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349854#M93161</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-02-03T17:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recreating a CMS library</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349855#M93162</link>
      <description>ps: here are two articles I wrote up a while back...  The first introduces FORCEDERROR, and the second shows SCSI bad block handling.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://64.223.189.234/node/1115" target="_blank"&gt;http://64.223.189.234/node/1115&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://64.223.189.234/node/838" target="_blank"&gt;http://64.223.189.234/node/838&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 17:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recreating-a-cms-library/m-p/4349855#M93162</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-02-03T17:22:38Z</dc:date>
    </item>
  </channel>
</rss>

