Re: Current swap configuration: best practices?

From: Derek (freebsd lists) <482254ac_at_razorfever.net>
Date: Wed, 08 Feb 2023 14:19:28 UTC
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