From nobody Wed Feb 08 13:33:48 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBgvT08Ntz3nQFX for ; Wed, 8 Feb 2023 13:34:13 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBgvS5964z4J1q for ; Wed, 8 Feb 2023 13:34:12 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 01C8641A91; Wed, 8 Feb 2023 08:34:00 -0500 (EST) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: Current swap configuration: best practices? From: Paul Mather In-Reply-To: <5cdc2ef0-33e2-9465-0e65-6589b62e4256@netfence.it> Date: Wed, 8 Feb 2023 08:33:48 -0500 Cc: User Questions Content-Transfer-Encoding: quoted-printable Message-Id: <99898374-C698-4077-B52F-54CE547267B8@gromit.dlib.vt.edu> References: <5cd5040b-d6c9-7c5f-9eae-e7e8a098eaca@chezmarcotte.ca> <5cdc2ef0-33e2-9465-0e65-6589b62e4256@netfence.it> To: Andrea Venturoli X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4PBgvS5964z4J1q X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Feb 8, 2023, at 7:07 AM, Andrea Venturoli wrote: > On 2/7/23 19:48, Derek (freebsd lists) wrote: >=20 >> Using ZFS: >> * enabling mirror swap will break crash dumps >=20 > 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 also have gmirror-based swap partitions set up and have not had = problems with crash dumps being generated after kernel panics. There is a special note in the gmirror(8) man page on setting up crash = dumps. It's near the end of the man page (on my 13-STABLE system), and = begins with the sentence, "Doing kernel dumps to gmirror providers is = possible, but some conditions have to be met." Cheers, Paul.=