<?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: Adding device swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467525#M654307</link>
    <description>When you enable a swap area within a logical volume, HP-UX determines how large the area is and it will use no more space than that.If your disk has enough remaining contiguous space, you can subsequently increase the size of your primary swap area by using the lvextend command (or SAM) to enlarge the logical volume and then reboot the system. This allows HP-UX to use the extra space that you have provided.If you plan device swap areas in addition to primary swap, you will&lt;BR /&gt;attain the best performance when the device swap areas are on different physical volumes (disks). This allows for the interleaving of I/O to the physical volumes when swapping occurs. You set up this swapping configuration by creating multiple logical volumes for swap, each logical volume on a separate disk. You  ust use HP-UX commands to help you obtain this configuration; SAM does not allow you to create a logical volume on a specific disk.</description>
    <pubDate>Wed, 29 Nov 2000 08:11:31 GMT</pubDate>
    <dc:creator>thinphony</dc:creator>
    <dc:date>2000-11-29T08:11:31Z</dc:date>
    <item>
      <title>Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467520#M654302</link>
      <description>Can device swap be safely added to a partially filled physical volume in vg00 or is this something that should have been done during installation?  The physical volume contains a file system.  If this is possible, what is the best procedure.  I'm assuming that I would need to create an LV with the contiguous switch and then use some variation of swapon.</description>
      <pubDate>Mon, 27 Nov 2000 15:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467520#M654302</guid>
      <dc:creator>DLH</dc:creator>
      <dc:date>2000-11-27T15:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467521#M654303</link>
      <description>there's no problem adding additional swap from vg00.&lt;BR /&gt;Just create a new lvol and add it to swap.&lt;BR /&gt;Possibly you have to increase kernel parameter maxswapchunks.</description>
      <pubDate>Mon, 27 Nov 2000 15:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467521#M654303</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-11-27T15:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467522#M654304</link>
      <description>Also, how can I search this forum for previously answered questions?</description>
      <pubDate>Mon, 27 Nov 2000 15:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467522#M654304</guid>
      <dc:creator>DLH</dc:creator>
      <dc:date>2000-11-27T15:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467523#M654305</link>
      <description>use the 'search' link at the upper left corner type your pattern at 'Search for' and set the toggle button 'Community Forums' to on</description>
      <pubDate>Mon, 27 Nov 2000 15:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467523#M654305</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-11-27T15:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467524#M654306</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;1.  Swap performance will be best if the size and priority of multiple swap devices is the same.  Adding a second logical volume for swap to VG00 is quite appropriate.&lt;BR /&gt;&lt;BR /&gt;2.  To search the Forum, click "Search" on the left side of the ITRC Forum pages and choose "Community Forums" to search.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 27 Nov 2000 15:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467524#M654306</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-27T15:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467525#M654307</link>
      <description>When you enable a swap area within a logical volume, HP-UX determines how large the area is and it will use no more space than that.If your disk has enough remaining contiguous space, you can subsequently increase the size of your primary swap area by using the lvextend command (or SAM) to enlarge the logical volume and then reboot the system. This allows HP-UX to use the extra space that you have provided.If you plan device swap areas in addition to primary swap, you will&lt;BR /&gt;attain the best performance when the device swap areas are on different physical volumes (disks). This allows for the interleaving of I/O to the physical volumes when swapping occurs. You set up this swapping configuration by creating multiple logical volumes for swap, each logical volume on a separate disk. You  ust use HP-UX commands to help you obtain this configuration; SAM does not allow you to create a logical volume on a specific disk.</description>
      <pubDate>Wed, 29 Nov 2000 08:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467525#M654307</guid>
      <dc:creator>thinphony</dc:creator>
      <dc:date>2000-11-29T08:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467526#M654308</link>
      <description>I'm still not completely clear on how I should create the device swap.  I have existing device swap on one physical disk in vg00 and I want to create an equal amount of swap on another physical disk on VG00 which as I previously said has a file system mounted on part of it.  Do I have to use the -C option when creating the lv to force the extents to be contiguous?  Do I use swapon to assign the lv to be used as swap?  I read the man pages on swapon and it's not very clear to me how to use it to create device swap.  I guess what I'm asking for is a step by step process for creating the device swap.</description>
      <pubDate>Wed, 29 Nov 2000 23:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467526#M654308</guid>
      <dc:creator>DLH</dc:creator>
      <dc:date>2000-11-29T23:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467527#M654309</link>
      <description>&lt;BR /&gt;Hi,DLH.&lt;BR /&gt; first of all , you may need to check the maxswapchunks system parameter which by default allows you to add you swap device at the size of 512MB, if you will config your swap bigger than that, you may need increase the parameter, by sam.&lt;BR /&gt; second, create a logical volume on the second PV which will be used as swap. As a primary swap device the LV must be continous area on a disk, but for secondary, no documentation indicates continous nessecity, your condition obviously is the secondary swap.&lt;BR /&gt;# lvcreate -n lvswap2 /dev/vgroot&lt;BR /&gt;# lvextend     -L 200   /dev/vgroot/lvswap2 /dev/dsk/c1t0d0&lt;BR /&gt;# swapon /dev/vgroot/lvswap2  &lt;BR /&gt; (Please read swapon man pages for details, also this will work)&lt;BR /&gt;&lt;BR /&gt; then you should edit the /etc/fstab file to add an entry for the swap device:&lt;BR /&gt; &lt;BR /&gt;/dev/vgroot/lvswap2 / swap defaults 0 0&lt;BR /&gt; &lt;BR /&gt;this guarantee that after a system reboot the new swap device will be automatically swaped on.&lt;BR /&gt;&lt;BR /&gt;use swapinfo to check the swap message, If it doesn't work, try a reboot.&lt;BR /&gt;&lt;BR /&gt;hope this will work.&lt;BR /&gt;&lt;BR /&gt;Good luck &amp;amp; regards.&lt;BR /&gt;&lt;BR /&gt;thinphony&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Nov 2000 02:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-device-swap/m-p/2467527#M654309</guid>
      <dc:creator>thinphony</dc:creator>
      <dc:date>2000-11-30T02:44:45Z</dc:date>
    </item>
  </channel>
</rss>

