Today I added 1GB of extra space to a virtual disk (basically extended it) in esxi VM. I followed 2 approaches to get the new space recognized:
echo "- - -" > /sys/class/scsi_host/host2/scan
echo 1 > /sys/class/scsi_disk/2:0:1:0/device/rescan
First approach din't work, second one worked.
I haven't read documentation in the kernel source tree, that might have what I want.