I am trying to to grow the root partition slice in a 13.1 VHD image with
gpart resize -i 4 -s 15G -a 4k ada0
but I get gpart: size '31457274': Invalid argument
. I get this same error in single user mode and using livedvd installer. The virtual disk image has been resized to be bigger than 15G (the virtual disk size doesn't seem to matter in this case as I get the same error when I try to resize sizes smaller than 15G. I'm following https://marcocetica.com/posts/grow_partitions_freebsd/. I don't know if this is a bug or not.