[LU-13285] multiple DF returns bad info Created: 21/Feb/20 Updated: 06/Apr/20 Resolved: 06/Apr/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kevin Konzem | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS7.7.1908 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Hey all, |
| Comments |
| Comment by Nathan Dauchy (Inactive) [ 24/Feb/20 ] |
|
Kevin, it looks like you did the strace on the bash process, not on 'df' itself, so the data may not be terribly useful to developers. I was able to catch a similar problem on our system, and the strace shows that the statfs() call is returning incorrect data. Here is a "good" and a "bad" run for comparison: statfs("/mnt/lfs1", {f_type=0xbd00bd0, f_bsize=4096, f_blocks=949817358228, f_bfree=378438906913, f_bavail=368840556468, f_files=3795357040, f_ffree=3500647829, f_fsid={1050737646, 0}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID}) = 0 statfs("/mnt/lfs1", {f_type=0xbd00bd0, f_bsize=0, f_blocks=0, f_bfree=0, f_bavail=0, f_files=18446618905756391232, f_ffree=132349083419, f_fsid={1050737646, 0}, f_namelen=0, f_frsize=0, f_flags=ST_VALID}) = 0 |
| Comment by Kevin Konzem [ 26/Feb/20 ] |
|
My bad, sorry about that. I found a better way to strace the actual df command, attached is a good example df.out I looked at Also, I tried running 'lfs df' instead of 'df', but I got the same response. When ran in a loop on two sessions on the same client, it worked fine on 2.10, but intermittently failed on 2.12/2.13. |
| Comment by Nathan Dauchy (Inactive) [ 26/Feb/20 ] |
|
Another possibly related ticket is |
| Comment by Cory Spitz [ 27/Feb/20 ] |
|
Yes, I was just popping in here after following your conversation on lustre-discuss. kkonzem, I think you should try your reproducer against the patch in https://review.whamcloud.com/37753. I hope it will work for you. There is a simplified reproducer as a part of that patch too. |
| Comment by Andreas Dilger [ 06/Apr/20 ] |
|
The patch https://review.whamcloud.com/37753 " |