Resize HDD on running system
- Resize target on VMWare or on Synology or where ever it is provided
- Stop services using the disk
- Unmount the disk
- Run
e2fsck -fon the disk - Rescan disks using
echo 1>/sys/class/block/sdx/device/rescan(replacesdxby actual disk device) - Extend partition using
resizeincfdisk - Extend filesystem using
resize2fson extended partition - Mount the partition
- Start services