<?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 Secondary Swap File in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397399#M200200</link>
    <description>We currently have to little swap set up and there is no additional filesystem space available to add to the primary swap file. Consequently, the move to add the external drive and make it a secondary swap file.</description>
    <pubDate>Mon, 11 Oct 2004 09:00:13 GMT</pubDate>
    <dc:creator>Andrew Kaplan</dc:creator>
    <dc:date>2004-10-11T09:00:13Z</dc:date>
    <item>
      <title>Adding Secondary Swap File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397396#M200197</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I am going to be adding an external drive to a Visualize C class system running 10.20. I plan on making a portion of the new disk, 1 GB, a secondary swap partition. My plan is to use SAM to complete this task. Is there anything in particular I should look for in SAM? Thanks.</description>
      <pubDate>Mon, 11 Oct 2004 08:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397396#M200197</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2004-10-11T08:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secondary Swap File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397397#M200198</link>
      <description>Why exactly you are adding the swap space?? How much RAM you have?? and what is the swap space configured???&lt;BR /&gt;&lt;BR /&gt;If enought swap space is configured, whay would one add secondary swap??&lt;BR /&gt;&lt;BR /&gt;In case you still want to add it, the procedure is simple. Create a lvol.&lt;BR /&gt;lvcreate -L xxxM -Cy -r N /dev/vgxx&lt;BR /&gt;Add the line to the /etc/fstab&lt;BR /&gt;&lt;BR /&gt;/dev/vgxx/lvolx ... swap pri=x 0 0&lt;BR /&gt;The priority can be set as you want. If you want to use secndary swap first, set the priority lower than the primary swap.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 11 Oct 2004 08:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397397#M200198</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-11T08:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secondary Swap File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397398#M200199</link>
      <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;Nothing in particular. &lt;BR /&gt;Just go to the Disks and File Systems section.&lt;BR /&gt;Then into Volume Groups -&amp;gt; Actions -&amp;gt; Create and choose the new disk, give the VG a name, optionally modify the defaults (do this if any more larger disks may be added to the VG). Then in this screen you can also create the new swap LV (Just make sure you define it as a swap device). That's all there is to it.&lt;BR /&gt;&lt;BR /&gt;Of course it's usually faster from the command line - as follows:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/cXtYdZ  #(Use the appropriate new disk device)&lt;BR /&gt;vgcreate vg_name /dev/dsk/cXtYdZ&lt;BR /&gt;lvcreate -L 1000 -n lv_name vg_name&lt;BR /&gt;Edit the /etc/fstab &amp;amp; insert the following&lt;BR /&gt;/dev/vg_name/lv_name ... swap pri=0 0 0&lt;BR /&gt;Then run&lt;BR /&gt;swapon -a&lt;BR /&gt;&lt;BR /&gt;NOTE: You may have to increase one of the following kernel parms to use more swap:&lt;BR /&gt;maxswapchunks&lt;BR /&gt;swchunk&lt;BR /&gt;Either/or will require a kernel rebuild &amp;amp; reboot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 11 Oct 2004 08:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397398#M200199</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-10-11T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secondary Swap File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397399#M200200</link>
      <description>We currently have to little swap set up and there is no additional filesystem space available to add to the primary swap file. Consequently, the move to add the external drive and make it a secondary swap file.</description>
      <pubDate>Mon, 11 Oct 2004 09:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-secondary-swap-file/m-p/3397399#M200200</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2004-10-11T09:00:13Z</dc:date>
    </item>
  </channel>
</rss>

