Robin WolffDeutsch

Script library

Small scripts I use myself. Each one is a raw file at a fixed address and can be fetched with curl or wget. Read a script before you run it.

  • Grow partition and filesystem

    The storage of a Linux server is full and the disk has been enlarged? This script makes the new space usable: it grows the partition and the filesystem (ext4, xfs or btrfs, also on LVM). It shows its steps and asks before it runs; with -n it only does a dry run. Run it with sudo bash grow-disk.sh. It needs growpart (package cloud-guest-utils) for the partition. The script’s own output is in German.

    curl -fsSLO https://robin-w.de/scripts/grow-disk.sh

    View raw file