On 2025-10-03, Martin Schröder <[email protected]> wrote:
> Hi,
> I just had an upgrade 7.6 -> 7.7 fail due to not enough free space on /usr.
> I had to manually delete /usr/share/relink/kernel/GENERIC.MP/ to free space.
> System is an apu2, so amd64.
>
> The system now seems to run o.k., only kernel relinking fails because of 
> missing
>  /usr/share/relink/kernel/GENERIC.MP/ (of course)
>
> The disk setup is now:
>> df -h
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/sd0a     1005M    290M    665M    31%    /
> /dev/sd0k      7.2G    7.2M    6.9G     1%    /home
> /dev/sd0d      1.5G   10.0K    1.4G     1%    /tmp
> /dev/sd0f      2.0G    871M    1.0G    46%    /usr
> /dev/sd0g      909M    435M    429M    51%    /usr/X11R6
> /dev/sd0h      3.6G    1.2G    2.2G    36%    /usr/local
> /dev/sd0j      5.6G    2.0K    5.3G     1%    /usr/obj
> /dev/sd0i      1.6G    2.0K    1.5G     1%    /usr/src

Assuming you're not building much on this machine I'd swap sd0f and
sd0j in fstab, reboot into bsd.rd, and run an upgrade install of 7.7
again. When you're back into the system you can clear /usr/obj/*.

> /dev/sd0e      2.3G   68.6M    2.1G     4%    /var
>
> Seeing that an unpacked GENERIC.MP for amd64 takes up 623MB and the
> kernel has a size of 224 MB, I doubt that this system will be able to relink a
> kernel with 1GB free space.
> So I will eventually have to move /usr to a larger partition (sigh).
>
> But the upgrade guide says
> "Verify that the /usr partition has a size of at least 1.1G."

yes that's a bit optimistic.

> This system has a /usr with 2G, but see above.
>
> Should that minimum size be increased or how is the upgrade supposed to
> succeed on my system?
>
> Best
>      Martin
>
> PS: Of course thanks to the devs for the system!
>
>


-- 
Please keep replies on the mailing list.

Reply via email to