Date: Thu, 9 Feb 2017 12:14:12 +0100 From: Jan Bramkamp <crest@rlwinm.de> To: freebsd-stable@freebsd.org Subject: Re: Boot partition size Message-ID: <0d4019df-ce72-99ad-fd6c-67afe91811c4@rlwinm.de> In-Reply-To: <54f66195-2929-ef8c-ac53-deaec574c182@ish.com.au> References: <a4cab85a-5e79-c7c1-fbb7-d9cf83cbf556@ish.com.au> <CANCZdfrbKiH448k_6AWVaGS8TT3E109yW1tyLdQXJpGchvzErw@mail.gmail.com> <54f66195-2929-ef8c-ac53-deaec574c182@ish.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29/01/2017 06:43, Aristedes Maniatis wrote: > On 29/1/17 3:50pm, Warner Losh wrote: >> (2) shrinking a swap partition to snag >> some space > Yes, except I put my swap into a zvol. I did this when I lost a disk once with a dedicated swap partition and that caused the system to crash. So I realised that dedicated swap was a really bad idea and I needed to choose between zvol and gmirror. I chose zvol to avoid having one more thing to check and worry about. Swapping to ZVOLs is dangerous. Writes to a ZVOL may require kernel memory allocations to finish. This can deadlock/panic your system if the write was to a swap device. I would recommend using GEOM mirror for swap devices.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0d4019df-ce72-99ad-fd6c-67afe91811c4>