FWIW, you can do the achieve a resize directly from a running Volumio instance…
touch /boot/resize-volumio-datapart
sudo reboot
And for your quest for knowledge – to understand what it does have a look at Run out of space, so cloned to bigger SD card. Cannot expand the partition - #5 by ashthespy
Cheers