[LU-13841] error messages need additional explanation for lctl pcc commands Created: 31/Jul/20 Updated: 03/Sep/23 Resolved: 05/Aug/20 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Vikentsi Lapa | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Virtual machine |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
From user perspective:
From my point of view this can fixed by added some notes or explanation to documentation, or change error message itself, like "cache already enabled for ..."
Steps to reproduce: Directory for cache is created and exists.
# lctl pcc add /mnt/lustre /mnt/pcc2 --param "projid={100} rwid=2" Try to add pcc cache multiple times with same rwid # lctl pcc add /mnt/lustre /mnt/pcc2 --param "projid={100} rwid=2" lctl pcc pcc: error: setting llite.lustre-ffff8b405721f800.pcc='add /mnt/pcc2 projid={100} rwid=2': File exists (17)
Try to add pcc cache with same path to /mtn/pcc2 but with with different rwid [# lctl pcc add /mnt/lustre /mnt/pcc2 --param "projid={100} rwid=5" lctl pcc pcc: error: setting llite.lustre-ffff8b405721f800.pcc='add /mnt/pcc2 projid={100} rwid=5*': File exists (17)*
Use incorrect arguments: to get path with numbers
What is "PCC path 3:6" about? Similar to lctl pcc del lctl pcc del /mnt/pcc2
Typo in error mesage: del: must speficy mount path and PCC path 1:2 -> specify
Incorrect number of arguments in help output:
|
| Comments |
| Comment by Vikentsi Lapa [ 05/Aug/20 ] |
|
This is cosmetic lctl pcc del /mnt/pcc2
|
| Comment by Vikentsi Lapa [ 05/Aug/20 ] |
|
Verified with lustre-2.13.55_3_g066eec1-1.el7.x86_64 This was fixed: lctl pcc list list: require 1 arguments
lctl pcc add /mnt/lustre /mnt/pcc2 --param projid={100} rwid=6
add: must specify mount path and PCC path
Add a PCC backend to a client.
lctl pcc del /mnt/pcc2 del: must speficy mount path and PCC path
|
| Comment by Vikentsi Lapa [ 05/Aug/20 ] |
|
FYI: qian_wc |
| Comment by Gerrit Updater [ 27/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52111 |
| Comment by Gerrit Updater [ 27/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52112 |
| Comment by Gerrit Updater [ 29/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52159 |
| Comment by Gerrit Updater [ 29/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52161 |
| Comment by Gerrit Updater [ 29/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52163 |
| Comment by Gerrit Updater [ 29/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52164 |
| Comment by Gerrit Updater [ 29/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52165 |
| Comment by Gerrit Updater [ 29/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52167 |
| Comment by Gerrit Updater [ 30/Aug/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52182 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52239 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52240 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52241 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52242 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52243 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52244 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52245 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52246 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52247 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52248 |
| Comment by Gerrit Updater [ 03/Sep/23 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52249 |