<?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: extending Mirrored primary swap area in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384585#M198301</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;No it makes no difference if you have 1, 2, 3 or even more swap devices simply because if you actually start paging out to them - implying that you've exhausted RAM - your response times will go into the toilet. This results because disk access is more than 1000 times slower than RAM access. &lt;BR /&gt;You usually need more swap space for reservation purposes. This is because *every* process that wants to start must reserve a chunk of swap space just in case it ever does need to physically page out.&lt;BR /&gt;You should also check the kernel parm swapmem_on &amp;amp; make sure it's set to 1&lt;BR /&gt;This allows the system to use approx 75% of RAM as pseudo-swap &amp;amp; will give you more reservation space.&lt;BR /&gt;The moral is - Make sure you have enough physical RAM to support all the processes. You don't *ever* want to actually page out.&lt;BR /&gt;I hope this answers your question.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
    <pubDate>Thu, 23 Sep 2004 08:40:08 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2004-09-23T08:40:08Z</dc:date>
    <item>
      <title>extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384573#M198289</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have been asked to increase the primary swap area from 4GB to 8GB for Oracle 9i installation, but I already configured it as mirrored, my quastion is I want to know the exact procedure to do this.&lt;BR /&gt;&lt;BR /&gt;One more thing, we do not have the Online JFS product.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance....&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Sep 2004 12:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384573#M198289</guid>
      <dc:creator>Fayez</dc:creator>
      <dc:date>2004-09-22T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384574#M198290</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You won't be able to extend the primary swap because it, / &amp;amp; /stand *must* be contigous.&lt;BR /&gt;What you _can_ do is setup another, secondary swap area in either free VG space you now have or add a disk &amp;amp; setup a VG with a swap LV defined within it. It's just like creating any other LV except you just don't put a filesystem on it.&lt;BR /&gt;Once it's set up then add an entry to /etc/fstab like the following&lt;BR /&gt;&lt;BR /&gt;/dev/vg_name/lv_name ... swap pri=0 0 0 &lt;BR /&gt;&lt;BR /&gt;and then run &lt;BR /&gt;swapon -a&lt;BR /&gt;&lt;BR /&gt;You may need to increase either/or kernel parameters:&lt;BR /&gt;&lt;BR /&gt;maxswapchunks&lt;BR /&gt;swchunk&lt;BR /&gt;&lt;BR /&gt;to accomodate the extra swap space. Both require a reboot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 22 Sep 2004 12:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384574#M198290</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-09-22T12:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384575#M198291</link>
      <description>Use LVM to create a new logical volume then use lvextend to mirror it and, finally, use swapon to enable it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 22 Sep 2004 12:50:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384575#M198291</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-09-22T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384576#M198292</link>
      <description>first:&lt;BR /&gt;&lt;BR /&gt;lvextend -L &lt;SIZE in="" mb=""&gt; /dev/vg00/lvol2 /dev/dsk/c1t51d0 /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;This should actually extend the mirror straight away. No online JFS.&lt;BR /&gt;&lt;BR /&gt;I usually break the mirror first.&lt;BR /&gt;&lt;BR /&gt;lvsplit /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;lvextend -L 9000 /dev/vg00/lvol2 /dev/dsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;lvremove the copy that was made with lvsplit.&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol02 /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;You'll probably have to activate the large swap area. Sam provides a good interface, but you'll probably have to boot the box.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;&lt;/SIZE&gt;</description>
      <pubDate>Wed, 22 Sep 2004 12:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384576#M198292</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-22T12:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384577#M198293</link>
      <description>If you just need more swap, then add a new swap device (either through SAM or command line).&lt;BR /&gt;&lt;BR /&gt;No reboot required to add swap.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 22 Sep 2004 13:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384577#M198293</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-22T13:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384578#M198294</link>
      <description>Ummmmm SEP, even though the poster didn't explicitly state it, I'm pretty sure that they not only want to extend it - they wish to be able to use it as well.&lt;BR /&gt;Your method just won't fly.&lt;BR /&gt;The *only* way to extend primary swap on the root/boot disk is via Ignite tape recovery.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 22 Sep 2004 13:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384578#M198294</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-09-22T13:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384579#M198295</link>
      <description>Since this is just for Oracle installation, just find a 4Gb logical volume and run the swapon command to add it. There is no need to increase the primary swap area as there is nothing special except that it is the first swap area. swapon adds the additional space and the system uses it transparently. When you reboot, the additional swap area disappears and the lvol can be reused.&lt;BR /&gt; &lt;BR /&gt;The DBAs are asking for the wrong task. They may have said 'primary' but what they meant was 'total'. swap is not a filesystem, it is part of the virtual memory system and the raw swap space cannot be extended--the virtual memory system won't 'see' any new space in an lvol.</description>
      <pubDate>Wed, 22 Sep 2004 13:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384579#M198295</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-09-22T13:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384580#M198296</link>
      <description>hi, &lt;BR /&gt;What we used to practice for temporary need was enable paging on some file system having a paging directory. You can acheive it by doing as follows: &lt;BR /&gt;/usr/sbin/swapon -l 5000 -r 10000 -p 2 /var/adm/crash/paging &lt;BR /&gt;&lt;BR /&gt;What you can keep in mind is try and see a bing enough file system which you can use. &lt;BR /&gt;&lt;BR /&gt;-r 10000 these much file system blocks will be saved for file system usage. &lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Reply what you did at last&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prashant&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Sep 2004 14:54:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384580#M198296</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-09-22T14:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384581#M198297</link>
      <description>Below link also will help you for understanding swap modification operation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90670/B2355-90672_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90672/00/00/62-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90672/00/00/62-toc.html&amp;amp;searchterms=swapon&amp;amp;queryid=20040922-135555" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90670/B2355-90672_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90672/00/00/62-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90672/00/00/62-toc.html&amp;amp;searchterms=swapon&amp;amp;queryid=20040922-135555&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prashant</description>
      <pubDate>Wed, 22 Sep 2004 14:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384581#M198297</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-09-22T14:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384582#M198298</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Jeff I think you are right, there is no way to increase the Pri. swap space as I found it in some Docs. unless you have physical extents contiguous, Any way I will try to build secondary swap space and enable it and mke a mirrored copy of it, but I want to ask you is it important for Oracle swap space to be one piece??&lt;BR /&gt;&lt;BR /&gt;Thanks....&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Sep 2004 00:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384582#M198298</guid>
      <dc:creator>Fayez</dc:creator>
      <dc:date>2004-09-23T00:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384583#M198299</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i think there is option to do it if you are having enough space (should be contiguous) in your root vg.&lt;BR /&gt;&lt;BR /&gt;see the attachment for detailed procedure.&lt;BR /&gt;&lt;BR /&gt;i got the procedure for creating a new swap volume from hpux 11/11i installation and update guide.&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Sep 2004 05:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384583#M198299</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2004-09-23T05:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384584#M198300</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Any way what I did, I located an extra 4Gb and build an scondary swap device on it make mirror, but is it important for Oracle to be one larg swap area, not devided into two???&lt;BR /&gt;&lt;BR /&gt;Bhaven I did not recive your attached file befor this, but It looks useful thanks for it and I hope to use it in the future.&lt;BR /&gt;&lt;BR /&gt;Thanks for every body...</description>
      <pubDate>Thu, 23 Sep 2004 07:39:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384584#M198300</guid>
      <dc:creator>Fayez</dc:creator>
      <dc:date>2004-09-23T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384585#M198301</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;No it makes no difference if you have 1, 2, 3 or even more swap devices simply because if you actually start paging out to them - implying that you've exhausted RAM - your response times will go into the toilet. This results because disk access is more than 1000 times slower than RAM access. &lt;BR /&gt;You usually need more swap space for reservation purposes. This is because *every* process that wants to start must reserve a chunk of swap space just in case it ever does need to physically page out.&lt;BR /&gt;You should also check the kernel parm swapmem_on &amp;amp; make sure it's set to 1&lt;BR /&gt;This allows the system to use approx 75% of RAM as pseudo-swap &amp;amp; will give you more reservation space.&lt;BR /&gt;The moral is - Make sure you have enough physical RAM to support all the processes. You don't *ever* want to actually page out.&lt;BR /&gt;I hope this answers your question.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 23 Sep 2004 08:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384585#M198301</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-09-23T08:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: extending Mirrored primary swap area</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384586#M198302</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Yes Jeff it dose, and I already make neccessary changes to the kernel params. to enable all swap space.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for all....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Sep 2004 09:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirrored-primary-swap-area/m-p/3384586#M198302</guid>
      <dc:creator>Fayez</dc:creator>
      <dc:date>2004-09-23T09:09:07Z</dc:date>
    </item>
  </channel>
</rss>

