<?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 Long running defragmentation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842951#M273664</link>
    <description>Okay, I may have made a little boo-boo. I started a defrag of our largest file system yesterday through SAM. It's still running after 22 hr., and it's affecting system performance. I'm getting a little tired of the angry glares from co-workers, so does anyone know if there is a way to stop it fairly gracefully (in other words, without losing data). Next time, I promise to use the -t option. Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Aug 2006 10:14:02 GMT</pubDate>
    <dc:creator>Gary Hines</dc:creator>
    <dc:date>2006-08-14T10:14:02Z</dc:date>
    <item>
      <title>Long running defragmentation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842951#M273664</link>
      <description>Okay, I may have made a little boo-boo. I started a defrag of our largest file system yesterday through SAM. It's still running after 22 hr., and it's affecting system performance. I'm getting a little tired of the angry glares from co-workers, so does anyone know if there is a way to stop it fairly gracefully (in other words, without losing data). Next time, I promise to use the -t option. Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2006 10:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842951#M273664</guid>
      <dc:creator>Gary Hines</dc:creator>
      <dc:date>2006-08-14T10:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Long running defragmentation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842952#M273665</link>
      <description>You can kill the fsadm process without loss of data.&lt;BR /&gt;&lt;BR /&gt;Since you have such a large file system, one that sounds like it hasn't been defragged for awhile, defrag more frequently.</description>
      <pubDate>Mon, 14 Aug 2006 10:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842952#M273665</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-08-14T10:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Long running defragmentation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842953#M273666</link>
      <description>Do you mean I can actually use a kill -9 on it? I tried a plain, vanilla kill, and a kill -15, and it pretty much ignored me. &lt;BR /&gt;&lt;BR /&gt;Believe, I do plan to defrag more often (with the -t option though).</description>
      <pubDate>Mon, 14 Aug 2006 11:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842953#M273666</guid>
      <dc:creator>Gary Hines</dc:creator>
      <dc:date>2006-08-14T11:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Long running defragmentation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842954#M273667</link>
      <description>Do not do a kill -9; I can't imagine a more dangerous command to send a SIGKILL to. Try a kill -1, kill -2, and kill -3. If one of those doesn't do it then let it continue. The way to test is to do a kill -0 PID and then check ${?}; if ${?} is zero, PID still refers to a running process.&lt;BR /&gt;&lt;BR /&gt;In most cases (there are exceptions) is is difficult to measure much less pervceive significant performance gains from this procedure.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2006 11:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842954#M273667</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-14T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Long running defragmentation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842955#M273668</link>
      <description>Well I was going to suggest a kill -9 and fsck but I'm finding references not to kill defrag once started.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=39004" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=39004&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Instead I'm going to suggest that you renice the defrag process with a lower priority and let it terminate on its own.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60103/renice.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60103/renice.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I suggest:&lt;BR /&gt;&lt;BR /&gt;renice -n +10 -p pid&lt;BR /&gt;&lt;BR /&gt;-n +10 will give you a nice value of 30, in a range of 0 to 39.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2006 11:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842955#M273668</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-08-14T11:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Long running defragmentation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842956#M273669</link>
      <description>Okay, killing is out the window. Thanks for pointing out renicing to a lower priority. I hadn't thought about that. At least that way it won't get quite as much in the way.</description>
      <pubDate>Mon, 14 Aug 2006 11:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-defragmentation/m-p/3842956#M273669</guid>
      <dc:creator>Gary Hines</dc:creator>
      <dc:date>2006-08-14T11:53:45Z</dc:date>
    </item>
  </channel>
</rss>

