<?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: degragmentation on disk or ram in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719465#M252467</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes you can defragment files on a Vxfs file system. To achive this you should use&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -D /home (For directory fragmentation report)&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -d -D -s /home (Reorganization)&lt;BR /&gt;&lt;BR /&gt;man fsadm_vxfs for details.&lt;BR /&gt;&lt;BR /&gt;I do not think it is possible for RAM.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Sat, 28 Jan 2006 02:38:00 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2006-01-28T02:38:00Z</dc:date>
    <item>
      <title>degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719464#M252466</link>
      <description>dear sirs,&lt;BR /&gt;&lt;BR /&gt;is defragmentation happens on hpux disks or ram ? &lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;shiv</description>
      <pubDate>Sat, 28 Jan 2006 02:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719464#M252466</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-01-28T02:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719465#M252467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes you can defragment files on a Vxfs file system. To achive this you should use&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -D /home (For directory fragmentation report)&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -d -D -s /home (Reorganization)&lt;BR /&gt;&lt;BR /&gt;man fsadm_vxfs for details.&lt;BR /&gt;&lt;BR /&gt;I do not think it is possible for RAM.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Sat, 28 Jan 2006 02:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719465#M252467</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-01-28T02:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719466#M252468</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Yes, It happens on HP-UX if you installed OnlineJFS. Check man page of "fsadm" for more information. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Sat, 28 Jan 2006 02:39:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719466#M252468</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-28T02:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719467#M252469</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;defragmenation on RAM is not really possible.&lt;BR /&gt;&lt;BR /&gt;Defragmentation on disks can happen. Most of the time you will have to manage your disk space at your application level efficiently (e.g. LMT in oracle).&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Sat, 28 Jan 2006 04:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719467#M252469</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-28T04:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719468#M252470</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Deframentation of RAM is not rellay needed in HP-UX since it is based on Unix. Where as windows third party tools are available to do so. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jan 2006 05:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719468#M252470</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-28T05:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719469#M252471</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Some threads about Deframentation of HP-UX disks. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=140574" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=140574&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=691864" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=691864&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=78706" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=78706&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Sat, 28 Jan 2006 05:33:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719469#M252471</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-28T05:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719470#M252472</link>
      <description>I run a script from cron once a week:&lt;BR /&gt;&lt;BR /&gt;#defrag filesystems&lt;BR /&gt;0 22 * * 4 /usr/local/bin/fsadm.defrag &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/fsadm.defrag&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# defrag all mounted file systems&lt;BR /&gt;LOG=/tmp/fsadm.defrag.log&lt;BR /&gt;if [ -f $LOG ]&lt;BR /&gt;then&lt;BR /&gt;mv $LOG $LOG.old&lt;BR /&gt;fi&lt;BR /&gt;cat /dev/null &amp;gt; $LOG&lt;BR /&gt;&lt;BR /&gt;for i in `mount -l | grep -v stand |awk '{print $1}'`&lt;BR /&gt;do&lt;BR /&gt;echo "defraging " $i &amp;gt;&amp;gt; $LOG&lt;BR /&gt;fsadm -F vxfs -d -D -e -E $i &amp;gt;&amp;gt; $LOG&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Sat, 28 Jan 2006 09:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719470#M252472</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-01-28T09:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719471#M252473</link>
      <description>Is there a way to decide whether a file system needs defragmentation ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;shiv</description>
      <pubDate>Sat, 28 Jan 2006 13:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719471#M252473</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-01-28T13:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719472#M252474</link>
      <description>Shiv,&lt;BR /&gt;&lt;BR /&gt;I run a script once a month that checks for it, and generates the report, but then does not defrag.  (We only have OnlineJFS for our DB machines...)&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;# Filesystem fragmentation checker&lt;BR /&gt;# written by jjp 22 May 2003&lt;BR /&gt;# To defrag a fragmented filesystem, do a 'fsadm -D -d -E -e /filesystem'&lt;BR /&gt;# This will run a report on the fragmentation before and after the run&lt;BR /&gt;rm /home/ucs/jjp/fragmentreport&lt;BR /&gt;touch /home/ucs/jjp/fragmentreport&lt;BR /&gt;for i in `bdf -l |grep -v Filesystem |awk '{print $6}'`&lt;BR /&gt;do&lt;BR /&gt;if [ $i != "/stand" ]; then&lt;BR /&gt;uname -n &lt;BR /&gt;print $i&lt;BR /&gt;fsadm -F vxfs -D -E $i&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The report lets you know what kind of fragmentation you have.  (You have to extrapolate from the report.)  I run the script each month, then have one of my student employees pore over the reports to see what's starting to become fragmented.  I have a little paper I can dig up for you that explains what to look for if you can't figure it out ffrom the man page.  (man fsadm)&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Sat, 28 Jan 2006 13:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719472#M252474</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2006-01-28T13:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719473#M252475</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;Maybe this link can help, see the reply from Mr. Ferguson:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=102143&amp;amp;admit=-682735245+1138472183916+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=102143&amp;amp;admit=-682735245+1138472183916+28353475&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;Regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Sat, 28 Jan 2006 13:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719473#M252475</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2006-01-28T13:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719474#M252476</link>
      <description>Hi Shiv&lt;BR /&gt;&lt;BR /&gt;Following link may be of help&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5187-1375/ch05s06.html" target="_blank"&gt;http://docs.hp.com/en/5187-1375/ch05s06.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mahesh</description>
      <pubDate>Sun, 29 Jan 2006 02:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719474#M252476</guid>
      <dc:creator>Mahesh Kumar Malik</dc:creator>
      <dc:date>2006-01-29T02:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719475#M252477</link>
      <description>Shalom Shiv,&lt;BR /&gt;&lt;BR /&gt;Online JFS fsadm defragmenting provides a report that can give you an idea as to whether defragmentation was really necessary, be it after the fact.&lt;BR /&gt;&lt;BR /&gt;I would suggest you see if the utility has a preview mode as many utilities do.&lt;BR /&gt;&lt;BR /&gt;It's important that once its running it be left to complete its task.&lt;BR /&gt;&lt;BR /&gt;Here are the guts to the script I ran in the US:&lt;BR /&gt;&lt;BR /&gt;while read -r aa bb cc dd ee&lt;BR /&gt;do&lt;BR /&gt;  FILESYSTEM=$bb&lt;BR /&gt;  echo "fs is $bb $cc"&lt;BR /&gt;  if [ "$cc" = "vxfs" ]&lt;BR /&gt;  then&lt;BR /&gt;    /usr/sbin/fsadm -F vxfs -D -d -E -e -s $FILESYSTEM&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;done &amp;lt; /etc/fstab&lt;BR /&gt;&lt;BR /&gt;# As you see it reads /etc/fstab and only touches those filesystems with vxfs on them.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 29 Jan 2006 16:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719475#M252477</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-29T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: degragmentation on disk or ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719476#M252478</link>
      <description>While one can certainly defragment a vxfs filesystem, my experience has been --- except in rare circumstances --- that it is difficult to achieve measurable, much less significant, results. Bear in mind that vxfs filesystems are extent-based and try to allocate large chunks and UNIX filesystems are geared towards creating many, many files in a short period of time.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Jan 2006 17:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/degragmentation-on-disk-or-ram/m-p/3719476#M252478</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-29T17:53:09Z</dc:date>
    </item>
  </channel>
</rss>

