there is no supported way to upgrade 8 to 9 - best would be to reinstall but make sure you have a backup !!
on a default rocky install the / and /boot partitions are pretty small, espacially if you are using the nvidia drivers. Here you can read more: Extend XFS root part