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

NAS-132816 / 24.10.2 / Fix disk.format (by yocalebo) #15071

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

bugclerk
Copy link
Contributor

@bugclerk bugclerk commented Dec 2, 2024

We found that disk.wipe wasn't working properly and was subsequently fixed in #14742. However, when a zpool is created the disk.format method is eventually called which is using libparted. After some investigation, that library isn't wiping all traces of filesystems on the disk. Since disk.wipe was fixed, just remove the libparted usage and call the former instead. I've also added an explicit test for this scenario.

Original PR: #15068
Jira URL: https://ixsystems.atlassian.net/browse/NAS-132816

(cherry picked from commit 20696c7)
(cherry picked from commit ad2b003)
@yocalebo yocalebo merged commit ef689ce into stable/electriceel Dec 2, 2024
1 of 2 checks passed
@yocalebo yocalebo deleted the NAS-132816-24.10.2 branch December 2, 2024 17:40
@bugclerk
Copy link
Contributor Author

bugclerk commented Dec 2, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants