<?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 swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633196#M41753</link>
    <description>I would create a separate vg for it. After that you can do this to create your addl swap.&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L 400 -n swap2 -C y -r n /dev/vg01&lt;BR /&gt;   ==&amp;gt; create 400MB contigous lv called swap in vg01 with bad block reallocation turned off&lt;BR /&gt;&lt;BR /&gt;# swapon -p 1 /dev/vg01/swap2&lt;BR /&gt;   ==&amp;gt; enable swap with priority 1.&lt;BR /&gt; &lt;BR /&gt;# swapinfo -ta&lt;BR /&gt;   ==&amp;gt; check to see if added swap is enabled.&lt;BR /&gt;&lt;BR /&gt;# vi /etc/fstab&lt;BR /&gt;....&lt;BR /&gt;/dev/vg01/swap2 ... swap pri=1  0  1&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Dec 2001 15:47:04 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2001-12-19T15:47:04Z</dc:date>
    <item>
      <title>Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633191#M41748</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i have a system with mirrored vg00 (2 x 4GB)and have to increase swap but there is not enough space in vg00.&lt;BR /&gt;So i bought two additional disks (4GB) and put them into my HASS enclosure. These new disk should also be mirrored.&lt;BR /&gt;&lt;BR /&gt;Now i'm not sure how to add the swap.&lt;BR /&gt;Should i add the disks into vg00 (vgextend)&lt;BR /&gt;or&lt;BR /&gt;create a new vg and add them there ?&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Wed, 19 Dec 2001 15:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633191#M41748</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-12-19T15:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633192#M41749</link>
      <description>you can only extend the current vol if it can be contiguous.  If not you will have to create a new LV.  Just use the swapon command for this (it will require a reboot though).&lt;BR /&gt;&lt;BR /&gt;man 1m swapon</description>
      <pubDate>Wed, 19 Dec 2001 15:40:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633192#M41749</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-19T15:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633193#M41750</link>
      <description>check here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90672/00/00/63-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90672/00/00/63-toc.html&amp;amp;searchterms=swap%7cadding&amp;amp;queryid=20011219-074426" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90672/00/00/63-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90672/00/00/63-toc.html&amp;amp;searchterms=swap%7cadding&amp;amp;queryid=20011219-074426&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2001 15:41:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633193#M41750</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2001-12-19T15:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633194#M41751</link>
      <description>It can be a 6 of one half dozen of the other...but for myself.  I tend to set the second set of disks as part of vg00 and then define a good size lvol for swap.  That way in a pinch I can still extend something in vg (if I have to buy time) before getting the next set of disks to add..&lt;BR /&gt;&lt;BR /&gt;Just my way of doing things,&lt;BR /&gt;Rita</description>
      <pubDate>Wed, 19 Dec 2001 15:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633194#M41751</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-12-19T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633195#M41752</link>
      <description>Hi andrea,&lt;BR /&gt;&lt;BR /&gt;Try this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=06441d351602b8f346/screen=ckiDisplayDocument?docId=200000056198282" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=06441d351602b8f346/screen=ckiDisplayDocument?docId=200000056198282&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=06441d351602b8f346/screen=ckiDisplayDocument?docId=200000053039597" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=06441d351602b8f346/screen=ckiDisplayDocument?docId=200000053039597&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2001 15:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633195#M41752</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-12-19T15:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633196#M41753</link>
      <description>I would create a separate vg for it. After that you can do this to create your addl swap.&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L 400 -n swap2 -C y -r n /dev/vg01&lt;BR /&gt;   ==&amp;gt; create 400MB contigous lv called swap in vg01 with bad block reallocation turned off&lt;BR /&gt;&lt;BR /&gt;# swapon -p 1 /dev/vg01/swap2&lt;BR /&gt;   ==&amp;gt; enable swap with priority 1.&lt;BR /&gt; &lt;BR /&gt;# swapinfo -ta&lt;BR /&gt;   ==&amp;gt; check to see if added swap is enabled.&lt;BR /&gt;&lt;BR /&gt;# vi /etc/fstab&lt;BR /&gt;....&lt;BR /&gt;/dev/vg01/swap2 ... swap pri=1  0  1&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2001 15:47:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633196#M41753</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-12-19T15:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633197#M41754</link>
      <description>Hi,&lt;BR /&gt;Hi&lt;BR /&gt;I would create new VG and than use priority &lt;BR /&gt;&lt;BR /&gt;The following doc might useful&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=c13f35fc11a4d6f7e3/screen=ckiDisplayDocument?docId=200000053039597" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=c13f35fc11a4d6f7e3/screen=ckiDisplayDocument?docId=200000053039597&lt;/A&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 19 Dec 2001 15:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633197#M41754</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-19T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633198#M41755</link>
      <description>hey,&lt;BR /&gt;&lt;BR /&gt;If you are looking for a secondary swap space, then you can create a new VG, then create new lv and mirror it. U can add this new lv as the new swap space.&lt;BR /&gt;&lt;BR /&gt;There is no problem in adding this to vg00 and doing the same thing.&lt;BR /&gt;&lt;BR /&gt;Shiju</description>
      <pubDate>Wed, 19 Dec 2001 15:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633198#M41755</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2001-12-19T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633199#M41756</link>
      <description>My advice would be to add the volumes to vg00, because then you can use the swap vols as dump volumes as well with lvlnboot.  I'd also leave as much free space on the disks as possible as its always good to have some available in vg00.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 19 Dec 2001 15:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633199#M41756</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-12-19T15:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633200#M41757</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;let's start a fight about this ;-)&lt;BR /&gt;Personally I don't think it really matters if you create a new Volume Group or add them to VG00; it's up to you, your habbits, company policy, whatever,...   Both have some advantages and disadvantages, but no real winner or loser on both.&lt;BR /&gt;&lt;BR /&gt;But if you add them to VG00, make sure the new swap space resides completely on the new disk, or that a different swap priority is assigned.  You really do not want to round-robbin between swap spaces on the same disk ;-)&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 19 Dec 2001 16:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap/m-p/2633200#M41757</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-12-19T16:21:40Z</dc:date>
    </item>
  </channel>
</rss>

