<?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: Defragmenting file system on HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242050#M173811</link>
    <description>Hi Anil, &lt;BR /&gt;&lt;BR /&gt;Defragmenting of file system on HP_UX is definitely avaliable if the file system type is&lt;BR /&gt;vxfs or JFS. U can use following command&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -e -v /var&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also look for fsadm_vxfs man pages.&lt;BR /&gt;&lt;BR /&gt;- Santosh</description>
    <pubDate>Wed, 07 Apr 2004 03:15:38 GMT</pubDate>
    <dc:creator>SANTOSH S. MHASKAR</dc:creator>
    <dc:date>2004-04-07T03:15:38Z</dc:date>
    <item>
      <title>Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242045#M173806</link>
      <description>Hi,&lt;BR /&gt;I want to defrag /var filesystem online on a HP machine running B.10.20.&lt;BR /&gt;&lt;BR /&gt;Are there any chances of data loss.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 07 Apr 2004 02:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242045#M173806</guid>
      <dc:creator>Anil_29</dc:creator>
      <dc:date>2004-04-07T02:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242046#M173807</link>
      <description>defrag ??? Is this available in UNIX ??. I remember this term in DOS.&lt;BR /&gt;&lt;BR /&gt;kiddin ....&lt;BR /&gt;&lt;BR /&gt;I do not in HPUX but in AIX there is a command called defragfs .. Check for something similier in HPUX. Also logically it would not work if u do not have Online JFS&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 07 Apr 2004 02:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242046#M173807</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-04-07T02:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242047#M173808</link>
      <description>Yes but no.&lt;BR /&gt; &lt;BR /&gt;There is a chance of data loss but, to be honest I have never seen it happen.  If you are at all nervous about this, take a backup first.</description>
      <pubDate>Wed, 07 Apr 2004 02:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242047#M173808</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-07T02:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242048#M173809</link>
      <description>Hi anil&lt;BR /&gt;&lt;BR /&gt;If u have HFS it is an optimised defragmentation. &lt;BR /&gt;&lt;BR /&gt;Hope this url will help you&lt;BR /&gt;&lt;BR /&gt;HFS :&lt;BR /&gt;&lt;A href="http://aa11.cjb.net/hpux_admin/1997/0008.html" target="_blank"&gt;http://aa11.cjb.net/hpux_admin/1997/0008.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Online jFS :&lt;BR /&gt;&lt;A href="http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0029.html" target="_blank"&gt;http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-10/0029.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;suresh</description>
      <pubDate>Wed, 07 Apr 2004 03:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242048#M173809</guid>
      <dc:creator>SureshKumar_2</dc:creator>
      <dc:date>2004-04-07T03:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242049#M173810</link>
      <description>you should have Online JFS installed for this.&lt;BR /&gt;&lt;BR /&gt;the extent fragmentation and directory fragmentation are specified by the -e and -d options of the  fsadm command.&lt;BR /&gt;&lt;BR /&gt;I would really recommend to take a ignite image backup before you do something on this system file system,.&lt;BR /&gt;&lt;BR /&gt;First run -E &amp;amp; -E options to just view the report of fragmentation.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2004 03:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242049#M173810</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-04-07T03:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242050#M173811</link>
      <description>Hi Anil, &lt;BR /&gt;&lt;BR /&gt;Defragmenting of file system on HP_UX is definitely avaliable if the file system type is&lt;BR /&gt;vxfs or JFS. U can use following command&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -e -v /var&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also look for fsadm_vxfs man pages.&lt;BR /&gt;&lt;BR /&gt;- Santosh</description>
      <pubDate>Wed, 07 Apr 2004 03:15:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242050#M173811</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-04-07T03:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242051#M173812</link>
      <description>Hi Manikanthan,&lt;BR /&gt;&lt;BR /&gt;Thanks for all who replied.&lt;BR /&gt;Can u pls tell me if my /var file system requires defragmentation, I am pasting the output of "fsadm -F vxfs -D -E /var" command. cna can any one briefly explain the output.&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -D -E /var&lt;BR /&gt;&lt;BR /&gt;  Directory Fragmentation Report&lt;BR /&gt;             Dirs        Total      Immed    Immeds   Dirs to   Blocks to&lt;BR /&gt;             Searched    Blocks     Dirs     to Add   Reduce    Reduce&lt;BR /&gt;  total          2830      1110      1956        51        55         104&lt;BR /&gt;&lt;BR /&gt;  Extent Fragmentation Report&lt;BR /&gt;        Total    Average      Average     Total&lt;BR /&gt;        Files    File Blks    # Extents   Free Blks&lt;BR /&gt;        16150          31           1       42085&lt;BR /&gt;    blocks used for indirects: 326&lt;BR /&gt;    % Free blocks in extents smaller than 64 blks: 47.79&lt;BR /&gt;    % Free blocks in extents smaller than  8 blks: 34.40&lt;BR /&gt;    % blks allocated to extents 64 blks or larger: 75.81&lt;BR /&gt;    Free Extents By Size&lt;BR /&gt;        1:        635      2:        477      4:        404      8:         78&lt;BR /&gt;       16:         17     32:         11     64:          8    128:          6&lt;BR /&gt;      256:          6    512:          2   1024:          1   2048:          0&lt;BR /&gt;     4096:          0   8192:          0  16384:          0  32768:          1&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 07 Apr 2004 03:18:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242051#M173812</guid>
      <dc:creator>Anil_29</dc:creator>
      <dc:date>2004-04-07T03:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242052#M173813</link>
      <description>Anil,&lt;BR /&gt;&lt;BR /&gt;man 1m fsadm_vxfs has a section that explains most of fields and values.&lt;BR /&gt;&lt;BR /&gt;In most cases, a smaller number is better.&lt;BR /&gt;Important fields to look at are:&lt;BR /&gt;Immeds to Add&lt;BR /&gt;Dirs to Reduce&lt;BR /&gt;Blocks to Reduce&lt;BR /&gt;Avg # Extents&lt;BR /&gt;%Free in smaller than 64 blocks&lt;BR /&gt;%Free in smaller than 8 blocks&lt;BR /&gt;&lt;BR /&gt;I schedule a defrag for all vxfs file systems monthly.  To give you an example of what my /var looks like:&lt;BR /&gt;&lt;BR /&gt;Directory Fragmentation Report&lt;BR /&gt;Dirs     Total   Immed  Immeds  Dirs to  Blocks to    &lt;BR /&gt;Searched Blocks  Dirs   to Add  Reduce  Reduce&lt;BR /&gt;10052    725     9469   1       8         &lt;BR /&gt;27&lt;BR /&gt;Extent Fragmentation Report&lt;BR /&gt;Total    Average      Average     Total&lt;BR /&gt;Files    File Blks    # Extents   Free Blks&lt;BR /&gt;19342    31           1           1474780&lt;BR /&gt;blocks used for indirects: 24&lt;BR /&gt;% Free blocks in extents smaller than 64 blks: 2.29&lt;BR /&gt;% Free blocks in extents smaller than  8 blks: 0.16&lt;BR /&gt;% blks allocated to extents 64 blks or larger: 82.06&lt;BR /&gt;&lt;BR /&gt;HP suggests "%Free blocks in extents smaller than 64 blocks" be less than 50%, your # is approaching that.  In most cases you're not going to run a defrag and say "Wow, what an improvement." But even small improvements over time can help out the big picture.  Although a defrag can be run at any time, there will be a performance hit while it is happening so keep that in mind if users are accessing the system.  I just schedule mine off hours.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2004 06:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242052#M173813</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-04-07T06:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242053#M173814</link>
      <description>As mentioned, you will not see a significant improvement in speed at all. The VxFS filesystem does a good job in keeping file fragmentation to a minimum. Your first step in managing /var should be to implement an automated removal of unnecessary and temporary files in /var/tmp and trimming or archiving logfiles in /var/adm. Similarly, the cleanup command is needed to manage patches and of course, junk (forgooten data) in /var/mail and /var/spool are always a problem. And if your system has crashed, there may be crash dumps in /var/adm/crash. Do this to locate the trouble areas:&lt;BR /&gt; &lt;BR /&gt;du -kx /var | sort -rn | more</description>
      <pubDate>Wed, 07 Apr 2004 07:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242053#M173814</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-04-07T07:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Defragmenting file system on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242054#M173815</link>
      <description>some unix fs have this option, however its impact will be minimal, the unix fs is already optimized.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Apr 2004 01:30:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defragmenting-file-system-on-hp-ux/m-p/3242054#M173815</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2004-04-08T01:30:41Z</dc:date>
    </item>
  </channel>
</rss>

