Expand partition size on linux after resizing a virtual disk (e.g. in VMware or VirtualBox) without reboot
written on 1 January 2017
1. List scsi devices:
```bash
ls -ld /sys/block/sd*/device
```
2. Rescan the scsi bus: Replace the `0\:0\:0\:0 `with the numbers at the end of the line of the disk in interest:
```bash
echo 1 > /sys/class/scsi_device/0\:0\:0\:0/device/rescan
```
3. Use a partition tool (e.g. gparted) to expand the partition