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

skiff-init-squashfs: resizing persist partition fails #273

Open
paralin opened this issue Feb 25, 2023 · 1 comment
Open

skiff-init-squashfs: resizing persist partition fails #273

paralin opened this issue Feb 25, 2023 · 1 comment

Comments

@paralin
Copy link
Collaborator

paralin commented Feb 25, 2023

Let's say that we boot to a disk at /, then resize2fs will happily online resize it.

But what we do in skiff-init-squashfs is then mount an overlayfs and a squashfs from / and then chroot into a different root. Then what happens is / is now a chroot, resize2fs doesn't detect that it needs online resizing, and fails to resize it.

There is a fix for this somewhere in making a patch for resize2fs to always do online resizing.

Related: #272

cc @maxberger

@maxberger
Copy link
Contributor

Sounds fun! I created that patch:

tytso/e2fsprogs@master...maxberger:e2fsprogs:master

It is yet untested, but it's a start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants