swap space issues
Donald Wilde
dwilde1 at gmail.com
Fri Jun 26 11:15:56 UTC 2020
On 6/25/20, Greg 'groggy' Lehey <grog at freebsd.org> wrote:
> On Thursday, 25 June 2020 at 19:31:34 -0700, Donald Wilde wrote:
>> On 6/25/20, Greg 'groggy' Lehey <grog at freebsd.org> 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 <grog at freebsd.org>
>>>> 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)).
I got greedy! :) i also wanted to embed my newfound understanding of
gpart, geom, and swapping into the noggin so I could move on.
>
> How are things looking now?
So far, it works, but there haven't been enough changes in the ports
tree that synth even needs a cuppa.
I think what I am going to do is to wipe the machine one more time
from 12.1R (with 16G swap, as both you and Peter suggest), STABLE-ize
it, and see if synth can handle the entire installed ports tree
(around 300 primary+dependency ports) without crashing and with
conservative builder-subtask limits. It will take it three days to do
that, but I think I know enough of the gotchas to get it to succeed.
It's a good idea to have a second one in reserve, but when it broke
through the roof it happened way too fast for me to actually enable
anything. I'll see if I can make a one-character script invocation and
try it, though!
>
> Greg
Again, my thanks. You guys are the best! :D
--
Don Wilde
****************************************************
* What is the Internet of Things but a system *
* of systems including humans? *
****************************************************
More information about the freebsd-stable
mailing list