Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Grow rootfs doesn't grow the filesystem if partition is already extended #77

Closed
vholer opened this issue Jun 6, 2017 · 0 comments
Closed

Comments

@vholer
Copy link
Contributor

vholer commented Jun 6, 2017

If partition was extended by dracut module, the filesystem resize in the one-context is never done because the script terminates after growpart has nothing to do (NOCHANGE: partition 1 is size 25155742. it cannot be grown)

#!/bin/sh
set -e
...
for PART in ${PARTITION}; do
  ${GROWPART} ${DISK} ${PART}  # <------ exits
done
...
case "${FSTYPE}" in
  ext2|ext3|ext4)
    resize2fs ${DEVICE}
@vholer vholer closed this as completed in 75f1213 Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant