<?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 Disk deframentation tools in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607851#M645461</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Does HP-UX 11.0 has any disk deframentation tools because I have to create a 2G contiguous swap space even though I have 2.8G free space in the vg00 as it prompt I don't have any contiguous space !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
    <pubDate>Tue, 06 Nov 2001 02:19:34 GMT</pubDate>
    <dc:creator>Patrick Chim</dc:creator>
    <dc:date>2001-11-06T02:19:34Z</dc:date>
    <item>
      <title>Disk deframentation tools</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607851#M645461</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Does HP-UX 11.0 has any disk deframentation tools because I have to create a 2G contiguous swap space even though I have 2.8G free space in the vg00 as it prompt I don't have any contiguous space !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Tue, 06 Nov 2001 02:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607851#M645461</guid>
      <dc:creator>Patrick Chim</dc:creator>
      <dc:date>2001-11-06T02:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Disk deframentation tools</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607852#M645462</link>
      <description>Hi Patrick:&lt;BR /&gt;&lt;BR /&gt;While there are defragmentation utilities, in the form of 'fsadm' with Online JFS, this is for directories and file blocks within logical volume extents.&lt;BR /&gt;&lt;BR /&gt;While the 'pvmove' utility operates on disk extents, beyond being able to move extents within a volume group you cannot move extents to a destination physical volume that is the same as a source physical volume.&lt;BR /&gt;&lt;BR /&gt;Thus, if you do not have spare, contiguous physical extents into which you can extend your primary swap space, you are left only with one good option:&lt;BR /&gt;&lt;BR /&gt;Create a secondary device swap on a separate physical disk from your primary.  For the best performance, assign the same swap priority to it as you primary, and make its size equal to that of the primary.  In this fashion you will interleave I/O and maximize performance.&lt;BR /&gt;&lt;BR /&gt;It is very rare that primary swap can be extended, but it is unnecessary if you configure secondary swap as indicated above.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 06 Nov 2001 02:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607852#M645462</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-06T02:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disk deframentation tools</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607853#M645463</link>
      <description>Hi,&lt;BR /&gt;You can defragment if you have online JFS.&lt;BR /&gt;In your case it is always advisable to configure secondary swap space as Suggested by JRF.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. To Report on Directory Fragmentation &lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/fsadm -D /[filesystem-name] &lt;BR /&gt;&lt;BR /&gt;2. To Defragment Directory &lt;BR /&gt;&lt;BR /&gt;Note: "-s" option shows the summary of the activity &lt;BR /&gt;"-v" option shows the result in verbose mode &lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/fsadm -F vxfs -d -s /[filesytem-name] &lt;BR /&gt;&lt;BR /&gt;3. To Report on Extent Fragmentation &lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/fsadm -E /[filesystem-name] &lt;BR /&gt;&lt;BR /&gt;4. To Defragment Extents &lt;BR /&gt;&lt;BR /&gt;Note: "-s" option shows the summary of the activity &lt;BR /&gt;"-v" option shows the result in verbose mode &lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/fsadm -F vxfs -e -s /[filesytem-name] &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Animesh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Nov 2001 02:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607853#M645463</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-11-06T02:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disk deframentation tools</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607854#M645464</link>
      <description>First, defragmentation is a filesystem concept and had zero effect on the size of a logical volume. Defrag is unnecessary for hfs filesystems and part of fsadm, but seldom needed.&lt;BR /&gt;&lt;BR /&gt;swap space can be scattered across multiple disks if desired...there is no significant advantage to one large swap area. In fact, using swap is always detrimental to system performance and in only needed when there is not enough RAM to run everything at the same time.&lt;BR /&gt;&lt;BR /&gt;When using multiple swap spaces, the priority determines the allocation policy.  If all prioprities are the same value, swapping (actually paging) is spread across all the disks in round robin fashion.</description>
      <pubDate>Tue, 06 Nov 2001 03:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607854#M645464</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-11-06T03:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disk deframentation tools</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607855#M645465</link>
      <description>Make sure that you really have enough free space:&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;vgdisplay /dev/vg00 shows a Free PE of 100&lt;BR /&gt;&lt;BR /&gt;This may be 100 Free PE with 20 PE on one disk , 10 on another and 70 on another.&lt;BR /&gt;&lt;BR /&gt;You have to do a lvdisplay -v /dev/vg00/&lt;SWAP-LVOL&gt; | more. Look at what disk the lvol is on.&lt;BR /&gt;&lt;BR /&gt;Now do a vgdisplay -v /dev/vg00 and look for the # of free extents on that disk.&lt;/SWAP-LVOL&gt;</description>
      <pubDate>Sat, 10 Nov 2001 21:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-deframentation-tools/m-p/2607855#M645465</guid>
      <dc:creator>Soren Morton</dc:creator>
      <dc:date>2001-11-10T21:52:19Z</dc:date>
    </item>
  </channel>
</rss>

