[LU-3141] umount lost all file contents Created: 10/Apr/13  Updated: 10/Apr/13  Resolved: 10/Apr/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0, Lustre 2.1.6
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Zhenyu Xu Assignee: WC Triage
Resolution: Not a Bug Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 7625

 Description   

1. Format and mount a new filesystem
2. copy some file in it
3. umount the filesystem
4. mount it again

The file lost their contents.

If 'sync' is executed between 2 and 3, the issue is gone. Looks like umount has not flushed dirty data.



 Comments   
Comment by Zhenyu Xu [ 10/Apr/13 ]

I was using llmount.sh and llmountcleanup.sh for mount and umount.

Comment by Niu Yawei (Inactive) [ 10/Apr/13 ]

llmountcleanup.sh is using 'umount -f' to umount client, which will not flush back dirty data.

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