-
Notifications
You must be signed in to change notification settings - Fork 243
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
[Microshift] Disk resize not works with microshift preset #3624
Comments
Iirc, rhcos has a systemd unit automatically growing the partitions on boot if there's space available? Maybe we could reuse a similar approach here? |
@cfergeau which systemd unit file is that, I can try to use it? |
@cfergeau you meant https://www.freedesktop.org/software/systemd/man/systemd-repart.html or https://www.freedesktop.org/software/systemd/man/systemd-growfs.html one because both are not available in RHCOS by default |
By default the current disk structure in microshift is #3624 (comment) , here In today meeting we discussed some of the scenario what should a user expect when he wants to extend the disk size using
any other scenario if I miss something .. |
|
It is now merged with suggestion #3624 (comment) |
It is necessary to understand what
|
As per docs https://access.redhat.com/documentation/en-us/red_hat_build_of_microshift/4.12/html/installing/microshift-install-rpm#microshift-install-rpm-preparing_microshift-install-rpm we need to configure instance to have a logical volume manager (LVM) volume group (VG) with sufficient capacity for the persistent volumes (PVs) of your workload. As of now we are using https://github.com/crc-org/snc/blob/master/microshift.sh#L101 to set the lvm root size to 15G and start the VM with 31G of disk size https://github.com/crc-org/snc/blob/master/microshift.sh#L137 .
So the disk layout looks like
In our current resize disk codebase we don't handle to expand this disk partition structure so we need to have a different code path to extend the disk size.
The text was updated successfully, but these errors were encountered: