<?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: Increase SWAP in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261244#M52688</link>
    <description>I am going to push through with the new build for this one. It's a lost cause, simply not worth the money and effort to keep a box of this spec managing prod apps - not to mention the lack of support.</description>
    <pubDate>Mon, 08 Nov 2010 16:51:42 GMT</pubDate>
    <dc:creator>Duffs</dc:creator>
    <dc:date>2010-11-08T16:51:42Z</dc:date>
    <item>
      <title>Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261238#M52682</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a HP-UX server that is currently performing very poorly and I need to increase the physical RAM:&lt;BR /&gt;&lt;BR /&gt;# free -m&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:           504        502          2       1166        178        210&lt;BR /&gt;-/+ buffers/cache:        113        391&lt;BR /&gt;Swap:         1300        127       1173&lt;BR /&gt;&lt;BR /&gt;The issue I have is that the server was built using the whole disk approach; i.e.&lt;BR /&gt;# vgdisplay -v&lt;BR /&gt;bash: vgdisplay: command not found&lt;BR /&gt;&lt;BR /&gt;My question is; if I install additional physical memory is it possible to increase the swap size also (with this whole disk config)?&lt;BR /&gt;&lt;BR /&gt;I would imagine that if I added an extra 512MB RAM the swap would need to be increased to at least 2G otherwise this would potentially create more performance issues?&lt;BR /&gt;&lt;BR /&gt;R,&lt;BR /&gt;D.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Nov 2010 12:55:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261238#M52682</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2010-11-02T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261239#M52683</link>
      <description>The fact that you're using the "whole disk approach" indicates you're using something older than HP-UX 11.00, i.e. you're still using something that was officially unsupported a *long* time ago.&lt;BR /&gt;&lt;BR /&gt;Without knowing your HP-UX version (and perhaps the hardware model), it's rather hard to know what might be possible. But I guess even old versions would probably allow adding a second disk and using it (or a part of it) as an extra swap/paging area.&lt;BR /&gt;&lt;BR /&gt;Please show the outputs of:&lt;BR /&gt;&lt;BR /&gt;uname -a&lt;BR /&gt;model&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 02 Nov 2010 13:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261239#M52683</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-02T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261240#M52684</link>
      <description>Hi MK,&lt;BR /&gt;&lt;BR /&gt;My apologies, the server is actually running RD Linux 6.2 (Zoot). &lt;BR /&gt;&lt;BR /&gt;R,&lt;BR /&gt;D.</description>
      <pubDate>Tue, 02 Nov 2010 13:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261240#M52684</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2010-11-02T13:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261241#M52685</link>
      <description>"RD Linux?" Do you mean RedHat Linux 6.2? (NOTE: no word "Enterprise" in there)&lt;BR /&gt;&lt;BR /&gt;According to Wikipedia, it was released in April 2000, and used kernel version 2.2.14. "Zoot" was the version's codename. Its support situation is roughly equivalent to HP-UX 10.20. &lt;BR /&gt;&lt;BR /&gt;You haven't said anything about the actual hardware, but my guess is it's probably about as old as the OS installation.&lt;BR /&gt;&lt;BR /&gt;"Whole disk approach" is probably not the right expression in this case: it is likely at least the boot disk is partitioned using a standard PC partition table.&lt;BR /&gt;&lt;BR /&gt;To see what's possible and what isn't, it would be necessary to take a look at your disk partitioning and swap configuration: &lt;BR /&gt;&lt;BR /&gt;fdisk -l&lt;BR /&gt;&lt;BR /&gt;swapon -s&lt;BR /&gt;or&lt;BR /&gt;cat /proc/swaps&lt;BR /&gt;&lt;BR /&gt;Unless your swap partition has unallocated space immediately adjacent to it, you cannot really extend the existing swap space without a major disk reorganization. I would prefer not doing that for such an old system without having a good recovery strategy in place (up to and including "what to do if this old clunker just plain won't boot any more").&lt;BR /&gt;&lt;BR /&gt;But you should be able to create a second swap partition if you have a suitable amount of unallocated space on any disk.&lt;BR /&gt;&lt;BR /&gt;Since you would be creating new partitions on disks that are already in use, a reboot will be required to make the new partition table effective.&lt;BR /&gt;&lt;BR /&gt;A much nicer solution would be to migrate the application(s) running on this system to another, more modern system - but perhaps something is preventing you from doing that. May I ask what that might be?&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 03 Nov 2010 07:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261241#M52685</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-03T07:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261242#M52686</link>
      <description>Hi MK,&lt;BR /&gt;&lt;BR /&gt;The hardware is an old HP NetServer 1000r and the fdisk is as follows:&lt;BR /&gt;&lt;BR /&gt;# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 64 heads, 32 sectors, 17366 cylinders&lt;BR /&gt;Units = cylinders of 2048 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sda1   *         1      2001   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda2          2002     17366  15733760    5  Extended&lt;BR /&gt;/dev/sda5          2002      4002   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda6          4003      6003   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda7          6004      8004   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda8          8005     10005   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda9         10006     12006   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda10        12007     14007   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda11        14008     16008   2049008   fd  Linux raid autodetect&lt;BR /&gt;/dev/sda12        16009     17309   1332208   fd  Linux raid autodetect&lt;BR /&gt;&lt;BR /&gt;# swapon -s&lt;BR /&gt;Filename                        Type            Size    Used    Priority&lt;BR /&gt;/dev/md0                        partition       1332088 130520  -1&lt;BR /&gt;&lt;BR /&gt;I do not know it was possible to create/extend secondary swap space without LVM?&lt;BR /&gt;&lt;BR /&gt;I am currently building a business case to get this migrated onto new hardware and new OS so just analysing the h/w &amp;amp; s/w for this reason.&lt;BR /&gt;&lt;BR /&gt;R,&lt;BR /&gt;D.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2010 08:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261242#M52686</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2010-11-03T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261243#M52687</link>
      <description>The quick/dirty approach would be to install a new hard drive, format it, and reconfigure fstab to us it as the swap file system.&lt;BR /&gt;&lt;BR /&gt;In your case, I would think that the proper approach would be to back everything up, format and rebuild the file systems the way you want them, then restore everything.&lt;BR /&gt;&lt;BR /&gt;First things first, though...  install your physical memory and see if performance increases to your satisfaction.  You may not need to do anything to your filesystems at all.</description>
      <pubDate>Wed, 03 Nov 2010 14:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261243#M52687</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2010-11-03T14:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Increase SWAP</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261244#M52688</link>
      <description>I am going to push through with the new build for this one. It's a lost cause, simply not worth the money and effort to keep a box of this spec managing prod apps - not to mention the lack of support.</description>
      <pubDate>Mon, 08 Nov 2010 16:51:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-swap/m-p/5261244#M52688</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2010-11-08T16:51:42Z</dc:date>
    </item>
  </channel>
</rss>

