Files
minimal-setups/content/snippets/0160-resize-hdd-on-running-system.md
Wolfgang Hottgenroth b2249c06e9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
mdwiki test starts
2025-04-14 22:22:45 +02:00

472 B

  • 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