Steps are mostly as follows
gpart show #Show all to select the correct target drive gpart show vtbd0 #Will likely show a corrupted GPT .... gpart recover vtbd0 #Repair the "corrupted" GPT gpart show vtbd0 #Show again to verify and find the partition we're interested in
=> 40 20971440 vtbd0 GPT (10G) 40 532480 1 efi (260M) 532520 1024 2 freebsd-boot (512K) 533544 20437936 3 freebsd-ufs (9.7G)
gpart resize -i 3 vtdb0 #Resize the freebsd-ufs partition (free space MUST be below the partition) gpart show vtbd0 #Verify resize is what we expect growfs /dev/gpt/rootfs #Grow the filesystem fsck -y /dev/gpt/rootfs #Force a filesystem check/repair