Minimal Setups

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 -f on the disk
  • Rescan disks using echo 1>/sys/class/block/sdx/device/rescan (replace sdx by actual disk device)
  • Extend partition using resize in cfdisk
  • Extend filesystem using resize2fs on extended partition
  • Mount the partition
  • Start services