[LU-16055] old file version returned on some client Created: 28/Jul/22 Updated: 29/Jul/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Götz Waschk | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Lustre 2.12.6 on the client, Lustre 2.12.8_6_g5457c37 on the servers |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
On some clients (9 out of 242), the wrong version of a file is read, unless direct I/O is used. The file is small and completely stored on the mdt: [wgs34] /root # lfs getstripe /lustre/fs24/files/test.py lcme_id: 2 If I copy the file on one of the affected machines, it is the old overwritten version. If I use direct I/O, the file has the correct content: [pax9-02] /root # dd if=/lustre/fs24/files/test.py of=bla iflag=direct bs=4096
There are no Lustre errors on the client or server. sync or lflush had no effect, but umounting and remounting the file system fixed this. |
| Comments |
| Comment by Götz Waschk [ 29/Jul/22 ] |
|
The correct version of the file is returned after dropping caches with: echo 1 > /proc/sys/vm/drop_caches |