I have an install of Ubuntu 20.04 VM in VMware. I have expanded the HD from 40 GB to 60 GB. I would like to get the system to recognize the additional space without a reboot. I tried running:
echo 1 > /sys/block/sda/device/rescan
which results in a permission denied
. Tried it with sudo
, same results.
I would like to not have to reboot the server for it to see the new space.What command or format would accomplish this task?