On 10/9/25 05:05, Stuart Henderson wrote:
On 2025-10-08, J Doe <[email protected]> wrote:
This machine has a /usr _partition size_ of 1.9 GB and it is currently
91% full, with 171 MB _free space_.
rather tight. if you can't arrange a larger partition I suggest:
rm /usr/share/relink/kernel/*/newbsd.gdb (ref usr.sbin/config/mkmakefile.c
r1.49)
sysclean | grep ^/usr, review and remove
if still looking too tight
rm /usr/lib/*.a
sysupgrade -n
rm /home/_sysupgrade/comp*
reboot to upgrade
pkg_add -u
sysclean | grep ^/usr, review and remove
evaluate whether you have space to extract comp*.tgz
(for arranging a larger partition, look at what's next on disk after
/usr. I've often dropped /usr/X11R6, edited disklabel to enlarge
/usr into the space and growfs'd, then extracted x sets again to
fill out in /usr. or perhaps you don't use /usr/{src,obj} and can
do something with them).
Hi Stuart and list,
Thank you to everyone who has replied to this message thread - your
posts have been very helpful!
Moving forward with new installs, I will be allocating a larger
partition size to /usr, as I will want to sysupgrade my installs a
couple of times. I'd like to try and avoid a full re-install for the
server I mentioned, so I had some questions about removing files.
With the list of steps Stuart posted:
rm /usr/share/relink/kernel/*/newbsd.gdb
... doing this on the server in question would free: 225 MB. The server
currently has: 158 MB free in: /usr, so that would free a total of: 383 MB.
Would that on it's own be sufficient working space for a sysupgrade from
7.7 to 7.8 ?
Thanks,
- J