<?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 How to increase inodes on HFS filesystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052199#M600428</link>
    <description>I have a partition that has run out of inodes.&lt;BR /&gt;It is an hfs filesystem:&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c2t2d2 /pbqtmp hfs rw,suid 0 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried using:&lt;BR /&gt;&lt;BR /&gt;fsadm -F hfs -o largefiles /dev/rdsk/c2t2d2&lt;BR /&gt;&lt;BR /&gt;But it still show no more inodes:&lt;BR /&gt;&lt;BR /&gt;# bdf -i /pbqtmp&lt;BR /&gt;Filesystem          kbytes    used   avail %used  iused  ifree %iuse Mounted on&lt;BR /&gt;/dev/dsk/c2t2d2    2006553 1063477  882879   55% 329600      0  100% /pbqtmp</description>
    <pubDate>Wed, 08 Aug 2007 16:38:06 GMT</pubDate>
    <dc:creator>jerry1</dc:creator>
    <dc:date>2007-08-08T16:38:06Z</dc:date>
    <item>
      <title>How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052199#M600428</link>
      <description>I have a partition that has run out of inodes.&lt;BR /&gt;It is an hfs filesystem:&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c2t2d2 /pbqtmp hfs rw,suid 0 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried using:&lt;BR /&gt;&lt;BR /&gt;fsadm -F hfs -o largefiles /dev/rdsk/c2t2d2&lt;BR /&gt;&lt;BR /&gt;But it still show no more inodes:&lt;BR /&gt;&lt;BR /&gt;# bdf -i /pbqtmp&lt;BR /&gt;Filesystem          kbytes    used   avail %used  iused  ifree %iuse Mounted on&lt;BR /&gt;/dev/dsk/c2t2d2    2006553 1063477  882879   55% 329600      0  100% /pbqtmp</description>
      <pubDate>Wed, 08 Aug 2007 16:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052199#M600428</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2007-08-08T16:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052200#M600429</link>
      <description>Need to add more space to hfs filesystems in order to increase the inode allocation. The largefiles option is good only for vxfs filesystems.</description>
      <pubDate>Wed, 08 Aug 2007 16:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052200#M600429</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-08-08T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052201#M600430</link>
      <description>It's only 55% used:&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c2t2d2    2006553 1063477  882879   55% /pbqtmp</description>
      <pubDate>Wed, 08 Aug 2007 16:52:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052201#M600430</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2007-08-08T16:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052202#M600431</link>
      <description>Why in the wide world of sports did you create a non /stand hfs filesystem? You would be better advised to backup this filesystem; recreate it as a vxfs filesystem (which, by default, dynamically increases the number of inodes on demand); and restore from backup. &lt;BR /&gt;&lt;BR /&gt;In any event, the ratio of filesystem size to inodes (default 6144 bytes per inode) is set when the filesystem is created and can't be increased. If you add more blocks to the file system via extendfs, it will add more inodes but only in the same proportion as when the filesystem was created.&lt;BR /&gt;&lt;BR /&gt;You can get a bit more data with:&lt;BR /&gt;fstyp -v /dev/dsk/c2t2d2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 17:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052202#M600431</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-08T17:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052203#M600432</link>
      <description>Clay, your a good man. But! Never assume.&lt;BR /&gt;I inherited this piece of junk.&lt;BR /&gt;It's running HP-UX 10.20 and all the&lt;BR /&gt;partitions are hfs for some reason.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 17:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052203#M600432</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2007-08-08T17:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052204#M600433</link>
      <description>Hi Jerry:&lt;BR /&gt;&lt;BR /&gt;I agree with Clay.  Never mind that it's 10.20.  VxFS (JFS) filesystems were supported at that point.  I'd backup your data; 'newfs' a JFS filesystem; and restore your data!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 08 Aug 2007 17:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052204#M600433</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-08-08T17:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052205#M600434</link>
      <description>I'm with the gang on this.&lt;BR /&gt;JFS worked fine for me running Oracle on 10.20, and it should be fine to convert to.&lt;BR /&gt;&lt;BR /&gt;If you're sticking with hfs:&lt;BR /&gt;man mkfs_hfs - see the option for nbpi.</description>
      <pubDate>Wed, 08 Aug 2007 17:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052205#M600434</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-08-08T17:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052206#M600435</link>
      <description>Ah. Easier said than done. I do not have the&lt;BR /&gt;luxury of just shutting down a server that&lt;BR /&gt;is running production and rebuilding.&lt;BR /&gt;Management does not understand and does not&lt;BR /&gt;care. There attitude here is run it till it &lt;BR /&gt;dies.</description>
      <pubDate>Wed, 08 Aug 2007 18:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052206#M600435</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2007-08-08T18:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052207#M600436</link>
      <description>Ok, you now have a situation where you cannot increase the number of inodes substantially without substantially increasing the size of the filesystem. Sadly, you are using the whole-disk layout rather than LVM so you can't increase the filesystem size without increasing the size of the disk. &lt;BR /&gt;&lt;BR /&gt;There are really only a few of viable options. 1) Backup; build a new filesystem (hfs of vxfs but you know what I think); restore. 2) If you have room on other filesystems, copy directory trees under the existing filesystem to other filesystems; delete the existing filetrees; setup symbolic links pointing to the new locations.&lt;BR /&gt;3) If you have free disks or LVOL's, create new filesystems; copy directory trees to them; remove the directory trees; make the new filesystems mountpoints under the old.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 18:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052207#M600436</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-08T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052208#M600437</link>
      <description>... oh, and one more thing, Jerry. Someone less polite and less tactful than I would point out that there should have been monitoring scripts/traps in place that would have warned you in advance that your filesystems or other resources were nearing limits so that you could deal with them before they became critical --- but I would never tell you that (though I might think it).&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Wed, 08 Aug 2007 19:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052208#M600437</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-08T19:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052209#M600438</link>
      <description>Hi Jerry,&lt;BR /&gt;&lt;BR /&gt;  You may consider using vxfs, which is more robust and stable, you will not face out of inodes issue.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 20:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052209#M600438</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-08T20:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052210#M600439</link>
      <description>&amp;gt;Clay: there should have been monitoring scripts/traps in place that would have warned you in advance ...&lt;BR /&gt;&lt;BR /&gt;I have such a script and it warns me every day.&lt;BR /&gt;I just now realized that for vxfs, I don't care about inode precentage, thanks.</description>
      <pubDate>Thu, 09 Aug 2007 03:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052210#M600439</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-09T03:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052211#M600440</link>
      <description>I forgot to mention one way to "increase" the inodes is to decrease the number of files.&lt;BR /&gt;&lt;BR /&gt;You can tar gzip small files into one big file.</description>
      <pubDate>Thu, 09 Aug 2007 03:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052211#M600440</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-09T03:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052212#M600441</link>
      <description>Dennis, my monitors for vxfs filesystems also monitor inode usage as well as size limits because it is possible to create a vxfs filesystem with static inode allocation  --- it's dumb to do it but it can be done.</description>
      <pubDate>Thu, 09 Aug 2007 09:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052212#M600441</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-09T09:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052213#M600442</link>
      <description>Jerry this is a thoug.&lt;BR /&gt;I see that you FS is 2GB and if you have at least 2 hours fo downtime (lets say weekly/monthly reboot) I will use my spare disk and use the following command to restore my data on different FS&lt;BR /&gt;&lt;BR /&gt;find . -xdev -depth -print | cpio -pdum {dest_dir}&lt;BR /&gt;&lt;BR /&gt;Once complete you can always unmount the old FS and mount the New FS.&lt;BR /&gt;&lt;BR /&gt;I hope it helps.</description>
      <pubDate>Thu, 09 Aug 2007 09:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052213#M600442</guid>
      <dc:creator>Juan M Leon</dc:creator>
      <dc:date>2007-08-09T09:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052214#M600443</link>
      <description>&amp;gt;Clay: because it is possible to create a vxfs filesystem with static inode allocation&lt;BR /&gt;&lt;BR /&gt;Do you know how to check the filesystem to determine that?  I assume this is: mkfs -m</description>
      <pubDate>Thu, 09 Aug 2007 10:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052214#M600443</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-09T10:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052215#M600444</link>
      <description>I changed /etc/default/fs entry to be&lt;BR /&gt;vxfs from hfs. Created volume group with&lt;BR /&gt;the disk in question.&lt;BR /&gt;Also going to mount other critical &lt;BR /&gt;production partition to NAS via NFS(no &lt;BR /&gt;fiber to this box) and use that 4gig drive&lt;BR /&gt;to mirror the 4gig boot drive.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052215#M600444</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2007-08-09T11:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase inodes on HFS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052216#M600445</link>
      <description>mkfs -m works (and is the only approach outside of C that I have found) but my approach is to do an fstyp -v and simply see if f_favail is below some threshold. I haven't delved into the bowels of vxfs internals but it has been my experience that the dynamic growth occurs before f_favail gets too low. All of this is largely academic because the last version of vxfs that allowed fixed inodes was 11.11; under 11.23 and up, you can still specify ninode=n (eventhough it is not documented) but the option is ignored.</description>
      <pubDate>Thu, 09 Aug 2007 11:07:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-increase-inodes-on-hfs-filesystem/m-p/4052216#M600445</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-09T11:07:58Z</dc:date>
    </item>
  </channel>
</rss>

