<?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: How to create swap space on Linux. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608467#M19253</link>
    <description>&lt;BR /&gt;I believe Alexander gave all required information. &lt;BR /&gt;&lt;BR /&gt;Sample entry in /etc/fstab for swap:&lt;BR /&gt;&lt;BR /&gt;&lt;PARTITION name=""&gt;      swap                    swap    defaults        0 0&lt;BR /&gt;&lt;BR /&gt;incase a file is used for swap, then:&lt;BR /&gt;/path/to/file         swap                    swap    defaults        0 0&lt;BR /&gt;&lt;BR /&gt;Remember the file path should be existing at the time of swap activation. i.e. incase you have this swap file on /mnt/disk then when the swap is trying to load the file /mnt/disk should be mounted and accessible. Easy way would be to have this entry as the final entry in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi&lt;BR /&gt;&lt;/PARTITION&gt;</description>
    <pubDate>Mon, 22 Aug 2005 06:30:13 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-08-22T06:30:13Z</dc:date>
    <item>
      <title>How to create swap space on Linux.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608465#M19251</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   Please let us know how to create new swap space on Red Hat Linux AS 2.1 &amp;amp; Red Hat Linux ES 3.0 OS.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Varian&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 05:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608465#M19251</guid>
      <dc:creator>walter crasto_1</dc:creator>
      <dc:date>2005-08-22T05:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create swap space on Linux.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608466#M19252</link>
      <description>If you have free (unpartitioned) space on HD, then create a swap partition using fdisk. Then ,after reboot,&lt;BR /&gt;issue a command:&lt;BR /&gt;mkswap /dev/part&lt;BR /&gt;where part is the partition which you make swap.It can be /dev/hda{number} if it's an IDE drive or /dev/sda{number} if it's SCSI.&lt;BR /&gt;&lt;BR /&gt;If all space is occupied by pertitions and you still wich to have swap:&lt;BR /&gt;1.&lt;BR /&gt;dd if=/dev/zero of=/swp.file bs=1048576 count=64&lt;BR /&gt;This command will create swp.file in root folder with size 64 MB.&lt;BR /&gt;&lt;BR /&gt;Now you have to make it a swap file:&lt;BR /&gt;2.mkswap /swp.file&lt;BR /&gt;&lt;BR /&gt;To activate the additional swap:&lt;BR /&gt;3. swapon /swp.file&lt;BR /&gt;&lt;BR /&gt;If you want this swap to remain across reboots-add a respective entry to /etc/fstab.&lt;BR /&gt; &lt;BR /&gt;Best regards.</description>
      <pubDate>Mon, 22 Aug 2005 06:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608466#M19252</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-08-22T06:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create swap space on Linux.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608467#M19253</link>
      <description>&lt;BR /&gt;I believe Alexander gave all required information. &lt;BR /&gt;&lt;BR /&gt;Sample entry in /etc/fstab for swap:&lt;BR /&gt;&lt;BR /&gt;&lt;PARTITION name=""&gt;      swap                    swap    defaults        0 0&lt;BR /&gt;&lt;BR /&gt;incase a file is used for swap, then:&lt;BR /&gt;/path/to/file         swap                    swap    defaults        0 0&lt;BR /&gt;&lt;BR /&gt;Remember the file path should be existing at the time of swap activation. i.e. incase you have this swap file on /mnt/disk then when the swap is trying to load the file /mnt/disk should be mounted and accessible. Easy way would be to have this entry as the final entry in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi&lt;BR /&gt;&lt;/PARTITION&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-swap-space-on-linux/m-p/3608467#M19253</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-08-22T06:30:13Z</dc:date>
    </item>
  </channel>
</rss>

