[LU-5170] lfs usability Created: 10/Jun/14 Updated: 15/Dec/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | lfs, llnl, medium, utils | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 14249 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
lfs usability needs attention. Command output
Errors and Error Messages
# cd /mnt/lustre # ls # touch f0 d1/f1 f2 touch: cannot touch `d1/f1': No such file or directory # echo $? 1 # ls f0 f2 # # rm f0 f2 # lfs setstripe -c4 f0 d1/f1 f2 unable to open 'd1/f1': No such file or directory (2) error: setstripe: create stripe file 'd1/f1' failed # echo $? 2 # ls f0 Commands and Options
These and other standards for usability should be expanded, refined, made available to the development community, and used to validate additions/changes to lfs and other command line utilities. |
| Comments |
| Comment by Matt Ezell [ 10/Jun/14 ] |
|
Please be aware of |
| Comment by Andreas Dilger [ 09/Dec/16 ] |
|
Patch http://review.whamcloud.com/11014 " |
| Comment by Gerrit Updater [ 05/Jan/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/24723 |
| Comment by Andreas Dilger [ 06/Jan/17 ] |
|
John, I just noticed here that you seem to advocate against prefixing error messages with error: or warning:? I'd prefer to keep those, as it makes it more clear to the user what is a fatal error, what is a significant warning, and what are just progress or normal output messages. I'm not dead set on this, but wanted to understand your motivation, as I typically add these prefixes into my error messages. |
| Comment by John Hammond [ 09/Jan/17 ] |
|
(I don't feel so strongly on this point.) Usually anything pointed to stderr should be an error. Perhaps warnings could be labeled as such. But we should really try not to have an warnings. If something is deprecated then 'lfs: warning ... is deprecated' is fine. But in general I think that the message itself should make the severity clear. x:~# ls history.out BARF c4038ab2.diff ls: cannot access BARF: No such file or directory c4038ab2.diff history.out |
| Comment by Gerrit Updater [ 16/Jan/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/24902 |
| Comment by Gerrit Updater [ 15/Feb/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24902/ |
| Comment by Gerrit Updater [ 14/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28049 |
| Comment by Gerrit Updater [ 17/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28062 |
| Comment by Gerrit Updater [ 18/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28086 |
| Comment by Gerrit Updater [ 26/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28226 |
| Comment by Gerrit Updater [ 26/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28234 |
| Comment by Gerrit Updater [ 26/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28239 |
| Comment by Gerrit Updater [ 27/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28250 |
| Comment by Gerrit Updater [ 27/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28253 |
| Comment by Gerrit Updater [ 27/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28255 |
| Comment by Gerrit Updater [ 31/Jul/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28286 |
| Comment by Gerrit Updater [ 01/Aug/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28304 |
| Comment by Gerrit Updater [ 16/Aug/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28569 |
| Comment by Gerrit Updater [ 16/Aug/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28571 |
| Comment by Gerrit Updater [ 31/Aug/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28086/ |
| Comment by Gerrit Updater [ 08/Sep/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28911 |
| Comment by Gerrit Updater [ 14/Sep/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/28997 |
| Comment by Gerrit Updater [ 16/Oct/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28049/ |
| Comment by Gerrit Updater [ 22/Nov/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28255/ |
| Comment by Gerrit Updater [ 22/Nov/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28304/ |
| Comment by Gerrit Updater [ 01/Dec/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28250/ |
| Comment by Gerrit Updater [ 28/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30663 |
| Comment by Gerrit Updater [ 29/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30664 |
| Comment by Gerrit Updater [ 29/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30665 |
| Comment by Gerrit Updater [ 29/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30666 |
| Comment by Gerrit Updater [ 29/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30667 |
| Comment by Gerrit Updater [ 29/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30668 |
| Comment by Gerrit Updater [ 29/Dec/17 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/30670 |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28253/ |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28286/ |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28571/ |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30666/ |
| Comment by Gerrit Updater [ 19/Apr/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30665/ |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28234/ |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28239/ |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28997/ |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30667/ |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30668/ |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30670/ |
| Comment by Gerrit Updater [ 20/Jan/21 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41271 |
| Comment by Gerrit Updater [ 10/Mar/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41271/ |
| Comment by Gerrit Updater [ 13/Mar/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/30663/ |