Not a stable/15-aX related file/IO issue, but free space [Was: Re: stable/15-aX file/IO issue after compiling 500 ports]

From: Harry Schmalzbauer <freebsd_at_omnilan.de>
Date: Thu, 16 Oct 2025 09:01:31 UTC
On 2025-10-10 08:00, Harry Schmalzbauer wrote:
> Hello, unfortunately I can only report an observation, no detailed 
> trackdown yet.
>
> All of a sudden, building ports resp. auto-installing dependecy-builds,
> fail with error messages like:
>     'chown: /portsworktree/.../work/.../libxyz.a:  no such file'
>     or 'bad file descriptor'.
>
> Why I think this is an OS issue:
> After reboot, the build successfully completes, while simply 
> re-invoking 'make' keeps failing without reboot (untouched sources of 
> course).


It seems this has been an out-of-space issue...  A little later a write 
error occurred, clearly reporting there's been no space left.  Cleaning 
up a few datasets (out of ~30) freed ~100GB and I could keep all the 
snapshots, which is one of the bigger consumers.
I never observed any strange errors since I had reasonable free space again.

The only non-fitting observation is that a reboot had helped...
But at least 20 of the 30 datasets consume varying space because 
auto-snapshot-rotation is in use.
So I guess snapshots were rotated, which likely freed some space already 
before the reboot.

I successfully built my usual desktop application collection (~800 
ports) on FreeBSD-15.  No issues after zpool cleaning!
Suspecting the 14->15 update was wrong, sorry for the noise.

-harry