systemd-repart Command Examples

Automatically grow and add partitions. Grows and adds partitions based on the configuration files described in repart.d. Does not automatically resize file system on partition. See systemd-growfs to extend file system. More information: https://www.freedesktop.org/software/systemd/man/systemd-repart.html.

systemd-repart

systemd-repart --dry-run=yes

systemd-repart --size=10G --root /