<?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: INITIALIZE /INDEX=xxxxx in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020976#M84569</link>
    <description>Steven&amp;gt;&amp;gt; It does if you're planning "to 'truncate' the container file".&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;Give the man 10 points!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I didn't want to hijack Peter's thread about "disk to disk to tape", &lt;BR /&gt;&lt;BR /&gt;Excellent. &lt;BR /&gt;Future readers... that would be:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136467" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136467&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;  does it really matter anymore where the index file is?&lt;BR /&gt;&lt;BR /&gt;Is does if you want maximum contiguous space!&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; believe having the index file at the beginning or middle or end was more an attempt to optimize/reduce disk head seek time, was it not? &lt;BR /&gt;&lt;BR /&gt;Right. The assumption was that the dominant default application / usage case would be fill up disks with lots of smallish files (application development environment). Thus going from the file header to its data would on average involve a head seek over half of half the full seek distance.&lt;BR /&gt;&lt;BR /&gt;The price for that is to force half disk seeks for near empty disks as they are being filled. And near half disk seeks at the disk fills up to get to the more recent files which are likely to me more popular.&lt;BR /&gt;&lt;BR /&gt;The assumption was that non average applications, for example deploying file occupying 1/4 or more of the disk, would be smart enough to force their own INIT/INDEX.&lt;BR /&gt;And for a few years (decades) they were!&lt;BR /&gt;&lt;BR /&gt;Nowadays I suspect that is a lost art, and I feel, like Art, that is matters much less, if any.&lt;BR /&gt;&lt;BR /&gt;The specific case of the EVA?... well when you create a virtual unit (disk) the blocks are reserverd, but not actually allocated. The allocation happens in mega-byte sized chunks (4mb storage units?) on first touch, which would be the  INIT. So when starting on completely clean eva disk group, even if /INDEX=MIDDLE is in effect, the actual LBNs on the disks will be the low blocks!.&lt;BR /&gt;&lt;BR /&gt;(For repeatable benchmarks one has to write a pattern from LBN 0 to the end to force the actual allocation on EVA's!)&lt;BR /&gt;&lt;BR /&gt;I tend to ignore /INDEX=xxx and if i do think about it, then i tend to select /index=begin&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Jun 2007 10:34:25 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2007-06-15T10:34:25Z</dc:date>
    <item>
      <title>INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020973#M84566</link>
      <description>I didn't want to hijack Peter's thread about "disk to disk to tape", but I was just curious about Hein's intent on wanting the index file at the beginning of the disk.&lt;BR /&gt;&lt;BR /&gt;Assuming your not dealing with physical drive = volume ie. raidsets, logical drives carved out of an array, LD container files etc., does it really matter anymore where the index file is?&lt;BR /&gt;&lt;BR /&gt;I believe having the index file at the  beginning or middle or end was more an attempt to optimize/reduce disk head seek time, was it not?  If there are many heads on many disks involved. is it not "moot"?&lt;BR /&gt;&lt;BR /&gt;We are about to build new ES80's using storage presented from an EVA8000 ... just curious if I should take the /index switch into consideration when init'ing the new "disks".&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
      <pubDate>Fri, 15 Jun 2007 09:33:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020973#M84566</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2007-06-15T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020974#M84567</link>
      <description>&amp;gt; [...] does it really matter anymore where&lt;BR /&gt;&amp;gt; the index file is?&lt;BR /&gt;&lt;BR /&gt;It does if you're planning "to 'truncate' the&lt;BR /&gt;container file".</description>
      <pubDate>Fri, 15 Jun 2007 09:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020974#M84567</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-15T09:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020975#M84568</link>
      <description>Initializing a disk is covered in &lt;A href="http://64.223.189.234/node/193" target="_blank"&gt;http://64.223.189.234/node/193&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'd be looking at the cluster factor (minimum of 16, or a multiple of 16) and at allocating sufficient headers, and at enabling dynamic volume expansion.  &lt;BR /&gt;&lt;BR /&gt;The index file will typically want to be in the middle of the disk; at its default position.  Yes, due to the perceived advantages in disk seeks for such a frequently-accessed file.  Yes, caching can potentially eliminate the positioning benefits -- further, with multiple heads,&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jun 2007 10:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020975#M84568</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-06-15T10:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020976#M84569</link>
      <description>Steven&amp;gt;&amp;gt; It does if you're planning "to 'truncate' the container file".&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;Give the man 10 points!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I didn't want to hijack Peter's thread about "disk to disk to tape", &lt;BR /&gt;&lt;BR /&gt;Excellent. &lt;BR /&gt;Future readers... that would be:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136467" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136467&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;  does it really matter anymore where the index file is?&lt;BR /&gt;&lt;BR /&gt;Is does if you want maximum contiguous space!&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; believe having the index file at the beginning or middle or end was more an attempt to optimize/reduce disk head seek time, was it not? &lt;BR /&gt;&lt;BR /&gt;Right. The assumption was that the dominant default application / usage case would be fill up disks with lots of smallish files (application development environment). Thus going from the file header to its data would on average involve a head seek over half of half the full seek distance.&lt;BR /&gt;&lt;BR /&gt;The price for that is to force half disk seeks for near empty disks as they are being filled. And near half disk seeks at the disk fills up to get to the more recent files which are likely to me more popular.&lt;BR /&gt;&lt;BR /&gt;The assumption was that non average applications, for example deploying file occupying 1/4 or more of the disk, would be smart enough to force their own INIT/INDEX.&lt;BR /&gt;And for a few years (decades) they were!&lt;BR /&gt;&lt;BR /&gt;Nowadays I suspect that is a lost art, and I feel, like Art, that is matters much less, if any.&lt;BR /&gt;&lt;BR /&gt;The specific case of the EVA?... well when you create a virtual unit (disk) the blocks are reserverd, but not actually allocated. The allocation happens in mega-byte sized chunks (4mb storage units?) on first touch, which would be the  INIT. So when starting on completely clean eva disk group, even if /INDEX=MIDDLE is in effect, the actual LBNs on the disks will be the low blocks!.&lt;BR /&gt;&lt;BR /&gt;(For repeatable benchmarks one has to write a pattern from LBN 0 to the end to force the actual allocation on EVA's!)&lt;BR /&gt;&lt;BR /&gt;I tend to ignore /INDEX=xxx and if i do think about it, then i tend to select /index=begin&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jun 2007 10:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020976#M84569</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-15T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020977#M84570</link>
      <description>Art,&lt;BR /&gt;&lt;BR /&gt;I would take a moderate position on this entire question.&lt;BR /&gt;&lt;BR /&gt;WADR to Hein, I would not often locate the INDEX file at the beginning of the disk. Given current disk capacities, I would also not tend to choose the absolute middle, for the reasons already mentioned.&lt;BR /&gt;&lt;BR /&gt;The discussion about the history has already been mentioned, and I believe that it was cited correctly. &lt;BR /&gt;&lt;BR /&gt;What DOES matter, is the (expected) file usage. If I am initializing a disk that is to be carved up solely into a pile of LD container files, putting the Index file at the beginning is not a real problem. If I know that the disk will already be half full when I start, the middle might be a better choice. &lt;BR /&gt;&lt;BR /&gt;On an otherwise empty disk, that will gradually fill? Probably I would place it some percentage of the way in, with the expectation that I would be expanding the volume at a later date (see my presentation on expanding volumes without interrupting users at &lt;A href="http://www.rlgsc.com//hptechnologyforum/2005/1146.html" target="_blank"&gt;http://www.rlgsc.com//hptechnologyforum/2005/1146.html&lt;/A&gt; ).&lt;BR /&gt;&lt;BR /&gt;Absent some hard statistics, this is an almost unresolvable question. The presence of caches at various places (device, controller, host, XQP, RMS) tends to obscure, rather than clarify the issue. Personally, I try to analyze issues without the assumption of caches: decisions that are good tend to get better with caching. &lt;BR /&gt;&lt;BR /&gt;My US$ 0.02.&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, 15 Jun 2007 10:55:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020977#M84570</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-06-15T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020978#M84571</link>
      <description>Art,&lt;BR /&gt;  My 2c too...&lt;BR /&gt;&lt;BR /&gt;Yes, the original intent for placement of the index file was seek times, and yes, it's not that relevant in the context of some current technologies - LD, partitioning, EVA, caches, etc. By default, allocations would be taken from the largest contiguous chunk, so filling a disk would tend to grow outwards, alternating sides for equal sized allocations. This was good for seeks because it tended to keep the disk well localised (though a large file with small extensions could get distributed further and further apart).&lt;BR /&gt;&lt;BR /&gt;As Hein pointed out, one reason to choose "BEGINNING" or "END" would be to maximise the (possibly virtual) contiguous space on the volume.&lt;BR /&gt;&lt;BR /&gt;I'd say something that's potentially more important than the location of INDEXF.SYS is to specify a reasonable estimate for its initial size using the /HEADERS qualifier. Regardless of storage technology, extent slots in the header of INDEXF.SYS are a VERY finite resource. Granted, the post V6.2 algorithm for extending INDEXF.SYS is far better than the previous one, but an underestimate on the INIT (or default /HEADERS=16) risks pushing a volume into HEADERFULL state.  &lt;BR /&gt;&lt;BR /&gt;Unless you have good reasons for choosing otherwise, I'd tend to go with the default "MIDDLE", if for no other reason than to avoid potential pathological or boundary states that may not have been well exercised.&lt;BR /&gt;&lt;BR /&gt;(FYI, I recall a weird case where copying the entire contents of one particular release of an OpenVMS documentation CD using a specific model of CD drive resulted in a long seek which confused the seek logic in the drive. The COPY failed, but would be OK if individual files were copied. Although this had nothing to do with placement of INDEXF.SYS, it shows how particular access patterns can result in unexpected errors)</description>
      <pubDate>Sun, 17 Jun 2007 17:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020978#M84571</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-06-17T17:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020979#M84572</link>
      <description>The logical middle won't be at the half-stroke position.  Depending on the numbers of platters and on numbers of sectors present at each track, the logical middle could easily be at the extreme end of a head stroke.  &lt;BR /&gt;&lt;BR /&gt;With four platters of equal capacity and consistent linear block allocation per track, the logical middle will be at the physical edge of the disk; in the "worst" position.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jun 2007 21:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020979#M84572</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-06-17T21:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020980#M84573</link>
      <description>Back when my site was using VDDRIVER to split large RAID volumes into virtual drives, placing the index file at the beginning made packing the large contiguous files into the LBN range much simpler.&lt;BR /&gt;&lt;BR /&gt;Disks are so large now, there's little relative space penalty for simply initializing the volume with 16 million headers.</description>
      <pubDate>Mon, 18 Jun 2007 00:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020980#M84573</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2007-06-18T00:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020981#M84574</link>
      <description>we used to init a little before the middle so the bulk of the index would reside over the real middle. now I just&lt;BR /&gt;preallocate the headers &amp;amp; directories, happy&lt;BR /&gt;the days of rm05's are over.</description>
      <pubDate>Mon, 18 Jun 2007 13:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020981#M84574</guid>
      <dc:creator>Dean McGorrill</dc:creator>
      <dc:date>2007-06-18T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020982#M84575</link>
      <description>Art,&lt;BR /&gt;&lt;BR /&gt;My experience is that the output disk of a BACKUP/IMAGE restore uses the space after the index before using the space before the index.  It doesn't try to allocate "nearest" to the middle.  My guess is that it has a pointer to the next free location, and that pointer is initialized to the first free space after the end of the Indexf.sys file.&lt;BR /&gt;&lt;BR /&gt;This can be verified by using DFU report/graph immediately after restoring a disk.  It is most obvious if the disk is 50% full or less.&lt;BR /&gt;&lt;BR /&gt;The point is that when doing an image restore, the lowest available blocks are not what is chosen.  I can't say whether the initial free space after the indexf.sys is initially larger or smaller.&lt;BR /&gt;&lt;BR /&gt;One other note:  File positioning information is not preserved by an image backup, even when going to a disk of the same size (this is my observation from BACKUP 7.2-2 system, I haven't tried on 7.3-2 or 8.3).  Also, if you have large files that must (or you want to be) contiguous, put them in a directory that will be restored early.  For example, if you have a contiguous file that is 40 percent of the volume, you will probably want it in a directory like [000BEG] so it will be processed early.  Or avoid the problem by using /INDEX=BEGINNING.&lt;BR /&gt;&lt;BR /&gt;Regarding your question about EVA8000 and positioning the /INDEX:  Since the allocation of psegs to drives is under the control of the EVA, even if you preallocate as suggested by Hein, I am not certain that any order you have will be preserved after "leveling" occurs on the EVA.&lt;BR /&gt;&lt;BR /&gt;Having the index in the default middle position shouldn't affect performance one way of the other.&lt;BR /&gt;&lt;BR /&gt;Supposedly, the EVA has or will have the ability to "shrink" volumes, because Windows servers have the ability.  That may be a reason to initialize/index=begin and preallocate headers, just in case you ever want to be able to shrink a volume (if it ever is supported by VMS, or using Hein's proposed method.)  This assumes you can use a defragmenter or something else using movefile to free up all allocations in the region to be truncated.&lt;BR /&gt;&lt;BR /&gt;I am planning to user/index=begin when I move from HSZ to EVA, and to change the clustersize to a power of 2.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 14:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020982#M84575</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-06-18T14:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020983#M84576</link>
      <description>&amp;gt;&amp;gt; My experience is that the output disk of a BACKUP/IMAGE restore uses the space after the index before using the space before the index. &lt;BR /&gt;&lt;BR /&gt;Odd, but not inconsistent with my observations in:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136467" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136467&lt;/A&gt;&lt;BR /&gt;There I show /IND=BEG and back/image filling from low LBNs onwards.&lt;BR /&gt;&lt;BR /&gt;Jon&amp;gt;&amp;gt; The point is that when doing an image restore, the lowest available blocks are not what is chosen. &lt;BR /&gt;&lt;BR /&gt;They are, with INIT/IND=BEGI an BACKUP/NOINIT&lt;BR /&gt;&lt;BR /&gt;Jon&amp;gt;&amp;gt; File positioning information is not preserved by an image backup, &lt;BR /&gt;&lt;BR /&gt;WHich is just as well! Many image backups are specifically done to de-frag, thus move extents.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jon&amp;gt;&amp;gt; Having the index in the default middle position shouldn't affect performance one way of the other.&lt;BR /&gt;&lt;BR /&gt;So that argues for using BEGIN (or END) if it has no performance value, then it has no value.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 17:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020983#M84576</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-18T17:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020984#M84577</link>
      <description>You can inspect disk layout in the defragmenter with /int=decw. And click on the map to get file details.&lt;BR /&gt;&lt;BR /&gt;In my case, it shows a mess for most disks (all kind of raids on ma8000) and this while we defragment every weekend. But without stopping anything.&lt;BR /&gt;&lt;BR /&gt;May be it would be a good idea to stop everything during a weekend a do a defrag with hotfile placement.&lt;BR /&gt;&lt;BR /&gt;I also noticed that on a disk with db files that were created with /contig were not placed in a serial manner. The first one in the beginning, the 2nd one at the end of the disk. The 3rd was created /nocontig because the index in the middle prevented /contig. And resulted in a piece following the 1st file (before the middle) and a 2nd directly after the middle. Thus we have holes before the middle and before the last file.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 19 Jun 2007 02:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020984#M84577</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-06-19T02:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020985#M84578</link>
      <description>I started with a fresh defragmented empty disk of 71 MBl. I created in a loop contig files of 10 Mbl. After 5 this was impossible because contig space was gone.&lt;BR /&gt;&lt;BR /&gt;I discovered in defrag map that the files were created with an interspace of about 7MBl.&lt;BR /&gt;&lt;BR /&gt;No idea why.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jun 2007 04:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020985#M84578</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-06-19T04:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020986#M84579</link>
      <description>Dean ... 10 points for mentioning RM05's!!  I used to work for Control Data - the OEM for those drives - the CDC 9766.  So many hours of my life I'll never get back - isopropyl on the punch card, swiping the new head in an "S" motion to clean them ... aligning heads with the 'scope and the servo pack ... only being able to do two or three before you had to put the shroud back on to let it come back up to temp ... all for 300MB!!  Good times!!!&lt;BR /&gt;&lt;BR /&gt;Anyways, when it comes time to init my EVA volumes, I will consider all the suggestions provided here ... index at the beginning and lots of headers and directories.&lt;BR /&gt;&lt;BR /&gt;Cheers all,&lt;BR /&gt;Art</description>
      <pubDate>Tue, 19 Jun 2007 08:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020986#M84579</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2007-06-19T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020987#M84580</link>
      <description>Art,&lt;BR /&gt;     so you worked on the rm05's, wow! that&lt;BR /&gt;goes back there. I coined the phrase disk&lt;BR /&gt;herpes with those. how many times I'd see&lt;BR /&gt;the operators put a bad disk in a good drive, and make it a bad drive. then put&lt;BR /&gt;a good pack into the new bad drive. on and on. when they were working, they were pretty&lt;BR /&gt;good drives. I've included my initdisk, with a fix to select index=begin. tweak as needed it preallocates headers and directorys.&lt;BR /&gt;&lt;BR /&gt;Dean</description>
      <pubDate>Tue, 19 Jun 2007 14:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020987#M84580</guid>
      <dc:creator>Dean McGorrill</dc:creator>
      <dc:date>2007-06-19T14:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020988#M84581</link>
      <description>Several comments in response to Hein's responses to my note.&lt;BR /&gt;&lt;BR /&gt;When I stated that file placement isn't preserved, I meant explicit file placement retreival pointers are not preserved by a backup/image.&lt;BR /&gt;&lt;BR /&gt;Specifically, a file placed with something like &lt;BR /&gt;&lt;BR /&gt;$ cre/fdl=sys$input $5$lda1:[000000]RESERVED.SPACE &lt;BR /&gt;file;allocation 10000;contiguous yes;area 0;EXACT_POSITIONING yes;position logical 190000 &lt;BR /&gt; Exit &lt;BR /&gt;$ dump/head/bl=c:0 $5$lda1:[000000]RESERVED.SPACE&lt;BR /&gt;&lt;BR /&gt;most removed for brevity&lt;BR /&gt;&lt;BR /&gt;Map area&lt;BR /&gt;    Retrieval pointers&lt;BR /&gt;        Placement control:  Exact&lt;BR /&gt;        Count:      10000        LBN:     190000&lt;BR /&gt;&lt;BR /&gt;Checksum:                                 8800&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;After the backup/image this file is not treated specially, other than to remain contiguous (if possible).&lt;BR /&gt;&lt;BR /&gt;In my experiment, the new file had the following as retrieval pointers:&lt;BR /&gt;&lt;BR /&gt;Map area&lt;BR /&gt;    Retrieval pointers&lt;BR /&gt;        Count:      10000        LBN:     101086&lt;BR /&gt;&lt;BR /&gt;Checksum:                                 40955&lt;BR /&gt;&lt;BR /&gt;Also, my comment "Having the index in the default middle position shouldn't affect performance one way or the other." was in the context of an EVA controller.  On single spindle device, it probably does make a difference, but whether you would notice it depends on how frequently the file headers are referenced while accessing other files on the disk.&lt;BR /&gt;&lt;BR /&gt;I'll respond to the file placement done by backup/image in another note.&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Tue, 19 Jun 2007 16:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020988#M84581</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-06-19T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020989#M84582</link>
      <description>Wim Van den Wyngaert&amp;gt;&amp;gt;&amp;gt;&amp;gt;I started with a fresh defragmented empty disk of 71 MBl. I created in a loop contig files of 10 Mbl. After 5 this was impossible because contig space was gone.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I discovered in defrag map that the files were created with an interspace of about 7MBl.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;No idea why.&lt;BR /&gt;&lt;BR /&gt;-------------&lt;BR /&gt;&lt;BR /&gt;My guess is that this was in a cluster. Other nodes "reserve" a range of available free space so they don't have to bother coordinating with the other members when allocating extents.  If a node requests contiguous allocation, and can't satisfy it, it will force the others to flush and try again.  However, once the gaps are there, they in effect reduce the "largest free extent".&lt;BR /&gt;&lt;BR /&gt;You can use explicit placement to force the other nodes to relinquish the space they have reserved but not used.  See my previous note for one possible say to do this.  Using the output from defrag show /free will help you find where to place the file.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jun 2007 17:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020989#M84582</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-06-19T17:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020990#M84583</link>
      <description>In my response from Jun 18, 2007 19:29:20 GMT, I stated:&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;The point is that when doing an image restore, the lowest available blocks are not what is chosen. I can't say whether the initial free space after the indexf.sys is initially larger or smaller.&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I've done some experiments with LD V8.3 on VMS 7.3-2 with patches current as of Mar 24, 2007.&lt;BR /&gt;&lt;BR /&gt;It appears I was not correct in my assumption of how space was allocated by backup/image, where I guessed that it kept a pointer to the highest used space, and then allocated sequentially from there.  The clue was that some files were copied to very low LBNs.&lt;BR /&gt;&lt;BR /&gt;I now think Backup /image uses the smallest areas available first, so it can leave the largest free extent when it is complete.  The following report is from DFG. &lt;BR /&gt;&lt;BR /&gt;By the way, well worth installing Defrag just for the reporting, and no license is needed for that.  An example installation is included in the logfile attached.&lt;BR /&gt;&lt;BR /&gt;The following is from a 200,000 block LD device:&lt;BR /&gt;&lt;BR /&gt;$ init lda3: /cluster=1/header=500 itrc&lt;BR /&gt;$ mou/ov=id lda3&lt;BR /&gt;%MOUNT-I-MOUNTED, ITRC mounted on _$4$LDA3: (SIGMA)&lt;BR /&gt;$ defrag show /location/file=4 /free lda3:&lt;BR /&gt;Disk File Optimizer for OpenVMS DFG V2.7&lt;BR /&gt;Â© 2002 Compaq Information Technologies Group, L.P &lt;BR /&gt;&lt;BR /&gt;                   F r a g m e n t a t i o n    R e p o r t&lt;BR /&gt;&lt;BR /&gt;DISK$ITRC                                                19-JUN-2007 17:39:15.99&lt;BR /&gt;&lt;BR /&gt;The fragmentation index is 1.0&lt;BR /&gt;      1 - 20.9 is excellent&lt;BR /&gt;     21 - 40.9 is good&lt;BR /&gt;     41 - 60.9 is fair&lt;BR /&gt;     61 - 80.9 is poor&lt;BR /&gt;     81 - 100 indicates a badly fragmented disk&lt;BR /&gt;Approximately 0.8 (out of 80.0 possible) is due to file fragmentation&lt;BR /&gt;Approximately 0.2 (out of 20.0 possible) is due to freespace fragmentation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Freespace Summary:&lt;BR /&gt;        Total free space:        199425 blocks&lt;BR /&gt;        Percentage free:             99 (rounded)&lt;BR /&gt;        Total free extents:           4&lt;BR /&gt;        Maximum free extent:      98965 blocks, LBN: 1035&lt;BR /&gt;        Minimum free extent:        514 blocks, LBN: 100571&lt;BR /&gt;        Average free extent:      49856 blocks&lt;BR /&gt;        Median free extent:       98914 blocks&lt;BR /&gt;&lt;BR /&gt;Freespace Extents:&lt;BR /&gt;            LBNs        2 to      1033 (1032 blocks free)&lt;BR /&gt;            LBNs     1035 to     99999 (98965 blocks free)&lt;BR /&gt;            LBNs   100571 to    101084 (514 blocks free)&lt;BR /&gt;            LBNs   101086 to    199999 (98914 blocks free)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;File Fragmentation Summary:&lt;BR /&gt;        Number of files (with some allocation):  4&lt;BR /&gt;        Total file extents on the disk:          7&lt;BR /&gt;        Average number of file extents per file: 1.750000&lt;BR /&gt;        Median number of file extents per file:  1&lt;BR /&gt;&lt;BR /&gt;Most Fragmented File:&lt;BR /&gt;        [000000]INDEXF.SYS;1 (4 extents)&lt;BR /&gt;&lt;BR /&gt;1 file with 4 or more extents:&lt;BR /&gt;&lt;BR /&gt;        [000000]INDEXF.SYS;1 (4 extents)&lt;BR /&gt;                VBN 1, LBN 0 to LBN 1 (2 blocks)&lt;BR /&gt;                VBN 3, LBN 1034 to LBN 1034 (1 blocks)&lt;BR /&gt;                VBN 4, LBN 101085 to LBN 101085 (1 blocks)&lt;BR /&gt;                VBN 5, LBN 100052 to LBN 100564 (513 blocks)&lt;BR /&gt;&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;In this case, the 98,965 block free extent starting at LBN 1035 is the largest, and backup/image apparently preserves that until the smaller pieces have been used.&lt;BR /&gt;&lt;BR /&gt;When I initialized with /index=80000 the free space at the end of the volume was preserved.&lt;BR /&gt;&lt;BR /&gt;Note that backup/image is writing to a disk that is mounted foreign, thus the XQP is not involved in the allocation  of blocks.  Backup itself is in full control of the allocation.  In the attached log, you can see that a non-image backup of files to a newly initialized disk results in a different placement, which appears to be based on first available, but this was a special case, as the disk was mounted privately and was just initialized.  In volumes mounted cluster wide, other nodes can reserves a cache of free extents to optimize allocations from a time perspective.&lt;BR /&gt;&lt;BR /&gt;I am attaching the log file of my experiments, if you are interested in seeing output of DFU report, etc.&lt;BR /&gt;&lt;BR /&gt;I also ran into an issue with OpenVMS 8.3 factory installed software (without patches) and LDDRIVER V9.0.  Doing a backup/image of a 200,000 block LD to another 200,000 block LD resulted in a disk that could not be mounted.&lt;BR /&gt;&lt;BR /&gt;$ mou/for $5$lda3:&lt;BR /&gt;%MOUNT-I-MOUNTED, ITRCMID mounted on _$5$LDA3: (SIGMA)&lt;BR /&gt;$ backup/image $5$lda1: $5$lda3:&lt;BR /&gt;$ dism $5$lda3:&lt;BR /&gt;$ mou/ov=id $5$lda3:&lt;BR /&gt;%MOUNT-F-FILESTRUCT, unsupported file structure level&lt;BR /&gt;$ help/mess FILESTRUCT/fac=mount&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; FILESTRUCT,  unsupported file structure level&lt;BR /&gt;&lt;BR /&gt;  Facility:     MOUNT, Mount Utility&lt;BR /&gt;&lt;BR /&gt;  Explanation:  This message occurs on pre-Version 7.2 systems when you&lt;BR /&gt;                attempt to access a disk that was initialized on a Version 7.2&lt;BR /&gt;                or later system. Version 7.2 extends the size of the BITMAP&lt;BR /&gt;                field and the increased size is incompatible with earlier&lt;BR /&gt;                versions.&lt;BR /&gt;&lt;BR /&gt;  User Action:  Check the size of BITMAP.SYS on the disk you want to access.&lt;BR /&gt;                If the size is 256 or greater and you want to access the&lt;BR /&gt;                disk from a pre-Version 7.2 system, you must copy the data&lt;BR /&gt;                to a disk with a BITMAP.SYS that is less than 256 blocks.&lt;BR /&gt;                If you use the DCL command BACKUP/IMAGE, be sure to use the&lt;BR /&gt;                /NOINITIALIZE qualifier.&lt;BR /&gt;&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Doing a backup/noinit didn't help.&lt;BR /&gt;&lt;BR /&gt;More details in the attachment if you are interested.&lt;BR /&gt;&lt;BR /&gt;The same sequence of commands works on a VMS 7.3-2 system with patches current as of Mar 24, 2007.&lt;BR /&gt; &lt;BR /&gt;I haven't determined the cause of the problem, I have dumps of the homeblocks in the logfile.&lt;BR /&gt;&lt;BR /&gt;I see there is a patch to backup, and I think that is more likely to be at fault than LDDRIVER.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 01:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020990#M84583</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-06-20T01:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020991#M84584</link>
      <description>&lt;!--!*#--&gt;Jon,&lt;BR /&gt;&lt;BR /&gt;I don't think this is an LD issue. I could reproduce it with LD V8.2 on VMS V7.3-2 too. Also reprodcued it on Alpha V8.3 with LD V9.0, and on Itanium V8.3 with LD V9.0.&lt;BR /&gt;&lt;BR /&gt;I remember that I've seen something like this in the past, when creating small containerfiles and initing them. I'll see if I can find something about that in my mail, as I remember sending a certain person in VMS engineering mail about that.&lt;BR /&gt;&lt;BR /&gt;If you leave out /CLUSTER=1 on the INIT command it works, so my guess is that it's something in INIT code which is used by backup.&lt;BR /&gt;&lt;BR /&gt;Small reproducer:&lt;BR /&gt;&lt;BR /&gt;$ ld create d1/size=100000&lt;BR /&gt;$ ld create d2/size=100000&lt;BR /&gt;$ ld connect d1 lda1&lt;BR /&gt;$ ld connect d2 lda2&lt;BR /&gt;$ init lda1: /cluster=1 /system /head=500 /user=itrc itrcdemo&lt;BR /&gt;$ mount lda1: itrcdemo&lt;BR /&gt;$ backup sys$loadable_images:*.* lda1:[SYS$LDR]/own=system/trun/ver&lt;BR /&gt;$ mount/for lda2&lt;BR /&gt;$ backup/imag lda1: lda2:&lt;BR /&gt;$ dism lda2&lt;BR /&gt;$ mount/over=id lda2&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 04:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020991#M84584</guid>
      <dc:creator>Jur van der Burg</dc:creator>
      <dc:date>2007-06-20T04:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: INITIALIZE /INDEX=xxxxx</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020992#M84585</link>
      <description>Seems like this is the issue:&lt;BR /&gt;&lt;BR /&gt;VMS82A_BACKUP-V0200:&lt;BR /&gt;&lt;BR /&gt;5.2.2 %MOUNT-F-FILESTRUCT Error When Mounting Image Backup&lt;BR /&gt;&lt;BR /&gt;5.2.2.1 Problem Description:&lt;BR /&gt;&lt;BR /&gt;After restoring an image BACKUP, the disk may fail to mount with a %MOUNT-F-FILESTRUCT error&lt;BR /&gt;&lt;BR /&gt; 5.2.2.3 Problem Analysis:&lt;BR /&gt;&lt;BR /&gt;BACKUP now preserves the volume expansion size, an attempt to restore a save set with expansion size smaller than 25MB will result in failure to mount the disk.&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/initialize-index-xxxxx/m-p/4020992#M84585</guid>
      <dc:creator>Jur van der Burg</dc:creator>
      <dc:date>2007-06-20T05:03:39Z</dc:date>
    </item>
  </channel>
</rss>

