Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2023 09:19:28 -0500
From:      "Derek (freebsd lists)" <482254ac@razorfever.net>
To:        questions@freebsd.org
Subject:   Re: Current swap configuration: best practices?
Message-ID:  <6057bcb2-a9cd-95b5-4a74-c4c1672b9e7b@chezmarcotte.ca>
In-Reply-To: <5cdc2ef0-33e2-9465-0e65-6589b62e4256@netfence.it>
References:  <5cd5040b-d6c9-7c5f-9eae-e7e8a098eaca@chezmarcotte.ca> <5cdc2ef0-33e2-9465-0e65-6589b62e4256@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2023-02-08 07:07, Andrea Venturoli wrote:
> On 2/7/23 19:48, Derek (freebsd lists) wrote:
> 
>> Using ZFS:
>> * enabling mirror swap will break crash dumps
> 
> Ugh!
> Why so? Any pointer?
> I've got several gmirror-based swap partitions: these boxes did not 
> crash in a long time, but I'd expect a coredump, should that happen...
> Any way to test this, instead of waiting for it to happen?
> 

I think this is if you're using the ZFS-install path of the installer. 
I used to do this custom (e.g. dedicated partition on drive with 
gmirror), not sure what you get when you go this path through the installer:

https://docs.freebsd.org/en/books/handbook/bsdinstall/

ZFS Partitioning Menu

* Mirror Swap? - Whether to mirror the swap between the disks. Be aware 
that enabling mirror swap will break crash dumps. Press the Enter key to 
activate it or not.

Wish I could give you more detail.

Derek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6057bcb2-a9cd-95b5-4a74-c4c1672b9e7b>