-
Notifications
You must be signed in to change notification settings - Fork 249
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
btrfs replace start failed with segmentation fault , and seems to hang my system #363
Comments
Matching code from 5.10.31:
Introduced by commit https://git.kernel.org/linus/5c06147128fbb and it says the assertion is impossible to hit. From the reproducer it seems that when replace fails to start due to ENOSPC it's in a state that the replace state machine does not expect or at least the assertion is based on a wrong assumption. |
This is probably related, because it also ended with "No space left" #948 |
I did a lot of experiments. The plan was as next:
The solution #2 and #3 never worked. Usually it crashes on The file with bigger sizes like 400Mb and 230Mb on the device with volume 500Mb is failed when I trying to replace broken Drive. The steps |
Here stack traces: Stack traces
|
btrfs-progs: v5.11.1
linux kernel: 5.10.31
After segmentation fault, 'systemctl --force --force reboot' can't even reboot system.
Here's what I did:
In /var/log/messages:
The text was updated successfully, but these errors were encountered: