[LU-10640] ha.sh improvement: add stat(2) check Created: 08/Feb/18  Updated: 13/Dec/21  Resolved: 13/Dec/21

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

Type: Improvement Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch
Rank (Obsolete): 9223372036854775807

 Description   

ha.sh script proposed improvement:
In each load iteration check for all created directories that ls' long format does not contain '?' which could happen when stat(2) called by ls fails.
The stat(2) failure may be caused by the missing objects as well as by number of other reasons.
If '?' is found sleep for several minutes and repeat the check.
Exit with error if '?' still exists after second check.



 Comments   
Comment by Gerrit Updater [ 08/Feb/18 ]

Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/31229
Subject: LU-10640 tests: ha.sh script improvements
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6ca1725abd575a8abbcc9717bc60d3b897a3ec39

Comment by Gerrit Updater [ 13/Dec/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/31229/
Subject: LU-10640 tests: ha.sh script improvements
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 02f4eb88c444c04421a8f178cdb573f9192f9608

Comment by Peter Jones [ 13/Dec/21 ]

Landed for 2.15

Generated at Sat Feb 10 02:36:54 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.