From owner-freebsd-stable@freebsd.org Fri Jun 26 04:48:13 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8389434E194 for ; Fri, 26 Jun 2020 04:48:13 +0000 (UTC) (envelope-from grog@lemis.com) Received: from lax.lemis.com (www.lemis.com [45.32.70.18]) by mx1.freebsd.org (Postfix) with ESMTP id 49tPXD1Zdnz43Lp for ; Fri, 26 Jun 2020 04:48:11 +0000 (UTC) (envelope-from grog@lemis.com) Received: from eureka.lemis.com (aussie-gw.lemis.com [167.179.139.35]) by lax.lemis.com (Postfix) with ESMTP id 07A5927FF6; Fri, 26 Jun 2020 04:48:11 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 9DD94263599; Fri, 26 Jun 2020 14:48:07 +1000 (AEST) Date: Fri, 26 Jun 2020 14:48:04 +1000 From: Greg 'groggy' Lehey To: Donald Wilde Cc: freebsd-stable Subject: Re: swap space issues Message-ID: <20200626044804.GC79048@eureka.lemis.com> References: <20200625000410.GA10210@eureka.lemis.com> <20200625025248.GB10210@eureka.lemis.com> <20200625052949.GC10210@eureka.lemis.com> <20200626013905.GB79048@eureka.lemis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5QAgd0e35j3NYeGe" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) X-Rspamd-Queue-Id: 49tPXD1Zdnz43Lp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of grog@lemis.com designates 45.32.70.18 as permitted sender) smtp.mailfrom=grog@lemis.com X-Spamd-Result: default: False [-4.14 / 15.00]; ARC_NA(0.00)[]; FORGED_SENDER(0.30)[grog@FreeBSD.org,grog@lemis.com]; NEURAL_HAM_MEDIUM(-1.03)[-1.029]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:www.lemis.com]; NEURAL_HAM_LONG(-1.02)[-1.023]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[FreeBSD.org]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.09)[-0.086]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:45.32.64.0/19, country:US]; FROM_NEQ_ENVFROM(0.00)[grog@FreeBSD.org,grog@lemis.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2020 04:48:13 -0000 --5QAgd0e35j3NYeGe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 25 June 2020 at 19:31:34 -0700, Donald Wilde wrote: > On 6/25/20, Greg 'groggy' Lehey wrote: >> On Wednesday, 24 June 2020 at 23:27:27 -0700, Kevin Oberman wrote, >> without trimming: >> >>> On Wed, Jun 24, 2020 at 10:30 PM Greg 'groggy' Lehey >>> wrote: >> >>> gpart(8) works just fine on MBR drives and partitions/slices and >>> has a much friendlier user interface. "gpart resize" is the >>> command you want. >> >> Thanks. I try to offer suggestions that I've tried, and offer an >> example. I haven't tried 'gpart resize', but it looks much easier. > > 'gpart resize' did work well, Yes, I saw that from the gpart output you posted. > although the man page for gpart assumes way too much. I was able to > successfully work my way through and create ('gpart add') and mount > not just one but two 32G swap partitions. Yes, I saw that too. Not quite what I was suggesting: I suspected some overflow issue, so the partitions should really have been a little shy of 32 GB. And at least for the start you should only mount one of them. In the unlikely event that it should threaten to fill up, you can still mount the other one without rebooting (swapon(1)). How are things looking now? Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA --5QAgd0e35j3NYeGe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAl71fgMACgkQIubykFB6QiOY3wCffxHMaIlWdcbfA0T8H9TkL/eX wFEAoKazB77kxjusRHUepN+5owViEHCY =CKhs -----END PGP SIGNATURE----- --5QAgd0e35j3NYeGe--