<?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: init problem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654957#M99309</link>
    <description>"smaller of" would probably be better than "smallest of", since there are only two quantities involved.&lt;BR /&gt;&lt;BR /&gt;The point that needs to be clear is that it is very easy to hit the absolute limit with current disk sizes.</description>
    <pubDate>Wed, 30 Jun 2010 13:35:42 GMT</pubDate>
    <dc:creator>Jon Pinkley</dc:creator>
    <dc:date>2010-06-30T13:35:42Z</dc:date>
    <item>
      <title>init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654948#M99300</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I'm trying to initialize a disk. My disk have Total blocks: 1048576000&lt;BR /&gt;&lt;BR /&gt;I know that the default maximum_files is:&lt;BR /&gt;volume size in blocks /((cluster factor + 1)*2)&lt;BR /&gt;&lt;BR /&gt;So with a cluster_size of 4 -&amp;gt; 104857600&lt;BR /&gt;&lt;BR /&gt;I would want to increase this value, so I'm thinking to use 157286400.&lt;BR /&gt;&lt;BR /&gt;I've given the commands:&lt;BR /&gt;init /cluster_size = 4 /header = 157286400 /maximum_files = 157286400 $1$DGA150: EVA-D5&lt;BR /&gt;&lt;BR /&gt;mount $1$DGA150: EVA-D5&lt;BR /&gt;&lt;BR /&gt;With show dev $1$DGA150: /full I have now:&lt;BR /&gt;Cluster size                   4&lt;BR /&gt;Maximum files allowed          16711679&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why I obtain a different number? &lt;BR /&gt;The help says:"If /LIMIT is specified and no value is set for /MAXIMUM_FILES, the default is 16711679 files" but this isn't my case... &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jun 2010 08:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654948#M99300</guid>
      <dc:creator>Cfabio</dc:creator>
      <dc:date>2010-06-30T08:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654949#M99301</link>
      <description>Cfabio,&lt;BR /&gt;&lt;BR /&gt;the formula you cite used to be correct, and sufficient.&lt;BR /&gt;Nowadays disks have become big enough that other limiting factors are reached, and you ran into that one.&lt;BR /&gt;I do not have the exact formula at hand right now, but IIRC it is something like&lt;BR /&gt;(2**24 - 2**14 - 1) (I 'm not sure of the 14 here)&lt;BR /&gt;By the way, EVA would much prefer cluster size as multiples of 16, and furthermore, the maximum disk size is related to cluster size in such way that cluster=4 only allows for 0.5 TB, where 8 allows 1 TB. Starting at VMS 8.4 "disks" (also when presented as such by SANs) can be 2 TB, but that requires at least cluster=16.&lt;BR /&gt;&lt;BR /&gt;Multiple reasons to upscale your cluster size!&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 30 Jun 2010 09:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654949#M99301</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-06-30T09:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654950#M99302</link>
      <description>Hi Cfabio,&lt;BR /&gt;&lt;BR /&gt;Discussion on a similar topic -&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=975346" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=975346&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Wed, 30 Jun 2010 09:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654950#M99302</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-30T09:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654951#M99303</link>
      <description>Hi Cfabio,&lt;BR /&gt;&lt;BR /&gt;The init command you used here looks OK to me. Can you try with default cluster size? &lt;BR /&gt;The maximum size you can specify for any volume is:&lt;BR /&gt;&lt;BR /&gt;(volume size in blocks)/(cluster factor + 1)&lt;BR /&gt;&lt;BR /&gt;You may want to try with different values of cluster factor.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jun 2010 09:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654951#M99303</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2010-06-30T09:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654952#M99304</link>
      <description>Hi Cfabio,&lt;BR /&gt;&lt;BR /&gt;Below are the few ITRC threads which discuss on the similar topic. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1250428" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1250428&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=976903" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=976903&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1431785" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1431785&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;May be help full.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jun 2010 09:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654952#M99304</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2010-06-30T09:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654953#M99305</link>
      <description>@Ketan,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Can you try with default cluster size? &lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Unless the default cluster size recently changed without me noticing that, it is still the archaic value of 3.&lt;BR /&gt;&lt;BR /&gt;Ever since maximum disk sizes grew over about 500 MEGAbytes (as in, less than one tenth of a percent of current sizes) that value turned out to be about the worst possible value, and even before then, when memory allocation chunks became more .5 K, it did not exactly map nicely.&lt;BR /&gt;&lt;BR /&gt;Just NEVER use that default!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 30 Jun 2010 10:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654953#M99305</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-06-30T10:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654954#M99306</link>
      <description>Cfabio,&lt;BR /&gt;&lt;BR /&gt;Well, in this case it looks like a documentation error in HELP INIT.  It should state "The maximum size you can specify for any volume is as follows: The smallest of (volume size in blocks)/(cluster factor + 1) or the absolute maximum value 16711679."  As Jan and the thread that Murali referenced stated, the absolute maximum number of files supported on either ODS-2 or ODS-5 volumes is 16711679 and has been for a long time.  It can't be increased by much, because File IDs have only 24 bits for the file number, and 2^24 = 16777216.  16711679 is (2^24) - (2^16) - 1.  The 2^16 is probably "slack" to prevent overflows, etc.&lt;BR /&gt;&lt;BR /&gt;If you really need more than 16 million files, you will need to have more devices.  The FID does allow for Relative Volume Numbers, so you can create a bound volume set (BVS) and possibly have more than 16 million in the BVS, but I would not recommend using bound volume sets unless you really know what you are doing.&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jun 2010 13:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654954#M99306</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2010-06-30T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654955#M99307</link>
      <description>The documentation could be a little more clear and mention that the default for MAX_FILES with /LIMIT is also the absolute maximum for MAX_FILES.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/84final/9996/9996pro_130.html#blue_117" target="_blank"&gt;http://h71000.www7.hp.com/doc/84final/9996/9996pro_130.html#blue_117&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Ketan ( Jan) the default cluster size is simple 1-millionth of MAXBLOCKS. Since each normal file has at least one cluster of storage, that also defines the maximum for MAX_FILES at 1M, which is much less than Fabio hoped to get.&lt;BR /&gt;&lt;BR /&gt;The default for max_files ( without /limit ) is based on an average of at least 2 clusters per file. Simple.&lt;BR /&gt;&lt;BR /&gt;That +1 in the formulas is the HEADER block which each file, with or without allocation, occupies in INDEXF.SYS.&lt;BR /&gt;&lt;BR /&gt;Murali has provided a good link where this extra 16M files limit is already discussed.&lt;BR /&gt;&lt;BR /&gt;Fabio, if you really need that many files, then you many have to consider re-creating that 500GB in smaller chunks. &lt;BR /&gt;for up to 160M files, you'll need 10 chunks ( 157,286,400 / 16,711,679 ).&lt;BR /&gt;You can then re-combine the chunks with a MOUNT/BIND if so desired into a single namespace, but I would not go there too quickly.&lt;BR /&gt;&lt;BR /&gt;If the drive space has to remain as it is, then you can consider using the LD device driver to create smaller sub-disks in container files or in LBN ranges.&lt;BR /&gt;&lt;BR /&gt;You have to ask yourself what the value, and costs (backup), of a single large name space are.&lt;BR /&gt;Maybe there is a natural division? &lt;BR /&gt;Maybe search lists to re-combine where/when needed?&lt;BR /&gt;&lt;BR /&gt;You may also want to take a huge step back and reconsider the provenance of the need for all those files. &lt;BR /&gt;Maybe files were used when rows in tables, or record in files would be better suited? &lt;BR /&gt;Maybe 'blobs' in a database are more desirable as a storage method?&lt;BR /&gt;Wat 'value' does a file offer for the application: space, name, attributes.&lt;BR /&gt;&lt;BR /&gt;Maybe files can be bundled (and unbundled) in large groups on the fly in ZIP files, BACKUP containers, or OpenVMS (TEXT) Library files.&lt;BR /&gt;&lt;BR /&gt;Bundling would certainly also be a lot more space effective.&lt;BR /&gt;&lt;BR /&gt;Hope this helps some!&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jun 2010 13:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654955#M99307</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-06-30T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654956#M99308</link>
      <description>Jon, Hein,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Well, in this case it looks like a documentation error in HELP INIT.&lt;BR /&gt;&amp;gt;&amp;gt; It should state "The maximum size you can specify for any volume is&lt;BR /&gt;&amp;gt;&amp;gt; as follows: The smallest of (volume size in blocks)/(cluster factor + 1)&lt;BR /&gt;&amp;gt;&amp;gt; or the absolute maximum value 16711679&lt;BR /&gt;Yes, thats a good point.&lt;BR /&gt;&lt;BR /&gt;The HELP message probably could have explicitly said for /MAXIMUM_FILES&lt;BR /&gt;* 16711679 is the maximum value&lt;BR /&gt;* if we gave a value greater than that, 16711679 would be taken by default.&lt;BR /&gt;&lt;BR /&gt;The text that you have given says it all.&lt;BR /&gt;&lt;BR /&gt;I will log a internal problem report for the documentation change.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Wed, 30 Jun 2010 13:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654956#M99308</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-30T13:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: init problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654957#M99309</link>
      <description>"smaller of" would probably be better than "smallest of", since there are only two quantities involved.&lt;BR /&gt;&lt;BR /&gt;The point that needs to be clear is that it is very easy to hit the absolute limit with current disk sizes.</description>
      <pubDate>Wed, 30 Jun 2010 13:35:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/init-problem/m-p/4654957#M99309</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2010-06-30T13:35:42Z</dc:date>
    </item>
  </channel>
</rss>

