<?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: Help resizing filesystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057224#M605643</link>
    <description>We shut oracle down and restarted it. Now the fsadm command to resize the filesystem has completed successfully. &lt;BR /&gt;&lt;BR /&gt;Thanks, all. I really appreciate your help and patience.</description>
    <pubDate>Tue, 10 Jul 2007 15:16:31 GMT</pubDate>
    <dc:creator>Tim Lines</dc:creator>
    <dc:date>2007-07-10T15:16:31Z</dc:date>
    <item>
      <title>Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057211#M605630</link>
      <description>Oracle dba asked me to increase the size of /oracle. So I:&lt;BR /&gt;&lt;BR /&gt;(0)dbtest5:/ 3# lvextend -L 40000 /dev/dbtest5datavg/oracle&lt;BR /&gt;&lt;BR /&gt;Logical volume "/dev/dbtest5datavg/oracle" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/dbtest5datavg has been saved in /etc/lvmconf/dbtest5datavg.conf&lt;BR /&gt;&lt;BR /&gt;(0)dbtest5:/ 4# fsadm  -b 40000m  /oracle&lt;BR /&gt;fsadm: /etc/default/fs is used for determining the file system type&lt;BR /&gt;vxfs fsadm: /dev/dbtest5datavg/roracle is currently 20480000 sectors - size will be increased&lt;BR /&gt;vxfs fsadm: attempt to resize /dev/dbtest5datavg/roracle failed with errno 28&lt;BR /&gt;vxfs fsadm:  Retry the operation after freeing up some space&lt;BR /&gt;&lt;BR /&gt;Am I really out of space?&lt;BR /&gt;&lt;BR /&gt;(32)dbtest5:/ 5# bdf /oracle&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/dbtest5datavg/oracle&lt;BR /&gt;                   20480000 15303259 4854140   76% /oracle&lt;BR /&gt;&lt;BR /&gt;Doesn't look lines it.  Why does fsadm think I'm out of disk space?&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jul 2007 15:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057211#M605630</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-09T15:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057212#M605631</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Very interesting results.&lt;BR /&gt;&lt;BR /&gt;If could be that there is a file handle open on a file that has been deleted in the /oracle filesystem. &lt;BR /&gt;&lt;BR /&gt;Or fsadm doesn't like the m parameter. I used to use it without parameters. Perhaps its interpreting your request as a reduction of the filesystem. Thats my idea.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Jul 2007 15:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057212#M605631</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-07-09T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057213#M605632</link>
      <description>This:&lt;BR /&gt;fsadm -b 40000m /oracle&lt;BR /&gt;&lt;BR /&gt;40000 * 1024 = 40960000&lt;BR /&gt;should be:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 40960000 /oracle</description>
      <pubDate>Mon, 09 Jul 2007 15:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057213#M605632</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-09T15:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057214#M605633</link>
      <description>&amp;gt;Or fsadm doesn't like the m parameter. I &amp;gt;used to use it without parameters. Perhaps &amp;gt;its interpreting your request as a &amp;gt;reduction of the filesystem. Thats my idea.&lt;BR /&gt;&lt;BR /&gt;OK. The part where fsadm says "size will be increased" argues against that.&lt;BR /&gt;&lt;BR /&gt;Also, when I follow Clays advice, I get:&lt;BR /&gt;&lt;BR /&gt;(0)dbtest5:/ 15# fsadm -F vxfs -b 40960000 /oracle&lt;BR /&gt;vxfs fsadm: /dev/dbtest5datavg/roracle is currently 20480000 sectors - size will be increased&lt;BR /&gt;vxfs fsadm: attempt to resize /dev/dbtest5datavg/roracle failed with errno 28&lt;BR /&gt;vxfs fsadm:  Retry the operation after freeing up some space&lt;BR /&gt;&lt;BR /&gt;(32)dbtest5:/ 16# bdf /oracle&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/dbtest5datavg/oracle&lt;BR /&gt;                   20480000 18552129 1807679   91% /oracle&lt;BR /&gt;&lt;BR /&gt;So it's apparently something besides the "m".&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jul 2007 16:08:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057214#M605633</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-09T16:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057215#M605634</link>
      <description>Ok, let's ask the box how big it thinks the LVOL is.&lt;BR /&gt;&lt;BR /&gt;lvdisplay /dev/dbtest5datavg/oracle&lt;BR /&gt;&lt;BR /&gt;and post the output.&lt;BR /&gt;&lt;BR /&gt;Also, is there a lost+found directory in this file system?</description>
      <pubDate>Mon, 09 Jul 2007 16:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057215#M605634</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-09T16:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057216#M605635</link>
      <description>(0)dbtest5:/ 1# lvdisplay /dev/dbtest5datavg/oracle&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/dbtest5datavg/oracle&lt;BR /&gt;VG Name                     /dev/dbtest5datavg&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            40000           &lt;BR /&gt;Current LE                  5000      &lt;BR /&gt;Allocated PE                5000        &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;(0)dbtest5:/ 2#</description>
      <pubDate>Mon, 09 Jul 2007 17:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057216#M605635</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-09T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057217#M605636</link>
      <description>Ok, your fsadm command should work. You do have a lost+found directory so that fsadm can create a .fsadm file don't you? The only other whackball idea is that largefiles are not enabled. I suppose that the next step is to shutdown the database and try to growth the filesystem. If that fails, unmount it and try.</description>
      <pubDate>Mon, 09 Jul 2007 17:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057217#M605636</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-09T17:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057218#M605637</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;I think you should do what the error says. Free up some filesystemspace. To increase a filesystem the filesystem needs also some free space. Youre increase from 20gig to 40gig probably needs more free space that currently is available. &lt;BR /&gt;&lt;BR /&gt;If you cant free up more filesystemspace, I would umount the filesystem and do the extending with extendfs.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 09 Jul 2007 18:34:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057218#M605637</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2007-07-09T18:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057219#M605638</link>
      <description>maybe a silly idea but is it worth trying extending the filesystem in portions, like &lt;BR /&gt;first :&lt;BR /&gt;fsadm -F vxfs -b 30720000 /oracle &lt;BR /&gt;and when this works; &lt;BR /&gt;fsadm -F vxfs -b 40960000 /oracle</description>
      <pubDate>Mon, 09 Jul 2007 23:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057219#M605638</guid>
      <dc:creator>SGUX</dc:creator>
      <dc:date>2007-07-09T23:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057220#M605639</link>
      <description>Clay,&lt;BR /&gt;Yes, there is a lost+found directory:&lt;BR /&gt;drwxr-xr-x   2 root       root            96 Sep  8  2004 lost+found&lt;BR /&gt;&lt;BR /&gt;Chris,&lt;BR /&gt;I freed up another 5 GB on /oracle. fsadm continues to fail in the same way.&lt;BR /&gt;&lt;BR /&gt;Francois,&lt;BR /&gt;Attempting the filesystem expansion piecemeal changed nothing; it fails with 30720000 in the same way as 40960000 &lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057220#M605639</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-10T11:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057221#M605640</link>
      <description>Enabled largefiles via fsadm. Didn't help.</description>
      <pubDate>Tue, 10 Jul 2007 11:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057221#M605640</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-10T11:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057222#M605641</link>
      <description>I keep thinking that we are somehow overlooking the obvious here. I do note that when your first reported the file system was at 76% and then a little later at 91% which is a rather fast growth for a 20GiB file system. &lt;BR /&gt;&lt;BR /&gt;Do this and post the results:&lt;BR /&gt;fstyp -v /dev/dbtest5datavg/oracle &lt;BR /&gt;df -i /dev/dbtest5datavg/oracle &lt;BR /&gt;bdf /dev/dbtest5datavg/oracle &lt;BR /&gt;&lt;BR /&gt;Do those commands quickly in succession so that the different looks at the same data should reasonably agree.&lt;BR /&gt;&lt;BR /&gt;One other possible thing to examine is a grossly over committed file system because of sparse files. I'm not sure of the behavior of fsadm -b in that case. You might total up the lengths of all the files using a find . -type &lt;BR /&gt;f -exec ls -l {} \+ and compare that to&lt;BR /&gt;the bdf totals. If the totals of the file lengths significantly exceed the bdf output then you have a lot of sparse files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2007 14:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057222#M605641</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-10T14:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057223#M605642</link>
      <description>&amp;gt; I keep thinking that we are somehow &lt;BR /&gt;&amp;gt; overlooking the obvious here. &lt;BR /&gt;&lt;BR /&gt;Yeah, me too.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I do note that when your first reported&lt;BR /&gt;&amp;gt; the file system was at 76% and then a &lt;BR /&gt;&amp;gt;little later at 91% which is a rather fast&lt;BR /&gt;&amp;gt; growth for a 20GiB file system&lt;BR /&gt;&lt;BR /&gt;Well, it is. /oracle with a couple 9i instances fills up ~76% of the fs, while /oracle with a couple 9i instances plus 10.1 is ~ 91%. It's because we're adding 10.1 and 10.2 that we're expanding /oracle.&lt;BR /&gt;&lt;BR /&gt;I've moved the 10.X instances to a different filesystem while we troubleshoot this, so it' ~74%. With the exception of install logs etc., this fs is pretty static.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2007 15:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057223#M605642</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-10T15:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057224#M605643</link>
      <description>We shut oracle down and restarted it. Now the fsadm command to resize the filesystem has completed successfully. &lt;BR /&gt;&lt;BR /&gt;Thanks, all. I really appreciate your help and patience.</description>
      <pubDate>Tue, 10 Jul 2007 15:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057224#M605643</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-10T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help resizing filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057225#M605644</link>
      <description>As mentioned in my earlier thread, shutting down oracle and restarting it allowed the file system resize to work. Steven Prosser (?) had speculated earlier that a file in /oracle had been deleted that a process still had open. Seems like a good possibility.</description>
      <pubDate>Tue, 10 Jul 2007 15:21:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-resizing-filesystem/m-p/5057225#M605644</guid>
      <dc:creator>Tim Lines</dc:creator>
      <dc:date>2007-07-10T15:21:23Z</dc:date>
    </item>
  </channel>
</rss>

