-
Notifications
You must be signed in to change notification settings - Fork 660
Automatically expand the filesystem on mounted volumes when they have grown #1103
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
Comments
I can look into this, but I'm not too familiar with Alpine. Assuming it's on ext4, we can just run Questions:
|
Yes, it is always
I think it will just be logged, and then we proceed without resizing the filesystem.
This happens during boot via cloud-init. So I think the only thing we'll have are cloud-init logs. Not sure what else we can do? Some warning via |
Done in lima-vm/alpine-lima#88 (pending review). I'll create a new tag/release once approved/merged. |
This will be needed to grow the filesystem when the size of the attached data volume is increased. See lima-vm#1103 Signed-off-by: Jan Dubois <[email protected]>
Alpine image with |
@jandubois Can we have the |
Also, seems like boot scripts (including |
Sure, I'll add it.
No, this is not expected (and I'm sure not the case). #273 is making sure that every boot is treated like a "first boot" so even scripts only executed during the first boot should be executed every time. |
Requested in lima-vm/lima#1103 (comment) Signed-off-by: Jan Dubois <[email protected]>
Request in lima-vm#1103 (comment) Signed-off-by: Jan Dubois <[email protected]>
Added in #1118 |
Please disregard. Seems like it's caused by me not using I got this implement and #1126 is ready for review! |
This will be needed to grow the filesystem when the size of the attached data volume is increased. See lima-vm#1103 Signed-off-by: Jan Dubois <[email protected]>
Request in lima-vm#1103 (comment) Signed-off-by: Jan Dubois <[email protected]>
Description
This issue applies to the
diffdisk
when thebasedisk
is an ISO (Alpine), and to additional volumes provided via #1065Is is possible to expand the max file size of the image on the host (see #356 (comment)), but the additional space does not become available until the partition and filesystem have been extended to include the additional space.
This should be implemented in 05-persistent-data-volume.sh (renamed to
04-...
once #1065 is merged).@chrisx8 Is this something you would like to work on?
The text was updated successfully, but these errors were encountered: