On Sat, May 23, 2026 at 3:22 PM Andy Bradford <
[email protected]> wrote:

> Thus said Terry Cocksworth on Sat, 23 May 2026 14:04:06 -0000:
>
> > There are no substantial signs that too little storage is the problem.
>
> One  way  to  test  this  hypothesis is  to  create  a  filesystem  that
> intentionally has too little storage and see if the behavior changes.
>

I think Terry meant that if you have plenty of space then too little
storage is not likely to be the problem.

But if you actually do have too little storage then of course that will be
the problem. This is easy to reproduce, just install 7.9/amd64 on a
fresh machine with 2GB for /usr (4194304 blocks) and nothing for
/usr/local, /usr/X11R6, etc. (i.e. all of /usr in a single 2GB partition).

A 2GB /usr partition is just barely big enough to install everything, but
it's not enough to run reorder_kernel without getting the "failed" error,
after which df reports a severe lack of space in /usr:

openbsd79a-test# df /usr
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/sd0d      4050876   4050644   -202308   106%    /usr

It looks like the person who started this thread was having trouble
with insufficient RAM rather than insufficient storage. Either can
cause reorder_kernel to fail.

-ken

Reply via email to