<?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: Defrag is not helping to free up unused space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354868#M565983</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;What is you filesystem layout version?  If it isn't &amp;lt;4&amp;gt; try upgrading to that version; defragment again; and try your size reduction again:&lt;BR /&gt;&lt;BR /&gt;# mkfs -F vxfs -m /dev/vg00/lvol5&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'vxupgrade(1M)'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 09 Feb 2009 19:43:31 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-02-09T19:43:31Z</dc:date>
    <item>
      <title>Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354858#M565973</link>
      <description>&lt;BR /&gt;HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;#vxlicense -p&lt;BR /&gt;&lt;BR /&gt;vrts:vxlicense: INFO: Feature name: HP_OnlineJFS [50]&lt;BR /&gt;vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)&lt;BR /&gt;vrts:vxlicense: INFO: Expiration date: No expiration date&lt;BR /&gt;vrts:vxlicense: INFO: Release Level: 22&lt;BR /&gt;vrts:vxlicense: INFO: Machine Class: All&lt;BR /&gt;vrts:vxlicense: INFO: Site ID: 0&lt;BR /&gt;&lt;BR /&gt;#bdf /opt&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol5    7700480 1919354 5427817   26% /opt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tried following and completed succesfully. But still fsadm is failing.&lt;BR /&gt;&lt;BR /&gt;6       fsadm -F vxfs -e -E /opt&lt;BR /&gt;7       fsadm -F vxfs -b 6512M /opt&lt;BR /&gt;&lt;BR /&gt;8       fsadm -F vxfs -d -D -e -E /opt&lt;BR /&gt;9       fsadm -F vxfs -b 6512M /opt&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 6512M /opt&lt;BR /&gt;vxfs fsadm: /dev/vg00/rlvol5 is currently 7700480 sectors - size will be reduced&lt;BR /&gt;vxfs fsadm: allocations found in shrink range, moving data&lt;BR /&gt;vxfs fsadm: cannot shrink /dev/vg00/rlvol5 - blocks are currently in use.&lt;BR /&gt;&lt;BR /&gt;lvdisplay /dev/vg00/lvol5&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol5&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            7520&lt;BR /&gt;Current LE                  235&lt;BR /&gt;Allocated PE                470&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;&lt;BR /&gt;Any way to get the free space removed from LV?</description>
      <pubDate>Mon, 09 Feb 2009 15:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354858#M565973</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-09T15:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354859#M565974</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;defragmentation does not free up space.&lt;BR /&gt;&lt;BR /&gt;It insures that files are written contiguously, and not spread out in multiple locations.&lt;BR /&gt;&lt;BR /&gt;This improves read performance down the line.&lt;BR /&gt;&lt;BR /&gt;I believe the cause of the error above is you are trying to reduce the logical volume to much, Try a less drastic reduction and this will work.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2009 17:10:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354859#M565974</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-09T17:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354860#M565975</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Interestingly, on 11.23, PHCO_38434 addresses the error "blocks are currently in use".  There doesn't seem to be an equivalent patch for 11.11.&lt;BR /&gt;&lt;BR /&gt;What JFS version are you running?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Feb 2009 17:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354860#M565975</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-09T17:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354861#M565976</link>
      <description>JFS version is 3.3 (B.03.20.1)</description>
      <pubDate>Mon, 09 Feb 2009 17:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354861#M565976</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-09T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354862#M565977</link>
      <description>i could reduce 122M by going via small reduction. But not further</description>
      <pubDate>Mon, 09 Feb 2009 18:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354862#M565977</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-09T18:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354863#M565978</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You might try quiesing the filesystem.  Bootup into single user mode if necessary, mount the filesystem and try again.&lt;BR /&gt;&lt;BR /&gt;Later versions of VxFS offer better chances of success, although a couple of defragmentation attempts might suffice.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Feb 2009 18:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354863#M565978</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-09T18:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354864#M565979</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Did you try my suggestion to quiesce the fileystem and/or run multiple defragmentations?&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Feb 2009 19:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354864#M565979</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-09T19:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354865#M565980</link>
      <description>i did not understand your "quiesing and/or multiple defragmentations".can you explain better?&lt;BR /&gt;&lt;BR /&gt;Also i cant dismount the file system. &lt;BR /&gt;</description>
      <pubDate>Mon, 09 Feb 2009 19:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354865#M565980</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-09T19:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354866#M565981</link>
      <description>Hi (gain):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i did not understand your "quiesing and/or multiple defragmentations".can you explain better?&lt;BR /&gt;&lt;BR /&gt;I'm sorry.  This means to make quiet.  That is, if you could stop any processes using the filesystem you might be able to perform the size change.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Also i cant dismount the file system.&lt;BR /&gt;&lt;BR /&gt;In that case, I would try several defragmentation runs in succession.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Feb 2009 19:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354866#M565981</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-09T19:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354867#M565982</link>
      <description>quiesce means "to quiet", ie. to have very little activity happening on the filesystem.&lt;BR /&gt;&lt;BR /&gt;Multiple defrags -- Run your command multiple times to see if you can get incrementally better results.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;cant dismount the file system.&lt;BR /&gt;&lt;BR /&gt;That kind of throws the quiesce request out the windows then.</description>
      <pubDate>Mon, 09 Feb 2009 19:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354867#M565982</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-02-09T19:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354868#M565983</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;What is you filesystem layout version?  If it isn't &amp;lt;4&amp;gt; try upgrading to that version; defragment again; and try your size reduction again:&lt;BR /&gt;&lt;BR /&gt;# mkfs -F vxfs -m /dev/vg00/lvol5&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'vxupgrade(1M)'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Feb 2009 19:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354868#M565983</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-09T19:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354869#M565984</link>
      <description>i am at version 4&lt;BR /&gt;&lt;BR /&gt;#mkfs -m /dev/vg00/lvol7&lt;BR /&gt;mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol7 7720960</description>
      <pubDate>Mon, 09 Feb 2009 19:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354869#M565984</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-09T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354870#M565985</link>
      <description>HI (again):&lt;BR /&gt;&lt;BR /&gt;Have you tried running multiple defragmentations and if so, does this gain you any ability to reduce the filesystem?&lt;BR /&gt;&lt;BR /&gt;There may come a point, if you are determined to shrink this filesystem, that you should consider trying in single-user mode.  If that doesn't work, and you *still* insist on resizing, either (1) backup the filesystem; 'lvreduce' the logical volume size; 'newfs' the filesystem and reload it; or (2) use Ignite to rebuilt and reconfigure the sizes of your mountpoints.&lt;BR /&gt;&lt;BR /&gt;I fully understand that you have said that you "can't" quiet or otherwise unmount the filesystem.  You may have to choose among your options, however.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Feb 2009 20:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354870#M565985</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-09T20:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Defrag is not helping to free up unused space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354871#M565986</link>
      <description>I'm guessing you've got "free space" out there that you can't use because although the file is deleted, the space hasn't been given back to you yet.  Is this what your problem is?  &lt;BR /&gt;&lt;BR /&gt;If so, some process is holding the *inode* of the file.  The space won't free up until the process dies/quits.  You can use "lsof" to determine what process is holding the inode open.  If you don't have "lsof" you can get it from any of the "HPUX Porting Archive", the URL address of which can be obtained by using Google and searching for "HPUX Porting Archive".</description>
      <pubDate>Mon, 09 Feb 2009 20:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defrag-is-not-helping-to-free-up-unused-space/m-p/4354871#M565986</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2009-02-09T20:05:56Z</dc:date>
    </item>
  </channel>
</rss>

