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

Can't clear force fault on spare #16725

Open
tonyhutter opened this issue Nov 6, 2024 · 0 comments
Open

Can't clear force fault on spare #16725

tonyhutter opened this issue Nov 6, 2024 · 0 comments
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@tonyhutter
Copy link
Contributor

System information

Type Version/Name
Distribution Name RHEL
Distribution Version 8.10
Kernel Version 4.18
Architecture x86-64
OpenZFS Version 2.2.4

Describe the problem you're observing

Our operators had force-faulted a vanilla spare (non-dRAID) with zpool offline -f <tank> <spare-vdev>. They then tried the normal zpool clear <tank> <spare-vdev> to clear the fault, but got this error:

cannot clear errors for <spare-vdev>: device is reserved as a hot spare

We should be able to clear the fault on spares like we do on normal vdevs.

@tonyhutter tonyhutter added the Type: Defect Incorrect behavior (e.g. crash, hang) label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

1 participant