<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Linux add a swap file howto</title>
	<atom:link href="http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Sun, 21 Mar 2010 09:24:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: luckyrams</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-46235</link>
		<dc:creator>luckyrams</dc:creator>
		<pubDate>Wed, 03 Mar 2010 14:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-46235</guid>
		<description>Thanks! I&#039;m newbie to Linux, It helped me in time.</description>
		<content:encoded><![CDATA[<p>Thanks! I&#8217;m newbie to Linux, It helped me in time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Primoz</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-45531</link>
		<dc:creator>Primoz</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-45531</guid>
		<description>Hi!
First I must say thanks for a great how to.
And secondly, I&#039;m referencing it in Arch Linux wiki how to create swap file.
Hope you agree with it.
If not please contact me.
Link: http://wiki.archlinux.org/index.php/HOWTO_Create_swap_file</description>
		<content:encoded><![CDATA[<p>Hi!<br />
First I must say thanks for a great how to.<br />
And secondly, I&#8217;m referencing it in Arch Linux wiki how to create swap file.<br />
Hope you agree with it.<br />
If not please contact me.<br />
Link: <a href="http://wiki.archlinux.org/index.php/HOWTO_Create_swap_file" rel="nofollow">http://wiki.archlinux.org/index.php/HOWTO_Create_swap_file</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gen2ly</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-45041</link>
		<dc:creator>Gen2ly</dc:creator>
		<pubDate>Sat, 05 Dec 2009 02:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-45041</guid>
		<description>Set swap priority:

• Swapiness is the priority of input/output for swap.  To look the current value:
cat /proc/sys/vm/swappiness

To change the swap priority (lower value means less swapping):
sysctl vm.swappiness=10

To have this value set at boot add it to /etc/sysctl.conf
vm.swappiness=0</description>
		<content:encoded><![CDATA[<p>Set swap priority:</p>
<p>• Swapiness is the priority of input/output for swap.  To look the current value:<br />
cat /proc/sys/vm/swappiness</p>
<p>To change the swap priority (lower value means less swapping):<br />
sysctl vm.swappiness=10</p>
<p>To have this value set at boot add it to /etc/sysctl.conf<br />
vm.swappiness=0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acidtoi</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-44536</link>
		<dc:creator>acidtoi</dc:creator>
		<pubDate>Tue, 10 Nov 2009 01:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-44536</guid>
		<description>hi,
i&#039;m about to install ubuntu karmic on a new computer with thre sata hard drives.

I usually allocate a little more of current ram in swap partition (5 gigas) so I can safely hibernate, but on a post I read in FreeBSD forums there&#039;s a link to FreeBSD manual where states there should be a swap partition for every disk, not just one swap for the whole system.

So, I know Linux is not *BSD but I wonder if the same is applicable here because installing a swap of 5 gigs in all three sata seems a waste of space to me!

cheers!</description>
		<content:encoded><![CDATA[<p>hi,<br />
i&#8217;m about to install ubuntu karmic on a new computer with thre sata hard drives.</p>
<p>I usually allocate a little more of current ram in swap partition (5 gigas) so I can safely hibernate, but on a post I read in FreeBSD forums there&#8217;s a link to FreeBSD manual where states there should be a swap partition for every disk, not just one swap for the whole system.</p>
<p>So, I know Linux is not *BSD but I wonder if the same is applicable here because installing a swap of 5 gigs in all three sata seems a waste of space to me!</p>
<p>cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-41145</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 10 Apr 2009 19:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-41145</guid>
		<description>Thank you for the guide; I&#039;d like to add another detail. In this line one may choose to use other units to make things more simple:
&lt;blockquote&gt;# dd if=/dev/zero of=/swapfile1 bs=1024 count=524288&lt;/blockquote&gt;

You can turn it into:
&lt;blockquote&gt;# dd if=/dev/zero of=/swapfile1 bs=1M count=512&lt;/blockquote&gt;

This means that the block size is 1 MB, so count=512 means &quot;I need 512 megs&quot;, there is no need to do any other calculations.</description>
		<content:encoded><![CDATA[<p>Thank you for the guide; I&#8217;d like to add another detail. In this line one may choose to use other units to make things more simple:</p>
<blockquote><p># dd if=/dev/zero of=/swapfile1 bs=1024 count=524288</p></blockquote>
<p>You can turn it into:</p>
<blockquote><p># dd if=/dev/zero of=/swapfile1 bs=1M count=512</p></blockquote>
<p>This means that the block size is 1 MB, so count=512 means &#8220;I need 512 megs&#8221;, there is no need to do any other calculations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mosab</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-37861</link>
		<dc:creator>Mosab</dc:creator>
		<pubDate>Wed, 07 May 2008 18:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-37861</guid>
		<description>Thanks, I have been looking for the last step for months heh.</description>
		<content:encoded><![CDATA[<p>Thanks, I have been looking for the last step for months heh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asdffdsa</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-36918</link>
		<dc:creator>asdffdsa</dc:creator>
		<pubDate>Sat, 20 Oct 2007 08:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-36918</guid>
		<description>Thanks for the help.  But how would I go about deleting this swapfile?  Also, how does creating a swapfile this way differ from creating a separate partition for one?  I only ask because I would like to have multiple installs of linux on my system, and I would like them to share the same swapfile.

Recently, I&#039;ve been trying to create a swapfile partition and it&#039;s not being recognized, so I&#039;ve been having trouble.</description>
		<content:encoded><![CDATA[<p>Thanks for the help.  But how would I go about deleting this swapfile?  Also, how does creating a swapfile this way differ from creating a separate partition for one?  I only ask because I would like to have multiple installs of linux on my system, and I would like them to share the same swapfile.</p>
<p>Recently, I&#8217;ve been trying to create a swapfile partition and it&#8217;s not being recognized, so I&#8217;ve been having trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: some_guy</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-36385</link>
		<dc:creator>some_guy</dc:creator>
		<pubDate>Fri, 01 Jun 2007 02:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-36385</guid>
		<description>If you don&#039;t want to reboot the machine to enable the new swapfile, after step f) you can issue these commands:

swapoff -a 
swapon -a

to first stop and then start all swaps in /etc/fstab</description>
		<content:encoded><![CDATA[<p>If you don&#8217;t want to reboot the machine to enable the new swapfile, after step f) you can issue these commands:</p>
<p>swapoff -a<br />
swapon -a</p>
<p>to first stop and then start all swaps in /etc/fstab</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixcraft</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-8088</link>
		<dc:creator>nixcraft</dc:creator>
		<pubDate>Wed, 17 Jan 2007 22:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-8088</guid>
		<description>anon,

Thanks for heads up!</description>
		<content:encoded><![CDATA[<p>anon,</p>
<p>Thanks for heads up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/comment-page-1/#comment-8087</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Wed, 17 Jan 2007 22:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-add-a-swap-file-howto.php#comment-8087</guid>
		<description>TYPO: vi /etc/fstatb
It should be fstab</description>
		<content:encoded><![CDATA[<p>TYPO: vi /etc/fstatb<br />
It should be fstab</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.100 seconds -->
<!-- Cached page served by WP-Cache -->
