From owner-freebsd-questions@freebsd.org Tue Feb 27 03:00:39 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71789F3F10F for ; Tue, 27 Feb 2018 03:00:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C2FAD7CBCC for ; Tue, 27 Feb 2018 03:00:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.213.55]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPA (Nemesis) id 0MfVBH-1f6fiF3EgF-00P9l3; Tue, 27 Feb 2018 04:00:16 +0100 Date: Tue, 27 Feb 2018 04:00:15 +0100 From: Polytropon To: The Doctor Cc: freebsd-questions@freebsd.org Subject: Re: Compiling Swap space Message-Id: <20180227040015.7d2fb579.freebsd@edvax.de> In-Reply-To: <20180227024634.GA9254@doctor.nl2k.ab.ca> References: <20180227024634.GA9254@doctor.nl2k.ab.ca> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:XEk6IxrYql8uZtjHVJHPplYwNZjbopP4fUGGMjx/X00iXMDfF/t NjRfp6+iv/RQZfyYePng7fngjX0lIGRXOuufdqbngr8W7yEX/T6F4H5tvUA207aX4ViD655 yFYEJvd1bmZA6V4Q9D3a3OwE2kIlxaHunAcOXRjPl2vfHUSY0kFGl45PSgynIRx7Ki+BiUf pg+7ToZdjLZjxnUEczPZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ny2Z1nClzaQ=:x7Y8O8JFngcDTHIGCCOaSL KYJC0Y7FXU8e6zk71JMt1+VSr2E3giQgcUl0+RbvkfH8NCVLK+l+o0C4VpxXmecr5Fpfgjf0Q RJoNUak41ZvQ6rtYdxwNb59dCWHmIIDU4jhVtzwKcfPVDl5pWffQZ8qqk26Zf1Ad4a90wDOMG MyukQeYY8LkCoAhzgyrwwfsTQRkPrUETzACD/1X+cyZttCyQy3h09khPSRbikuJdfD4l8xMYf qpqfJGLAOs+BzTkoxnXjJjvQ/zksmfX7faHKb6XwAqJ011DQl8qiYyOrjQ6I6crrof43RmH8r WnSBE1bvRWD8cmqBh93lRKPq6C9+SV0F6RMQRYGObCk23EBZVYVEN+HLpkFmld/KXYLILW4dQ RqQicNKBZpdyM/57MuY2Kf14KNoPuscMhvjrmGPWF0VaIBX0eCzRnmxrXUDzxhPhibzLjB0Qz RHdGQXZoYGpobPWqxkoys3dJO/RVJ8tiMnw+EfHRiINhCicJzcn8eIwpF7Pn7aTLkFRxol3jr /aWKnemfCvWgojCl1fbL2gJf2TGjrvExyxmc1TaJhz1QHkCUGdDWL90MxqpujYwoKJRYmhJOs nljXhvl1oWge0CUqF8xim23gyLdgkXqruUtNFXSwiyRLohsflIw2yy0KjWHPVswd7IBM27U19 +1sWVYmqDglXXSu6ty2jEht4BC1dDf+16pxjWp5iy+qGdOORe59FZpBQAsEvTSLoUYrdMFzeQ tjubWW+mXvVGuMgD+f2/i6r+2wB/RIP2ehqgwPLURRMsVbFmYXiT3yFZ4MM= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 03:00:39 -0000 On Mon, 26 Feb 2018 19:46:34 -0700, The Doctor wrote: > I notice the default swap is 4G. > > How can that be increased to 32G or 64G? By repartitioning your drive. You need contiguous space to increase the existing swap partition, or at least additional space to add a second swap partition. You can use gpart for this task. A second swap partition can then be added via an /etc/fstab entry, for example: /dev/ada0p2 none swap sw 0 0 # existing 4 GB /dev/ada0p7 none swap sw 0 0 # added 64 GB Dynamically you can manage swap space with "swapon" and "swapoff"; see "man swapctl" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...