From nobody Wed Feb 08 14:19:28 2023 X-Original-To: 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 4PBhvk6jc3z3nSvF for ; Wed, 8 Feb 2023 14:19:30 +0000 (UTC) (envelope-from 482254ac@razorfever.net) Received: from mta01.start.ca (mta01.start.ca [162.250.196.97]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.start.ca", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBhvk15SKz4Lsg for ; Wed, 8 Feb 2023 14:19:29 +0000 (UTC) (envelope-from 482254ac@razorfever.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 482254ac@razorfever.net designates 162.250.196.97 as permitted sender) smtp.mailfrom=482254ac@razorfever.net; dmarc=none Received: from mta01.start.ca (localhost [127.0.0.1]) by mta01.start.ca (Postfix) with ESMTP id EACE820896 for ; Wed, 8 Feb 2023 09:19:28 -0500 (EST) Received: from mail.razorfever.net (unknown [45.59.188.50]) by mta01.start.ca (Postfix) with ESMTPSA id DA64820895 for ; Wed, 8 Feb 2023 09:19:28 -0500 (EST) Received: from [192.168.0.33] (bock.razorfever.net [192.168.0.33]) by mail.razorfever.net (8.15.2/8.15.2) with ESMTP id 318EJRIJ031221 for ; Wed, 8 Feb 2023 09:19:27 -0500 (EST) (envelope-from 482254ac@razorfever.net) X-Authentication-Warning: mail.razorfever.net: Host bock.razorfever.net [192.168.0.33] claimed to be [192.168.0.33] Message-ID: <6057bcb2-a9cd-95b5-4a74-c4c1672b9e7b@chezmarcotte.ca> Date: Wed, 8 Feb 2023 09:19:28 -0500 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Current swap configuration: best practices? To: questions@freebsd.org References: <5cd5040b-d6c9-7c5f-9eae-e7e8a098eaca@chezmarcotte.ca> <5cdc2ef0-33e2-9465-0e65-6589b62e4256@netfence.it> Content-Language: en-US From: "Derek (freebsd lists)" <482254ac@razorfever.net> In-Reply-To: <5cdc2ef0-33e2-9465-0e65-6589b62e4256@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, FROM_STARTS_WITH_NUMS,RP_MATCHES_RCVD autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.razorfever.net X-Virus-Scanned: ClamAV using ClamSMTP X-Spamd-Result: default: False [-2.29 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; R_SPF_ALLOW(-0.20)[+ip4:162.250.196.0/24]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[razorfever.net]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:40788, ipnet:162.250.196.0/22, country:CA]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4PBhvk15SKz4Lsg X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N 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