I need to expand the root partition of the server (not LVM) because of the need of testing. How can I expand the root partition without shutting the server down?
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 779M 3.5M 776M 1% /run
/dev/sdb2 126G 24G 96G 20% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
$ sudo fdisk -l
Disk /dev/sda: 128 GiB, 137438953472 bytes, 268435456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4b512b27
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 268433407 268431360 128G 83 Linux