-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Clarify zpool status upgrade suggestion #17925
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
base: master
Are you sure you want to change the base?
Clarify zpool status upgrade suggestion #17925
Conversation
|
At very least |
|
I get the motivation, but if we were to reword this I think we'd want to update all the |
I completely agree, my PR is, well, quite superficial. I'll see if adjusting print hints for other zpool commands is feasible and I'll update the PR. |
Sorry but I disagree with you.
Due to the long-term lack of maintenance in OpenZFS documentation and the absence of any systematic textbooks or guides on the market, this is likely why even AI may struggle to provide accurate information. Many seemingly minor improvements would significantly benefit end users. Many similar confusing designs can end up wasting quite a bit of users’ time, such as entering a password but receiving no feedback or even no ****. While one could say this is for security, it isn’t sufficiently explained. I believe that adding a simple sentence—“Passwords are neither echoed nor displayed as *** on the screen, so nothing appears”—would clarify this without much effort. |
|
If we don't want to list the pool name, could we just say: - Enable all features using 'zpool upgrade'.
+ Enable all features using 'zpool upgrade' on the pool. |
Motivation and Context
The output of 'zpool status' can be confusing to the end user, suggesting upgrade of pools with 'zpool upgrade', where in fact more 'correct' message would be 'zpool upgrade '
This is the open issue explaining the problem in more detail: #17910
Description
Change merely changes the output message to include '' literal as a suggestion to end user on how to use 'zpool upgrade' command.
How Has This Been Tested?
I've compiled zfs on my machine (Ubuntu 24.04) with standard (Ubuntu provided) packages for needed dependencies.
I've created a test pool deliberately disabling some features:
I then run 'zpool status' from ubuntu-provided zpool command:
Then, I run zpool from my compiled change:
Types of changes
Checklist:
Signed-off-by.