-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Zpool split can create a corrupted pool #7865
Comments
@pzakha what do you think about the following fix for the issue:
|
@ramzec That looks reasonable to me. To be safe we could also check that |
@pzakha
Do you agree? |
@ramzec Yeah, I think |
System information
Describe the problem you're observing
When calling zpool split on a pool that has a mirror being resilvered, the new pool that is split-off will be corrupted. See original investigation here: #7856 (comment)
Note that this issue also affects OpenZFS (Illumos).
Describe how to reproduce the problem
Create a mirrored pool, offline the second device in the mirror, write data to the pool, online second device, then split the pool before the resilvering has completed. Note that if you offline the first device instead, then the zpool split operation will fail with EBUSY. See link in description for more context.
Steps:
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: