[LU-4894] verify e2fsck will not delete inodes with only xattrs Created: 12/Apr/14 Updated: 02/Dec/14 Resolved: 02/Dec/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Richard Henwood (Inactive) | Assignee: | Andreas Dilger |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 13530 |
| Description |
|
This task should be completed during phase 3. Check that e2fsck doesn't delete zero length item that only have xattr. |
| Comments |
| Comment by Andreas Dilger [ 02/Dec/14 ] |
|
I unlinked several files from their parent directory using debugfs on a snapshot of my MDT. The files had size=0 and only standard Lustre xattrs such as lov, lma, link. Running e2fsck -f on the modified filesystem resulted in the files being linked into lost+found. |