snippetbashTip
systemd-repart — Automatically grow and add partitions. Grows and adds partitions based on the configuration files de
Viewed 0 times
growcommandandsystemd-repartclipartitionsaddautomatically
linux
Problem
How to use the
systemd-repart command: 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/latest/systemd-repart.html>.Solution
systemd-repart — 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/latest/systemd-repart.html>.Grow the root partition (/) to all available disk space:
systemd-repartView changes without applying:
systemd-repart --dry-run yesGrow root partition size to 10 gigabytes:
systemd-repart --size 10G --root /Code Snippets
Grow the root partition (/) to all available disk space
systemd-repartView changes without applying
systemd-repart --dry-run yesGrow root partition size to 10 gigabytes
systemd-repart --size 10G --root /Context
tldr-pages: linux/systemd-repart
Revisions (0)
No revisions yet.