-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Feature request: way to suppress 'features not enabled' warning in zpool status #5016
Comments
Shame this isn't a setting :-( |
Or maybe a new option |
I 'fixed' it for now by simply removing the UNAVAIL from zfs_health.sh. Maybe making this configurable in the script is the simplest solution. |
Honestly, |
Maybe "features:" and "format:" can be additional sections only shown with |
Maybe retain the current behavior but implement a flag on Let's imagine that two features zpool get might show something like
And zpool status before
After
And zpool get would show:
Of course you could do it manually via zpool set too. |
I heard @allanjude mention this in a leadership meeting, maybe he can weigh in on the relative viability of the suggestions proposed here and/or give an alternate. |
I disagree about retaining the status unless the user clears with a special suppression flag. The whole problem of this message in the first place is it encourages the user to perform a completely unnecessary pool upgrade, putting the pool at risk and limiting compatibility. Users should be taught to be conservative and only perform upgrades if they really want or need a new feature. "If it ain't broke, don't fix it." |
This is related to the talk Josh Paetzel is giving at the OpenZFS Developer summit as well (about making |
Sounds reasonable that zpool clear without flags should do this. |
I don't think It has the same issue as the force flag in many ZFS commands, it ends up meaning multiple things, and you can't select just the one thing you want. |
This functionality was added with the new compatibility property starting with the 2.1.0 release |
This 'nag screens' in zpool status
and
are extremely annoying: While the warning might be interesting to some, I know that there are unactivated features on some of my pools (not by accident).
I would like to be able to suppress this on a per-pool level, for example throught a property 'featurewarning=disabled'.
The text was updated successfully, but these errors were encountered: