<?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: Secondary swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042495#M433085</link>
    <description>I'll assume that you have some free space on vg00.&lt;BR /&gt;&lt;BR /&gt;1) Create a logical volume with contiguous allocation. I'll assume that it is mirrored as well. Let's pretend it is /dev/vg00/lvol9, size 8192MiB.&lt;BR /&gt;&lt;BR /&gt;lvcreate -C y -m 1 -n lvol9 /dev/vg00&lt;BR /&gt;&lt;BR /&gt;2) Next create an entry in /etc/fstab like this:&lt;BR /&gt;/dev/vg00/lvol9 ... swap pri=2 0 0&lt;BR /&gt;&lt;BR /&gt;3) swapon -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Apr 2007 10:48:35 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-04-25T10:48:35Z</dc:date>
    <item>
      <title>Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042494#M433084</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you please guide line to me, how I can create secondary swap space in my system under vg00 (H/W rp4440 &amp;amp; OS 11.23.&lt;BR /&gt;&lt;BR /&gt;Please give me your feedback ASAP.&lt;BR /&gt;&lt;BR /&gt;Regards-Yaqub</description>
      <pubDate>Wed, 25 Apr 2007 10:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042494#M433084</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2007-04-25T10:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042495#M433085</link>
      <description>I'll assume that you have some free space on vg00.&lt;BR /&gt;&lt;BR /&gt;1) Create a logical volume with contiguous allocation. I'll assume that it is mirrored as well. Let's pretend it is /dev/vg00/lvol9, size 8192MiB.&lt;BR /&gt;&lt;BR /&gt;lvcreate -C y -m 1 -n lvol9 /dev/vg00&lt;BR /&gt;&lt;BR /&gt;2) Next create an entry in /etc/fstab like this:&lt;BR /&gt;/dev/vg00/lvol9 ... swap pri=2 0 0&lt;BR /&gt;&lt;BR /&gt;3) swapon -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Apr 2007 10:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042495#M433085</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-25T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042496#M433086</link>
      <description>let's say you want to add 4GB additional swap space and you have anough unused disk space on vg00&lt;BR /&gt;&lt;BR /&gt;first create the logical volume&lt;BR /&gt;lvcreate -L 4000 -n lvsecswap -C y -r n /dev/vg00&lt;BR /&gt;&lt;BR /&gt;then activate it with priority 1&lt;BR /&gt;swapon -p 1 /dev/vg00/lvsecswap&lt;BR /&gt;&lt;BR /&gt;then check to see if it came online&lt;BR /&gt;swapinfo -ta&lt;BR /&gt;&lt;BR /&gt;if everything looks okay, add it to your fstab so that it gets activated every time your system reboots&lt;BR /&gt;&lt;BR /&gt;(edit /etc/fstab with editor of your choice and add this line below to it)&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvsecswap ... swap pri=1 0 1 &lt;BR /&gt;&lt;BR /&gt;hope this helps</description>
      <pubDate>Wed, 25 Apr 2007 10:51:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042496#M433086</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2007-04-25T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042497#M433087</link>
      <description>Oops, I'm stupid.&lt;BR /&gt;This:&lt;BR /&gt;lvcreate -C y -m 1 -n lvol9 /dev/vg00&lt;BR /&gt;should be:&lt;BR /&gt;lvcreate -C y -m 1 -L 8192 -n lvol9 /dev/vg00</description>
      <pubDate>Wed, 25 Apr 2007 10:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042497#M433087</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-25T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042498#M433088</link>
      <description>This is the complete book that shows how create and configure your primary and secundary swap, on chapter 6.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90672/B2355-90672.pdf" target="_blank"&gt;http://docs.hp.com/en/B2355-90672/B2355-90672.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 25 Apr 2007 11:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042498#M433088</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-04-25T11:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042499#M433089</link>
      <description>One point: Are you sure that you need more swap? I have many systems that actually have much more memory than swap and they run just fine. Are you actually paging out? The old rules about 2-3X memory should be configured as swap space very seledom apply --- and haven't for about 2 decades.</description>
      <pubDate>Wed, 25 Apr 2007 11:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042499#M433089</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-25T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042500#M433090</link>
      <description>Hi Stephenson,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your reply.&lt;BR /&gt;&lt;BR /&gt;I will configer on my system secondary swap only 4GB. When I will mirror other lvol then secondary swap mirror or befor? If after then I will execute only for below command:&lt;BR /&gt;&lt;BR /&gt;lvcreate -C y -m 1 -L 4096 -n lvol9 /dev/vg00 then creat /etc/fstab&lt;BR /&gt;/dev/vg00/lvol9 ... swap pri=2 0 0&lt;BR /&gt;&lt;BR /&gt;Please confirm me.&lt;BR /&gt;&lt;BR /&gt;Regards-Yaqub&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042500#M433090</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2007-04-25T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042501#M433091</link>
      <description>Regarding the mirror:&lt;BR /&gt;&lt;BR /&gt;You can create a LVOL in a certain size, setup your swap and mirror&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;create the LVOL with a 0 size, mirror, extend the size and create your swap&lt;BR /&gt;&lt;BR /&gt;the second procedure is much faster, but this is the only difference</description>
      <pubDate>Wed, 25 Apr 2007 11:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042501#M433091</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-04-25T11:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042502#M433092</link>
      <description>Note that the "-m 1" option of lvcreate does the mirroring at the time the LVOL is created. You can do it later with an lvextend command but if you already have a mirrored root disk then you want to do it with vgcreate. Mirroring isn't absolutely required but it is a very good practice.&lt;BR /&gt;&lt;BR /&gt;Your steps are:&lt;BR /&gt;1) lvcreate&lt;BR /&gt;2) Add a "swap" line to /etc/fstab.&lt;BR /&gt;3) swapon -a&lt;BR /&gt;&lt;BR /&gt;I prefer this to the the swapon -e method which takes the options from the command line because the swapon -a command reads your /etc/fstab tab, checks for syntax, and enables any unused swap entries. This ensures that not only is your new swap space enabled now but also will be enabled at the next boot.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042502#M433092</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-25T11:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042503#M433093</link>
      <description>Thanks all of your coopeartion....</description>
      <pubDate>Thu, 26 Apr 2007 06:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042503#M433093</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2007-04-26T06:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042504#M433094</link>
      <description>You really need to turn off the bad block relocation for swap as Mel shows with his lvcreate command(-r n).</description>
      <pubDate>Thu, 26 Apr 2007 07:22:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/5042504#M433094</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-04-26T07:22:33Z</dc:date>
    </item>
  </channel>
</rss>

