-
Notifications
You must be signed in to change notification settings - Fork 21
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
Shrinking doesn't move last sector #21
Comments
Could you please provide exact params of the microSD card: |
I didn't capture the output and to reproduce it 100% an old backup would be needed that I don't have.
Artificial reproduction steps:
Now it even doesn't try to resize the FAT filesystem:
All commands executed on a current Lubuntu system.
|
So, fatresize has tried to resize the partition beyond the physical flash size (the diff equal to start offset value). |
Thanks for investigating what's wrong.
|
Yeah, something wrong with snapping partition's constraints. |
in my case this assertion message is always displayed, no matter how I try to resize it - either shrink or extend, fatresize almost always fails immediately with the above message. In a few cases when it actually succeeded, it broke the filesystem, so that an attempt to mount it results in "attempt to access address outside of the device" message from kernel (I don't remember the exact wording), and trying to resize it again with fatresize fails too with "Error: The file system is bigger than its volume!" message as above. |
After letting it seemingly successfully shrink a FAT32 partition on an microSD card,
Should fatresize rewrite the last sector metadata and is it a bug/regression, or have I misunderstood something in the documentation?
The text was updated successfully, but these errors were encountered: