From owner-freebsd-stable@freebsd.org Fri Jun 26 01:39:08 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 070F834A7C0 for ; Fri, 26 Jun 2020 01:39:08 +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 49tKL3362hz3cSp for ; Fri, 26 Jun 2020 01:39:07 +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 A5BC428104; Fri, 26 Jun 2020 01:39:06 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 9E3B9263599; Fri, 26 Jun 2020 11:39:05 +1000 (AEST) Date: Fri, 26 Jun 2020 11:39:05 +1000 From: Greg 'groggy' Lehey To: Kevin Oberman Cc: Donald Wilde , freebsd-stable Subject: Re: swap space issues Message-ID: <20200626013905.GB79048@eureka.lemis.com> References: <20200625000410.GA10210@eureka.lemis.com> <20200625025248.GB10210@eureka.lemis.com> <20200625052949.GC10210@eureka.lemis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hQiwHBbRI9kgIhsi" 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: 49tKL3362hz3cSp 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.69 / 15.00]; ARC_NA(0.00)[]; FORGED_SENDER(0.30)[grog@FreeBSD.org,grog@lemis.com]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.04)[-1.035]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:www.lemis.com:c]; NEURAL_HAM_LONG(-1.02)[-1.018]; 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.64)[-0.641]; 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]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org] 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 01:39:08 -0000 --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: > >> On Wednesday, 24 June 2020 at 20:34:24 -0700, Donald Wilde wrote: >>> On 6/24/20, Greg 'groggy' Lehey wrote: >>>> On Wednesday, 24 June 2020 at 18:51:04 -0700, Donald Wilde wrote: >>>>> On 6/24/20, Greg 'groggy' Lehey wrote: >>>>>> On Wednesday, 24 June 2020 at 9:36:23 -0700, Donald Wilde wrote: >>>>>>> All, ... This would be much more readable if you trimmed unrelated content. >> That's really puzzling. It seems that it gave you much more than you >> asked for. >> >> Try this in single user mode: modify the size of the swap partition to >> 30 GB. I haven't used MBR partitions for years now, but I believe >> that 'bsdlabel -e' will do the trick. Just shorten the length of the >> b partition. You may need to 'mount -u /'. If you do it right >> (check!), this won't harm any of the other partitions: it'll just >> leave 26 GB free between the swap partition and the next partition. >> > 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. 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 --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAl71UbkACgkQIubykFB6QiMGLwCfQxvksUHA6dTtKmecMeS2Imor zeIAn3xegNrJzMo8WCcY3VFSXTNUF8Et =j2wM -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi--