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

PiShrink does not ummount or release mounted image after shrink? #223

Open
Jibun-no-Kage opened this issue Dec 24, 2021 · 4 comments
Open

Comments

@Jibun-no-Kage
Copy link

PiShrink does not ummount or release mounted image after shrink?

/shrink# mount | grep rootfs

/shrink/2021-12-22 Pi3ModelB0 (Real Time Clock Source Example).img on /media/root/rootfs type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)

Should PiShrink not release the mounted image?

@Drewsif
Copy link
Owner

Drewsif commented Apr 18, 2022

It should unmount the image once it is done with the shrink. Did PiShrink finish successfully?

@Jibun-no-Kage
Copy link
Author

Right, it is when there is an error or unsuccessful result, the mount point remains. So whatever clean up should be working, seems to fail at least some of the time. Since efsck tends to choke on non linux partition, i.e. boot being vfat, that is on such trigger for the abort and no clean up, based on my experience thus far.

@Drewsif
Copy link
Owner

Drewsif commented Apr 20, 2022

Ahh that makes sense. Ill leave this open to remember to look into making sure we clean up better

@Jibun-no-Kage
Copy link
Author

Cool. That is what I was looking for. Thanks.

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

No branches or pull requests

2 participants