<?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: Need to increase swap using new partition on a server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655527#M41404</link>
    <description>Thanks John.&lt;BR /&gt;&lt;BR /&gt;After creating partition is would need reboot is it advised we can run partprobe command or should i go reboot ?</description>
    <pubDate>Thu, 01 Jul 2010 15:35:39 GMT</pubDate>
    <dc:creator>Techsystemquery</dc:creator>
    <dc:date>2010-07-01T15:35:39Z</dc:date>
    <item>
      <title>Need to increase swap using new partition on a server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655525#M41402</link>
      <description>I need to increase swap from 2 GB to 4 GB&lt;BR /&gt;I am going to create new partition.&lt;BR /&gt;&lt;BR /&gt;what steps i need to do ? do i need to use swapoff command ?</description>
      <pubDate>Thu, 01 Jul 2010 08:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655525#M41402</guid>
      <dc:creator>Techsystemquery</dc:creator>
      <dc:date>2010-07-01T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increase swap using new partition on a server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655526#M41403</link>
      <description>create the partition and give the it the tag type for swap (using fdisk).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Run the mkswap command against your new device. Just running it with the defaults against your device created above is usually fine.&lt;BR /&gt;&lt;BR /&gt;mkswap /dev/&lt;YOURDISKDEVICESWAPPARTITION&gt; &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;Add a line to /etc/fstab for your new swap device:&lt;BR /&gt;&lt;BR /&gt;/dev/&lt;YOURDISKDEVICESWAPPARTITION&gt; swap swap defaults 0 0&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;run the command:&lt;BR /&gt;&lt;BR /&gt;swapon -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to verify you've got it:&lt;BR /&gt;&lt;BR /&gt;cat /proc/swaps&lt;BR /&gt;&lt;BR /&gt;&lt;/YOURDISKDEVICESWAPPARTITION&gt;&lt;/YOURDISKDEVICESWAPPARTITION&gt;</description>
      <pubDate>Thu, 01 Jul 2010 14:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655526#M41403</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2010-07-01T14:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increase swap using new partition on a server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655527#M41404</link>
      <description>Thanks John.&lt;BR /&gt;&lt;BR /&gt;After creating partition is would need reboot is it advised we can run partprobe command or should i go reboot ?</description>
      <pubDate>Thu, 01 Jul 2010 15:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655527#M41404</guid>
      <dc:creator>Techsystemquery</dc:creator>
      <dc:date>2010-07-01T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increase swap using new partition on a server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655528#M41405</link>
      <description>After creating a new swap partition it is not necessary to reboot. If the new swap partition is mounted and visible in 'cat /proc/swaps' output - it's all is done.</description>
      <pubDate>Thu, 01 Jul 2010 17:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655528#M41405</guid>
      <dc:creator>Modris Bremze</dc:creator>
      <dc:date>2010-07-01T17:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increase swap using new partition on a server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655529#M41406</link>
      <description>No need to reboot to increase swap.  Only when you would reduce or eliminate swap would a reboot be necessary.  You can stay up and do what I outlined.</description>
      <pubDate>Thu, 01 Jul 2010 19:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655529#M41406</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2010-07-01T19:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increase swap using new partition on a server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655530#M41407</link>
      <description>&lt;BR /&gt;The steps to Create A new Swap Space.&lt;BR /&gt;&lt;BR /&gt;1) Create A new filesystem with the partition System ID of "linux Swap"&lt;BR /&gt;&lt;BR /&gt;2) Use mkswap to set up a Linux swap area on the partition.&lt;BR /&gt;&lt;BR /&gt;3) If you want to make it permanant make an entry of it in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;4) swapon with partition name will activate that partition as Swap&lt;BR /&gt;&lt;BR /&gt;You can view your newly created swap space is active or not by using Command&lt;BR /&gt;&lt;BR /&gt;  1) cat /proc/swaps&lt;BR /&gt;  2) free&lt;BR /&gt;  3) top &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ishwar &lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2010 04:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-increase-swap-using-new-partition-on-a-server/m-p/4655530#M41407</guid>
      <dc:creator>Ishwar_1</dc:creator>
      <dc:date>2010-07-02T04:38:10Z</dc:date>
    </item>
  </channel>
</rss>

