Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use systemd-growfs #1133

Merged
merged 3 commits into from Dec 28, 2020
Merged

Use systemd-growfs #1133

merged 3 commits into from Dec 28, 2020

Commits on Dec 28, 2020

  1. Use systemd-growfs instead of resize2fs (home-assistant#1106)

    Since systemd 236 systemd has a built-in file system growing mechanism.
    The mechanism relies on the kernels online file system resize
    capabilities instead of the external resize2fs utility. Online resizing
    is supposedly much faster since the kernel takes care of things.
    
    This also makes sure that external file systems get resized which
    previously have not been taken care of.
    agners committed Dec 28, 2020
    Copy the full SHA
    c78410a View commit details
    Browse the repository at this point in the history
  2. Drop HA OS specific file system resizing

    Since we have systemd-growfs in place now we can drop our file system
    resizing code.
    agners committed Dec 28, 2020
    Copy the full SHA
    926b532 View commit details
    Browse the repository at this point in the history
  3. Make sure /dev/disk/by-label/hassos-data is present after resizing

    Note: systemd will retry mnt-data.mount later, so at least in theory
    this shouldn't really matter. However, the journal has a lot of churn
    due to that reordering.
    agners committed Dec 28, 2020
    Copy the full SHA
    877b701 View commit details
    Browse the repository at this point in the history