<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>SWAPfile on ohneKontur – der Blog</title>
		<link>https://www.ohnekontur.de/tags/swapfile/</link>
		<description>Recent content in SWAPfile on ohneKontur – der Blog</description>
		<generator>Hugo</generator>
		<language>de-DE</language>
		
		
		
		
			<lastBuildDate>Wed, 24 Feb 2010 12:18:14 +0000</lastBuildDate>
		
			<atom:link href="https://www.ohnekontur.de/tags/swapfile/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>SWAP File / SWAP Partition im Betrieb vergrößern</title>
				<link>https://www.ohnekontur.de/2010/02/24/swap-file-swap-partition-im-betrieb-vergrosern/</link>
				<pubDate>Wed, 24 Feb 2010 12:18:14 +0000</pubDate>
				<guid>https://www.ohnekontur.de/2010/02/24/swap-file-swap-partition-im-betrieb-vergrosern/</guid>
				<description>&lt;p&gt;&#xA;&#xA;&lt;img&#xA;      &#xA;         src=&#39;https://www.ohnekontur.de/2010/02/24/swap-file-swap-partition-im-betrieb-vergrosern/business_or_education-150x150.jpg&#39;&#xA;      &#xA;        alt=&#39;&#39; &#xA;      &#xA;&#x9;  &#xA;&#x9;loading=&#34;lazy&#34;&gt;&lt;br&gt;&#xA;Kürzlich stand ich vor dem Problem,&lt;br&gt;&#xA;mein SWAP-File (bzw. SWAP-Partition) vergrößern zu wollen.&lt;/p&gt;&#xA;&lt;p&gt;Also auf gehts:&lt;/p&gt;&#xA;&lt;p&gt;Erstmal den alten SWAP unmounten:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;sudo swapoff -a&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Und jetzt neuen Platz anlegen:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;dd if=/dev/zero of=/swapfile bs=1M count=1024 #für eine ein GB großes swapfile&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;dann daraus eine Swappartition machen:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;mkswap /swapfile&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;und das System anweisen darauf zu Swapen:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;swapon /swapfile&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Wichtig ist jetzt noch, was ich gerne mal vergesse,&lt;br&gt;&#xA;das ganze Bootfest zu machen.&lt;br&gt;&#xA;Dazu einen Eintrag in /etc/fstab erstellen etwa so:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
