<?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: Restoring system disk without image backup in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368409#M102299</link>
    <description>&lt;P&gt;I would not spend much time with this and would not rely on any free advice...&amp;nbsp;Do a&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$ sh log sys$sysroot&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;it should show something like&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;"SYS$SYSROOT" = "$1$DGA1:[SYS0.]" (LNM$SYSTEM_TABLE)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = "SYS$COMMON:"&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;1 &amp;nbsp;"SYS$COMMON" = "$1$DGA1:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In your output the 'n' in SYSn may be different.&lt;/DIV&gt;&lt;DIV&gt;The non-image backup contains a [000000]VMS$COMMON.DIR and a&amp;nbsp;[SYS0]SYSCOMMON.DIR and they have different file IDs. (Actually you have duplicate files under these directories). That's not how a system disk should look like.&amp;nbsp;[SYS0]SYSCOMMON.DIR has to be an alias for [000000]VMS$COMMON.&lt;/DIV&gt;&lt;DIV&gt;You&amp;nbsp;don't care about this system disk, anyway, so ...&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$&amp;nbsp;rename sys$sysdevice:[sys0]syscommon.dir&amp;nbsp;delete-me&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$ set file/enter=[sys0]syscommon.dir sys$sysdevice:[000000]vms$common.dir&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;Reboot&lt;/DIV&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2011 09:06:37 GMT</pubDate>
    <dc:creator>H.Becker</dc:creator>
    <dc:date>2011-10-21T09:06:37Z</dc:date>
    <item>
      <title>Restoring system disk without image backup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368257#M102298</link>
      <description>&lt;P&gt;This migh sound stupid, but im a little curious to test this just wanted to know it there is an option for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I received a system disk backup which is a non image backup. command used was&lt;/P&gt;&lt;P&gt;&amp;nbsp; $ backup/ignore=inter sys$sysdevice:[000000...]*.*;*&lt;/P&gt;&lt;P&gt;This was actually taken by mistake on the other end, I will get another image soon with /image qualifier which will server my purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the mean time I wanted to test, whether with this backup we can boot or not. So what I did, I transferrred this save set to my FreeAXP disks and restored it to another disk with no other data except system files *.sys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I got this command from hoff's site and written the boot block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ RUN SYS$SYSTEM:WRITEBOOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I gave a try to boot the machine... It booted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And all the normal activities are fine.. all the startup are running, TCp/Ip is starting. I am able to login with the sysuaf restored from that backup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But if some operation at low level is tried where the RMS and file id referencing is happening. The actual proble shows up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$$ prod install *&lt;BR /&gt;%PCSI-E-SYSDIRERR, SYS$SYSDEVICE:[000000]VMS$COMMON.DIR and SYS$SYSDEVICE:[000000]VMS$COMMON.DIR;1 have different File ID numbers&lt;BR /&gt;-PCSI-E-CHKSYSDIR, check system directory structure&lt;BR /&gt;%PCSIUI-E-ABORT, operation terminated due to an unrecoverable error condition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Index file is having different value in the header whereas the actual file is having a different value for File ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is there any way to fix this up. Just out of curiousity...&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 05:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368257#M102298</guid>
      <dc:creator>Joslovevms</dc:creator>
      <dc:date>2011-10-21T05:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring system disk without image backup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368409#M102299</link>
      <description>&lt;P&gt;I would not spend much time with this and would not rely on any free advice...&amp;nbsp;Do a&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$ sh log sys$sysroot&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;it should show something like&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;"SYS$SYSROOT" = "$1$DGA1:[SYS0.]" (LNM$SYSTEM_TABLE)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = "SYS$COMMON:"&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;1 &amp;nbsp;"SYS$COMMON" = "$1$DGA1:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In your output the 'n' in SYSn may be different.&lt;/DIV&gt;&lt;DIV&gt;The non-image backup contains a [000000]VMS$COMMON.DIR and a&amp;nbsp;[SYS0]SYSCOMMON.DIR and they have different file IDs. (Actually you have duplicate files under these directories). That's not how a system disk should look like.&amp;nbsp;[SYS0]SYSCOMMON.DIR has to be an alias for [000000]VMS$COMMON.&lt;/DIV&gt;&lt;DIV&gt;You&amp;nbsp;don't care about this system disk, anyway, so ...&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$&amp;nbsp;rename sys$sysdevice:[sys0]syscommon.dir&amp;nbsp;delete-me&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;$ set file/enter=[sys0]syscommon.dir sys$sysdevice:[000000]vms$common.dir&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;Reboot&lt;/DIV&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 09:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368409#M102299</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2011-10-21T09:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring system disk without image backup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368413#M102300</link>
      <description>&lt;P&gt;May be your directory structure is a little bit damaged:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sys$sysdevice:[SYSn]syscommon.dir and sys$sysdevice:[000000]vms$common.dir must point to the same file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, if everything is in good shape:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ dir sys$sysdevice:[sys0]syscommon.dir/file_id&lt;/P&gt;&lt;P&gt;gives:&lt;/P&gt;&lt;P&gt;SYS$SYSDEVICE:[SYS0]SYSCOMMON.DIR;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (42,1,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the same file-id as vms$common.dir:&lt;/P&gt;&lt;P&gt;SYS$SYSDEVICE:[000000]VMS$COMMON.DIR;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (42,1,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is not the case, delete all trees sys$sysdevice:[SYSn.syscommon...]*.*;* and finally&lt;/P&gt;&lt;P&gt;sys$sysdevice:[SYSn]syscommon.dir;*&lt;/P&gt;&lt;P&gt;and restore the correct directory structure via&lt;/P&gt;&lt;P&gt;$ set file/enter=sys$sysdevice:[sysx]syscommon.dir sys$sysdevice:[000000]vms$common.dir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be warned. control every step very carefully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp; file-id is already identical the procedure does not solve your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Eberhard&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 09:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368413#M102300</guid>
      <dc:creator>Eberhard Heuser</dc:creator>
      <dc:date>2011-10-21T09:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring system disk without image backup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368695#M102301</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;A target="_blank" href=" http://labs.hoffmanlabs.com/node/1162"&gt;BACKUP Tips: Image and Alias and Saveset Processing&lt;/A&gt;&amp;nbsp;and likely some other topics available around the 'net via Google.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, this disk saveset can likely be easily restored, through the addition of the system directory backlinks and rewriting the boot block. &amp;nbsp; It's not a direct replacement, but it works. &amp;nbsp;(Things get more interesting with OpenVMS I64 disk structures, as that path really needs (wants) correct use of /IMAGE.) &amp;nbsp;This centrally involves resetting the directory links though - if you've been running with this for a while - there are potentially other issues here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now for the downside of this backup. &amp;nbsp; It's not the lack of /IMAGE that'll cause you problems (once you know the structures of an OpenVMS system disk). &amp;nbsp;It's that &lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/1314"&gt;/IGNORE=INTERLOCK&lt;/A&gt; that tends to cause problems with the restoration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're going to use BACKUP, please take the time to read the examples in the BACKUP documentation and the BACKUP help text. &amp;nbsp;BACKUP is one of the most arcane and cryptic tools on OpenVMS, and it's both effective at its task, and can also be a most excellent way to eliminate data integrity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For best results, I'd probably reinstall from distro, and reload the OpenVMS and layered product software, and reset the BACKUP savesets. &amp;nbsp;More work, but you know what the results are within the OpenVMS system files and structures. &amp;nbsp;Now as for your local data, the data integrity of that is still questionable. &amp;nbsp;That'll likely also get you current software versions and (if you take the extra steps) current patches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This forum software still can't manage to edit an embedded link correctly, and it doesn't trim the blanks on the ends of the URL. &amp;nbsp; Which also points to failures in the testing.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 14:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5368695#M102301</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-10-21T14:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restoring system disk without image backup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5370831#M102302</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;thanks for you replies. Im not getting time to check these things. Will update you all when I check it..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 00:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/restoring-system-disk-without-image-backup/m-p/5370831#M102302</guid>
      <dc:creator>Joslovevms</dc:creator>
      <dc:date>2011-10-25T00:26:21Z</dc:date>
    </item>
  </channel>
</rss>

