<?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: New filesystem overhead in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432491#M656115</link>
    <description>Your overhead will be almost entirely due to the number of i-nodes. bdf -i will report the number of i-nodes in the filesystem and by default will be a (very) large number for a filesystem &amp;gt; 7Gb. &lt;BR /&gt;&lt;BR /&gt;If you intend to only create a small number of large files in this filesystem e.g. database files then consider reducing the number of i-nodes to a nore realistic number.&lt;BR /&gt;&lt;BR /&gt;man mkfs_vxfs describes in full how you do it but the format is:-&lt;BR /&gt;mkfs -F vxfs -o ninode=&lt;N&gt; &lt;SPECIAL&gt;&lt;BR /&gt;where &lt;N&gt; is the number of i-nodes required.&lt;BR /&gt;&lt;BR /&gt;For example if you know that there will be &amp;lt; 1000 files,&lt;BR /&gt;mkfs -F vxfs -o ninode=1000 &lt;SPECIAL&gt;&lt;BR /&gt;&lt;BR /&gt;Be aware though that this will be a hard limit for the number of i-nodes. The default for mkfs_vxfs is to create 'unlimited' i-nodes, new ones will be created as required.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;John&lt;/SPECIAL&gt;&lt;/N&gt;&lt;/SPECIAL&gt;&lt;/N&gt;</description>
    <pubDate>Tue, 25 Jul 2000 07:22:47 GMT</pubDate>
    <dc:creator>John Palmer</dc:creator>
    <dc:date>2000-07-25T07:22:47Z</dc:date>
    <item>
      <title>New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432486#M656110</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I created a new filesystem of 7.3GB and after mounting i can see a free space of only 6.87GB with only lost+found in the directory. I am wondering what happened to remaining space.&lt;BR /&gt;The statictics shown when given bdf are:&lt;BR /&gt;total KBytes: 7340032&lt;BR /&gt;used        :   2900&lt;BR /&gt;avail       : 6878569&lt;BR /&gt;&lt;BR /&gt;Its a jfs filesystem.&lt;BR /&gt;&lt;BR /&gt;Can anyone clarify .&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;S.J.Babu</description>
      <pubDate>Mon, 24 Jul 2000 23:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432486#M656110</guid>
      <dc:creator>S.Jagadeesh Babu</dc:creator>
      <dc:date>2000-07-24T23:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432487#M656111</link>
      <description>In the old days, we had to deal with a 10% tolerance that was not useable with HFS.  Now that we can adjust that tolerance with HFS we have all moved to JFS, which creates new overheads.&lt;BR /&gt;It was explained to me that this new overhead is mainly used for journaling.  This is the area that the system keeps track of what it is doing, and is resetved un-adjustable space.  The new tolerance is about 8% unusable space with JFS.&lt;BR /&gt;Perhaps someone else could give a better technical description of the space, but I think I covered enough that you get the idea.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 25 Jul 2000 00:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432487#M656111</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2000-07-25T00:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432488#M656112</link>
      <description>Hi &lt;BR /&gt;generally 5 % is the filesystem overhead.&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jul 2000 00:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432488#M656112</guid>
      <dc:creator>rajsri</dc:creator>
      <dc:date>2000-07-25T00:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432489#M656113</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Though i could understand there is overhead for the filesystems, i would like to know what for this space is used and how can we change that overhead space allocation.&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;S.J.babu</description>
      <pubDate>Tue, 25 Jul 2000 01:08:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432489#M656113</guid>
      <dc:creator>S.Jagadeesh Babu</dc:creator>
      <dc:date>2000-07-25T01:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432490#M656114</link>
      <description>Filesystems cannot exist without directories. Unix manages disk space by assigning chunks of data called filesystem blocks to an inode (which occupies space).  Each inode contains specific information on this disk space.  inodes by themselves are not useful until a directory (which is also a file) entry assigns a name to an inode. &lt;BR /&gt;&lt;BR /&gt;So inodes occupy space and directories occupy space. When you deal with gigabyte filesystems, normal inode sizes will require a massive number of inodes when the filesystem gets full. For HFS filesystems, the inodes are all created with newfs and cannot be modified (except by extending the filesystem). For vxfs, some inodes are preallocated along with directory structures and extra space for journaling structures.&lt;BR /&gt;&lt;BR /&gt;You can reduce the overhead somewhat by increasing the default blocksize (8K) to a much larger number such as 32K or 64K. This requires removing all the data, using newfs to blow away the previous filesystem and then use newfs with options to create a larger inode. This works for both HFS and VXFS.&lt;BR /&gt;&lt;BR /&gt;For HFS filesystems, there is a minfree value which keeps the write performance of the filesystem fairly stable.  Once an HFS filesystem reaches 90% full, the time required to locate additional space goes up geometrically. However, if the filesystem contains a database, this value can be reduced to 0% since additional space is no longer requested (databases typically preallocate their space).&lt;BR /&gt;&lt;BR /&gt;Adjusting the inode size to a large number will not bring back 100% of the directory overhead and experimenting with the filesystem blocksize may result in a major difference in performance for some databases. With disks so incredibly cheap, trying to recover a few hundred megs is probably not worth the effort.</description>
      <pubDate>Tue, 25 Jul 2000 01:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432490#M656114</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-07-25T01:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432491#M656115</link>
      <description>Your overhead will be almost entirely due to the number of i-nodes. bdf -i will report the number of i-nodes in the filesystem and by default will be a (very) large number for a filesystem &amp;gt; 7Gb. &lt;BR /&gt;&lt;BR /&gt;If you intend to only create a small number of large files in this filesystem e.g. database files then consider reducing the number of i-nodes to a nore realistic number.&lt;BR /&gt;&lt;BR /&gt;man mkfs_vxfs describes in full how you do it but the format is:-&lt;BR /&gt;mkfs -F vxfs -o ninode=&lt;N&gt; &lt;SPECIAL&gt;&lt;BR /&gt;where &lt;N&gt; is the number of i-nodes required.&lt;BR /&gt;&lt;BR /&gt;For example if you know that there will be &amp;lt; 1000 files,&lt;BR /&gt;mkfs -F vxfs -o ninode=1000 &lt;SPECIAL&gt;&lt;BR /&gt;&lt;BR /&gt;Be aware though that this will be a hard limit for the number of i-nodes. The default for mkfs_vxfs is to create 'unlimited' i-nodes, new ones will be created as required.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;John&lt;/SPECIAL&gt;&lt;/N&gt;&lt;/SPECIAL&gt;&lt;/N&gt;</description>
      <pubDate>Tue, 25 Jul 2000 07:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432491#M656115</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-07-25T07:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432492#M656116</link>
      <description>It's the number of inodes on the filesystem.&lt;BR /&gt;&lt;BR /&gt;if you do a 'bdf -i' you'll see how many you have. And it will be lots. Each one takes up 128bytes.&lt;BR /&gt;&lt;BR /&gt;When you create the filesystem you can alter the number of inodes that get created by changing the number of cylinder groups and the number of inodes per cylinder group.&lt;BR /&gt;&lt;BR /&gt;Alternatively, just use jfs (vxfs).</description>
      <pubDate>Tue, 25 Jul 2000 07:35:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432492#M656116</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-25T07:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432493#M656117</link>
      <description>vxfs filesystem i-nodes are in fact 256 bytes. mkfs_vxfs allows an option inosize=n&lt;BR /&gt;but the only allowed value for n is 256!</description>
      <pubDate>Tue, 25 Jul 2000 08:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432493#M656117</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-07-25T08:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432494#M656118</link>
      <description>How come when I do a bdf 'available' plus 'used' does not equal 'total space'?  If the overhead was inode space, would that not be recorded in  used. &lt;BR /&gt;&lt;BR /&gt;It seems the difference in these two numbers is vxfs management space just like in hfs.  &lt;BR /&gt;&lt;BR /&gt;This is contrary to what John Palmer alluted to above so can anyone else vouch for his answer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 25 Jul 2000 16:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432494#M656118</guid>
      <dc:creator>Rob Mallard</dc:creator>
      <dc:date>2000-07-25T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432495#M656119</link>
      <description>maybe this might help&lt;BR /&gt;&lt;BR /&gt;allocated - used = unused or free space&lt;BR /&gt;&lt;BR /&gt;7340032 - 2900 = 7337132&lt;BR /&gt;&lt;BR /&gt;now why doesn't this equal what is available?&lt;BR /&gt;&lt;BR /&gt;your free space will be used for both inodes and file blocks.  So, how much space available for files is determined by how you use it.  It is sort of like asking, I have 15 gallons of gas so how far can i drive?  Well, it depends on how you drive.&lt;BR /&gt;&lt;BR /&gt;Here your asking I have 7337132 of free space, so how much file space does that equal?  Well it depends on how you use it.&lt;BR /&gt;&lt;BR /&gt;vxfs dynamically allocates inodes from the pool of free blocks, so the number of free inodes and blocks is an estimate based on the number of free extents and the current ratio of allocated inodes to allocated blocks.&lt;BR /&gt;&lt;BR /&gt;if you added your space available (free blocks) + number of free inodes * 256 per inode/1024 for kbytes or free inodes/4, you'll get a number close to your free space.  it is just an esitmate after all.&lt;BR /&gt;&lt;BR /&gt;7337132 - 6878569 = 458563&lt;BR /&gt;458463 * 4 = 1834252&lt;BR /&gt;&lt;BR /&gt;so I'd guess you have about 1,800,000 free inodes in this file system.&lt;BR /&gt;&lt;BR /&gt;So your free space is known, df -F vxfs -v filesystem_name&lt;BR /&gt;&lt;BR /&gt;The space available is an esitmate of how this free space will be allocated into inodes and blocks. free space - space designated for free inodes = what is available.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jul 2000 18:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432495#M656119</guid>
      <dc:creator>curt larson</dc:creator>
      <dc:date>2000-07-25T18:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432496#M656120</link>
      <description>Details for a newly created 1Gb filesystem with unlimited inodes:-&lt;BR /&gt;kbytes=1024000, used=1357, available=958735, total inodes=255664.&lt;BR /&gt;255664 inodes at 256 bytes each = 63916kb&lt;BR /&gt;1024000 - 1357 - 958735         = 63908kb&lt;BR /&gt;&lt;BR /&gt;Details for the same filesystem created with fixed 1000 inodes:-&lt;BR /&gt;kbytes=1024000, used=1357, available=1022401,&lt;BR /&gt;total inodes=1000.&lt;BR /&gt;1000 inodes at 256 bytes each = 250kb&lt;BR /&gt;1024000 - 1357 - 1022401      = 242kb&lt;BR /&gt;&lt;BR /&gt;Thus the whole difference between allocated and avail (with an 8kb error) is inode space.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2000 06:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432496#M656120</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-07-26T06:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: New filesystem overhead</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432497#M656121</link>
      <description>Thanks for clearing that up for me!</description>
      <pubDate>Wed, 26 Jul 2000 16:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-filesystem-overhead/m-p/2432497#M656121</guid>
      <dc:creator>Rob Mallard</dc:creator>
      <dc:date>2000-07-26T16:16:03Z</dc:date>
    </item>
  </channel>
</rss>

