<?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: Multiple Root Directories? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574580#M6372</link>
    <description>&amp;gt;&amp;gt;&amp;gt; How does this work?&lt;BR /&gt;&lt;BR /&gt;Very well.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; How can I have multiple root directories&lt;BR /&gt;&lt;BR /&gt;"Root" is generally associated with the Unix world.  VMS uses the logical sys$sysroot to define the operating system location.  &lt;BR /&gt;&lt;BR /&gt;sys$sysroot points to  sys$specific and sys$common for an standard VMS installation.  See the attachment.  Some system managers will modify this.   &lt;BR /&gt;&lt;BR /&gt;In a cluster with a single system disk, each node will have a unique sys$specific for node specific files and share  a single sys$common directory structure.  &lt;BR /&gt;&lt;BR /&gt;You can boot different system configurations (same version of the o/s) by selecting which root to boot, patches can be installed once in a clustered site.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 30 Jun 2005 18:37:49 GMT</pubDate>
    <dc:creator>Andy Bustamante</dc:creator>
    <dc:date>2005-06-30T18:37:49Z</dc:date>
    <item>
      <title>Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574579#M6371</link>
      <description>How can I have multiple root directories as seen here &lt;A href="http://www.gelsana.com/explain_this.htm" target="_blank"&gt;http://www.gelsana.com/explain_this.htm&lt;/A&gt; &lt;BR /&gt;?&lt;BR /&gt;How does this work?</description>
      <pubDate>Thu, 30 Jun 2005 18:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574579#M6371</guid>
      <dc:creator>Bill Thompson_8</dc:creator>
      <dc:date>2005-06-30T18:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574580#M6372</link>
      <description>&amp;gt;&amp;gt;&amp;gt; How does this work?&lt;BR /&gt;&lt;BR /&gt;Very well.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; How can I have multiple root directories&lt;BR /&gt;&lt;BR /&gt;"Root" is generally associated with the Unix world.  VMS uses the logical sys$sysroot to define the operating system location.  &lt;BR /&gt;&lt;BR /&gt;sys$sysroot points to  sys$specific and sys$common for an standard VMS installation.  See the attachment.  Some system managers will modify this.   &lt;BR /&gt;&lt;BR /&gt;In a cluster with a single system disk, each node will have a unique sys$specific for node specific files and share  a single sys$common directory structure.  &lt;BR /&gt;&lt;BR /&gt;You can boot different system configurations (same version of the o/s) by selecting which root to boot, patches can be installed once in a clustered site.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jun 2005 18:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574580#M6372</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2005-06-30T18:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574581#M6373</link>
      <description>Bill,&lt;BR /&gt;welcome in vms forum. I looked at you web site and hope you still work with vms.&lt;BR /&gt; &lt;BR /&gt;If you want to define a logical name pointing to two different directories you can:&lt;BR /&gt;$ DEF &lt;MYLOGICAL&gt; &lt;MYDIR1&gt;,&lt;MYDIR2&gt;&lt;BR /&gt;Type HELP DEF for furthermore information.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;/MYDIR2&gt;&lt;/MYDIR1&gt;&lt;/MYLOGICAL&gt;</description>
      <pubDate>Fri, 01 Jul 2005 01:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574581#M6373</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-01T01:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574582#M6374</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Actually the SYS$SYSROOT is a logical name that is defined as a search list.&lt;BR /&gt;The first translation yields what is called the specific 'root' for the system, the second is SYS$COMMON, the 'common root' for the system/cluster.&lt;BR /&gt;The figure 5-2 in the OpenVMS Cluster Systems manual gives a graphical representation of this construct ( &lt;A href="http://h71000.www7.hp.com/doc/731FINAL/4477/4477pro_006.html#directory_map" target="_blank"&gt;http://h71000.www7.hp.com/doc/731FINAL/4477/4477pro_006.html#directory_map&lt;/A&gt; ).&lt;BR /&gt;The idea is that in a cluster environment with a common system disk, each system shares the major part of the OS with the other systems, but still providing for customization per system.&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Fri, 01 Jul 2005 01:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574582#M6374</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-07-01T01:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574583#M6375</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;"Root directories" works with multiple equivalence names. If you look to the DEFINE help you will see that the syntax is:&lt;BR /&gt;&lt;BR /&gt;DEFINE  logical-name equivalence-name[,...]&lt;BR /&gt;&lt;BR /&gt;This means that you can define a logical name like this:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE a b,c,d&lt;BR /&gt;&lt;BR /&gt;Now you have one logical name "a" which has 3 equivalence names "b","c" and "d". You can experiment with this:&lt;BR /&gt;&lt;BR /&gt;$ CREATE A&lt;BR /&gt;^Z&lt;BR /&gt;$ DIR A&lt;BR /&gt;...&lt;BR /&gt;B.;1&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;$ CREATE C&lt;BR /&gt;^Z&lt;BR /&gt;$ DIR A&lt;BR /&gt;...&lt;BR /&gt;B.;1                C.;1&lt;BR /&gt;&lt;BR /&gt;Total of 2 files.&lt;BR /&gt;&lt;BR /&gt;When you use the name "a" the system searches for "b","c" and "d". When the equivalence names are directories all of them are searched. You can try to define a logical name which has two or more different directories as the equivalence name. Something like this:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE a dka0:[b],dka0:[c]&lt;BR /&gt;&lt;BR /&gt;(substitute dka0:[b] and dka0:[c] with two yours directories) and try to do:&lt;BR /&gt;&lt;BR /&gt;$ DIR A&lt;BR /&gt;&lt;BR /&gt;Now, we are close to the "Root directories" like SYS$SYSROOT, but we need a logical name which will point to a directory and will act as a device. You can define a logical name like this:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE b dka0:[b.]/TRANS=(CONCEALED,TERMINAL)&lt;BR /&gt;&lt;BR /&gt;If you do a DIR B you will probably get an error, but DIR B:[000000] will give you the contents of the directory and DIR B:[*...] the contents of it and all its subdirectories.&lt;BR /&gt;A word about /TRANS=(CONCEALED,TERMINAL). CONCEALED means that when the system displays the contents it will display the logical name and not the physical name. In the output you will receive B: and not DKA0:[B.].&lt;BR /&gt;TERMINAL means that the translation should terminate (we put a physical device name in the equivalence name) and no more translations are needed.&lt;BR /&gt;&lt;BR /&gt;If you put two or more such logical names as equivalence names in a new logical name you receive a logical name like SYS$SYSROOT.&lt;BR /&gt;&lt;BR /&gt;Logical names like this can be wide used. For example: You have different departements working with the same application. Most of data is common to all departements but some data is not. Each departement has its own file for the specific data. You put all common files in a common directory tree and the specific data in a directory tree which is specific for each departement. Something like this:&lt;BR /&gt;&lt;BR /&gt;dka0:[commondata] (and subdirectories)&lt;BR /&gt;dka0:[dep1data] (and subdirectories)&lt;BR /&gt;dka0:[dep2data] (and subdirectories)&lt;BR /&gt;&lt;BR /&gt;define roots for each directory tree:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE COMMON dka0:[commondata.]/TRANS=(CONC,TERM)&lt;BR /&gt;$ DEFINE DEP1 dka0:[dep1data.]/TRANS=(CONC,TERM)&lt;BR /&gt;$ DEFINE DEP2 dka0:[dep2data.]/TRANS=(CONC,TERM)&lt;BR /&gt;&lt;BR /&gt;Now for  dep1 you define:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE DATADIR DEP1,COMMON&lt;BR /&gt;&lt;BR /&gt;and for dep2&lt;BR /&gt;&lt;BR /&gt;$ DEFINE DATADIR DEP2,COMMON&lt;BR /&gt;&lt;BR /&gt;Now, when you need a file you use a name like:&lt;BR /&gt;DATADIR:[dir]filename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Fri, 01 Jul 2005 02:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574583#M6375</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-07-01T02:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574584#M6376</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;As Hoff pointed out on OpenVMS.org, and others have pointed out here, your default directory appears to be a search list (I say "appears" because the output that you posted on gelsana does not include a SHOW DEFAULT command to see what your current default directory is set to.&lt;BR /&gt;&lt;BR /&gt;If you current directory is set to SYS$SYSROOT:, you can easily see the results using the SHOW LOGICAL SYS$SYSROOT. You will get the results of the logical name translation as devicename:[SYS0.]. devicename:[SYS0.SYSCOMMON.]. While it must be done with care, Directories on a FILES-11 volume CAN appear in multiple places. In this case, [000000]VMS$COMMMON.DIR is aliased as [SYS0]SYSCOMMON.DIR (and [SYS1]SYSCOMMON.DIR, ... on a disk with multiple system roots).&lt;BR /&gt;&lt;BR /&gt;Thus, there is only a single copy of the OpenVMS common files kept on a disk, no matter how many system roots inhabit the disk volume.&lt;BR /&gt;&lt;BR /&gt;I hope that the above is helpful.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 01 Jul 2005 09:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574584#M6376</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-07-01T09:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574585#M6377</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;A followon, as was noted in some of the discussion:&lt;BR /&gt;&lt;BR /&gt;A rooted directory, e.g. SYS$SYSROOT is the root of a subtree, but is not the "root" of the filesystem terms, as in *NIX.&lt;BR /&gt;&lt;BR /&gt;The actual root directory of the filesystem is devicename:[000000]. This directory is referred to as the MFD (Master File Directory). It contains entries for directories, and some housekeeping files. It also contains, as you might expect, an entry for itself, under devicename:[000000]000000.dir;1.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 01 Jul 2005 12:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574585#M6377</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-07-01T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Root Directories?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574586#M6378</link>
      <description>Search trees help performance and keep files where they belong.&lt;BR /&gt;&lt;BR /&gt;Let us examine sys$system:&lt;BR /&gt;&lt;BR /&gt;It contains all the directories on a disk&lt;BR /&gt;but the specific directory is searched first. &lt;BR /&gt;&lt;BR /&gt;For example if your root is sys0,&lt;BR /&gt;it will first look in sys0, if it doesn't find it there, it will look in syscommon/&lt;BR /&gt;&lt;BR /&gt;For example common files should be in syscomon while node specific files in their own root.&lt;BR /&gt;&lt;BR /&gt;Also, this helps reduce the size of directories.  Large directories reduce performance, though that has been improved over the years.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Jul 2005 04:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-root-directories/m-p/3574586#M6378</guid>
      <dc:creator>comarow</dc:creator>
      <dc:date>2005-07-02T04:43:39Z</dc:date>
    </item>
  </channel>
</rss>

