sysupgrade(8) should check for available disk space before upgrading
The system upgrade might fail if the installation is too low on disk space. Try to estimate how much disk space is needed before doing the upgrade and warn if there's not enough. If not, then perhaps offer to clean /oldsrc to solve #653. Extra points for checking if there are enough inodes.