[LU-14468] lfs rmfid should use strerror in error messages Created: 23/Feb/21  Updated: 05/May/21  Resolved: 06/Mar/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

lfs rmfid prints errors of the form

rmfid([0x20001a9f5:0x155:0x0]): rc = -39

This should be

lfs rmfid: cannot remove [0x20001a9f5:0x155:0x0]: Directory not empty


 Comments   
Comment by Gerrit Updater [ 23/Feb/21 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41727
Subject: LU-14468 utils: improve 'lfs rmfid' error messages
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: bd93010d1f42f2cc1345411ea88ea22eaa48df9b

Comment by Gerrit Updater [ 06/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41727/
Subject: LU-14468 utils: improve 'lfs rmfid' error messages
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6560ae08a788b3779118640837f68b499a99ee8c

Comment by Peter Jones [ 06/Mar/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:10:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.