<?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: First shadow copy in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355324#M63854</link>
    <description>Jan,&lt;BR /&gt;&lt;BR /&gt;1. Initting a shadowSET /noerase&lt;BR /&gt;2. Mount 2 members&lt;BR /&gt;-&amp;gt; no merge or copy&lt;BR /&gt;3. Init your database&lt;BR /&gt;-&amp;gt; big file is taken without init of info in it&lt;BR /&gt;4. Then getting strange results&lt;BR /&gt;&lt;BR /&gt;Just stupid madness but :&lt;BR /&gt;I allocate 1 GB for the db. DB-x read the uninitialized file from disk1 and calculates a checksum. This is written to disk1 and disk2 of the shadow set. Then it reads the info again but from disk2 (due to change in prefered path). This will not be OK because the garbage is different and thus the checksum is not correct.&lt;BR /&gt;&lt;BR /&gt;A bug. The mount command should result in a merge.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Thu, 12 Aug 2004 09:48:43 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2004-08-12T09:48:43Z</dc:date>
    <item>
      <title>First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355296#M63826</link>
      <description>I just discovered a 7.3 (?) feature that I was unaware of. INIT/ERASE/SHADOW=(X,Y,Z) LAB.&lt;BR /&gt;&lt;BR /&gt;This allows to initialize a complete shadow set without doing a shadow copy. Disadvantage : it does the init of Y after X has completed, not in parallel.&lt;BR /&gt;&lt;BR /&gt;I don't have a system to play with so my question is : what happens if I ommit /ERASE ? Will the shadow copy be done ?&lt;BR /&gt;&lt;BR /&gt;Btw : on my GS160 initializing 36 GB took 30 minutes voor the local disk and 35 minutes for the mscp served (no FC between them) remote disk (rather fast, I can't explain why).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 12 Aug 2004 04:13:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355296#M63826</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T04:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355297#M63827</link>
      <description>Btw2 : on my GS160 the init is 3-4 times faster than the shadow copy.</description>
      <pubDate>Thu, 12 Aug 2004 04:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355297#M63827</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T04:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355298#M63828</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;HELP INIT /ERASE explaines it so much better then I could, have you already read that?&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 12 Aug 2004 04:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355298#M63828</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-12T04:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355299#M63829</link>
      <description>Yes jan. But what is the use without /erase.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 12 Aug 2004 04:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355299#M63829</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T04:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355300#M63830</link>
      <description>Using the /ERASE makes sure that each member has the same contents. If you leave the qualifier off, then the first merge operation can take quite long if the members still have different contents.&lt;BR /&gt;&lt;BR /&gt;If I remember correctly, /ERASE will mark the volume as such so that any future file deletions will carry out an ERASE-ON-DELETE operation. That can take quite some time on large files...</description>
      <pubDate>Thu, 12 Aug 2004 05:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355300#M63830</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-12T05:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355301#M63831</link>
      <description>Uwe,&lt;BR /&gt;&lt;BR /&gt;/ERASE is erasing the disk during 30 minutes. So it's not just marking the disk for erase. set volume/erase is marking the volumeset.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 12 Aug 2004 05:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355301#M63831</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T05:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355302#M63832</link>
      <description>Uwe,&lt;BR /&gt;SET VOL /NOERASE avoid erase on delete.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Aug 2004 05:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355302#M63832</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-08-12T05:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355303#M63833</link>
      <description>I know that, Wim. You have written it in your first message and I wrote that "/ERASE makes sure that each member has the same contents".&lt;BR /&gt;&lt;BR /&gt;If you leave off the /ERASE it will not overwrite all blocks of all members, so they retain their previous contents which are very likely different.&lt;BR /&gt;&lt;BR /&gt;Now, if you mount this new shadow set and get a merge operation - guess what happens?</description>
      <pubDate>Thu, 12 Aug 2004 05:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355303#M63833</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-12T05:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355304#M63834</link>
      <description>Uwe,&lt;BR /&gt;&lt;BR /&gt;In the mean time, I found a test system. I did a init without erase and then mounted the shadow set. The init was done in a few seconds. The mount didn't result in a shadow merge or copy !!!&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 12 Aug 2004 05:35:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355304#M63834</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T05:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355305#M63835</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;the real difference between an initial erase, and not doing that, is in the effort that must be invested before you can HAVE a valid shadow.&lt;BR /&gt;With /erase, each member is erased (and only erased), AND MARKED AS SUCH. Forming a shadowset from erased members will avoid the need the synchronise ("merge") the members. And merging includes reading all members, comparing, and probably writing. All together, much more actions to be done than "just" erasing. And pre-erasing can be done at a more convenient time.&lt;BR /&gt;Bottom line: before being a valid shadowset at some time identicity HAS to be achieved.&lt;BR /&gt;Init /erase is just a way to achieve that in a more economic way.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 12 Aug 2004 05:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355305#M63835</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-12T05:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355306#M63836</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;the ERASE function is done by the 'local controller' and not with single IOs via MSCP. This explains, why it does not take much more time on the remote (MSCP-served) disk than on the local disk.&lt;BR /&gt;&lt;BR /&gt;With V8.2, there will be INIT/ERASE=(INIT,DELETE), so you can specify whether you only want the disk to be erased or whether you only want to set ERASE_ON_DELETE or whether you want both.&lt;BR /&gt;With current versions, it's doing both.&lt;BR /&gt;&lt;BR /&gt;A shadow-copy is a much more 'involved' operation requiring multiple reads and writes, this explains that it's much slower than an ERASE.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 12 Aug 2004 05:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355306#M63836</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-08-12T05:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355307#M63837</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;If I understand correctly, the init must be done to make all disks the same (thus erase). But I just did an init without erase and that worked too. The volume was not marked "erase on delete"  So, how did the shadowing know that both disks were ok ?&lt;BR /&gt;&lt;BR /&gt;Volker,&lt;BR /&gt;&lt;BR /&gt;If the init is done by the controller, why do I get substantial thruput during the operation (vpa) ?&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Aug 2004 05:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355307#M63837</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T05:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355308#M63838</link>
      <description>Wim,&lt;BR /&gt;of course you don't get a shadow copy on the first mount! And I didn't say so!&lt;BR /&gt;&lt;BR /&gt;But if your now shadow set now incurs a merge - it will take longer, because it has to resolve the differences that won't be there if you had done a conventional shadow copy or use INITIALIZE/ERASE.&lt;BR /&gt;&lt;BR /&gt;I don't know the code, but I guess that INITIALIZE/SHADOW just puts the same value into SCB$Q_GENERNUM. It does not 'know' if the disks are 'OK' - what would that mean to you anyway?</description>
      <pubDate>Thu, 12 Aug 2004 05:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355308#M63838</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-12T05:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355309#M63839</link>
      <description>Uwe,&lt;BR /&gt;&lt;BR /&gt;OK the first merge will have some work.&lt;BR /&gt;&lt;BR /&gt;But the help says :&lt;BR /&gt;&lt;BR /&gt;Compaq strongly recommends that you use the /ERASE qualifier. By&lt;BR /&gt;     using the /ERASE qualifier, no merge operation is required when&lt;BR /&gt;     you create the shadow set with the MOUNT command.&lt;BR /&gt;&lt;BR /&gt;"when you create the shadow set". So they say that a merge is done at creation. Which is not the case.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Aug 2004 06:42:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355309#M63839</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T06:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355310#M63840</link>
      <description>When you add a shadow set, you can do init without /erase. Since the init writes the same data to both disks, it knowns that the data that is used is the same.&lt;BR /&gt;&lt;BR /&gt;But suppose you allocate a file without initializing it. In that case, the 2 disks will have different data in the file. This should not give any problems because both are garbage. But suppose that a checksum is calculated based upon the garbage ? In that case you may get into problems.&lt;BR /&gt;&lt;BR /&gt;So, this new feature may be dangerous ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 12 Aug 2004 06:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355310#M63840</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T06:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355311#M63841</link>
      <description>You just have found another quirk in the documentation, congratulations ;-)&lt;BR /&gt;&lt;BR /&gt;A merge would happen if the volume was marked for improper dismount, but that would defeat the purpose of using INITIALIZE/ERASE/SHADOW to save I/Os, right?</description>
      <pubDate>Thu, 12 Aug 2004 06:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355311#M63841</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-12T06:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355312#M63842</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;after INIT/SHAD/NOERASE the disks are 'the same' within the context of the file system.&lt;BR /&gt;Space outside the file system is most probably different. If you allocate a couple of blocks to a file and don't initialize them, those blocks contain 'garbage' - just as with a non-shadowed disk. Now with a shadowed disk, you could read 'different' garbage from the various shadowset members. But as long as you did not write to those blocks, what do you expect to read ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 12 Aug 2004 06:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355312#M63842</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-08-12T06:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355313#M63843</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;I agree. But in the pre 7.3 versions, it was impossible to read different data on the 2 members. So, behaviour is no longer the same.&lt;BR /&gt;&lt;BR /&gt;Software should be requalified for this.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;(going to stick with /erase just to be sure)</description>
      <pubDate>Thu, 12 Aug 2004 07:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355313#M63843</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T07:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355314#M63844</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;even with previous versions, you could still have the 'theoretical' case, where data was different on the 2 members: if something happened to your system(s) while a shadowing-IO was underway. The IO could have reached one disk, but no the other. The application would know, because it never got back a successful status from the write IO. That's what MERGE is used for, make sure all blocks are identical.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 12 Aug 2004 07:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355314#M63844</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-08-12T07:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: First shadow copy</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355315#M63845</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;yes but before 7.3 it was impossible for an application to read the different values. Now it is.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Aug 2004 07:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/first-shadow-copy/m-p/3355315#M63845</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-12T07:17:32Z</dc:date>
    </item>
  </channel>
</rss>

