[LU-12947] Project quotas: support of symlinks? Created: 07/Nov/19 Updated: 24/Apr/20 Resolved: 24/Apr/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stephane Thiell | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7.6, ldiskfs |
||
| Issue Links: |
|
||||||||
| Severity: | 4 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
With Lustre 2.12.3 and project quotas enabled, we can't set a project ID on symlink. It would be useful to have symlink support to make project quotas more robust. Related to # lfs project -p 351945 -s -r eulig lfs: unable to get xattr for symlink 'eulig/projects/deepfluoro/wandb/run-20191106_123211-9o7biub9/train.py': Operation not supported |
| Comments |
| Comment by Andreas Dilger [ 07/Nov/19 ] |
|
There is a second patch https://review.whamcloud.com/34447 " That should be atomic (i.e. no chance some user/app cannot find the symlink), and solves the issue of symlinks having the wrong projid. |
| Comment by Stephane Thiell [ 07/Nov/19 ] |
|
Oh that sounds good, thanks for the pointer! It's nice that it can be done in an atomic way. Also wanted to clarify that it's only a problem for already existing symlinks, as we confirmed that newly created symlinks in a directory (that has the inherit attribute set) are properly accounted for. |
| Comment by Andreas Dilger [ 24/Apr/20 ] |
|
This is being addressed under |