ssh in and run this to scan for the disk changes:
echo "- - -" > /sys/class/scsi_device/<DEVICE_HERE>/device/rescan
echo "- - -" > /sys/class/scsi_host/<HOSTNAME_HERE>/scan
for D in /sys/class/scsi_device/*; do echo "- - -" > ${D}/device/rescan ; done
for D in /sys/class/scsi_host/*; do echo "- - -" > ${D}/scan ; done
Then run fdisk and delete and recreate the partition
fdisk /dev/sda
p
(delete and re-create)
d
2
n
e
<enter>
<enter>
<enter>
n
l
<enter>
<enter>
t
5
8e
w
I found a way I like more with cfdisk “sudo cfdisk /dev/sda” then use the tui to go up and down for the partition, and left/right to go to “resize”, then the default is to extend to the max, then “write” and type “yes” (not “y”, I have tried “y” like every time and have to do it a second time after my brain registers the mistake – again)