Ubuntu extend fs + disk
Exten system disk without reboot:
Rescan the bus for the new size:
# echo 1 > /sys/block/sda/device/rescanExpand your partition (works with ansible):
# parted ---pretend-input-tty /dev/sda resizepart F 2 Yes 100% - F for Fix - 2 for partition - Yes to confirm - 100% for whole partitionResize it:
# resize2fs /dev/sda2
from # https://askubuntu.com/questions/639562/how-do-i-rescan-drives-ive-expanded