[LU-13849] lfs project -p 1 failed to set xattr for '/mnt/lustre/test_pcc_ro_auto' Created: 03/Aug/20 Updated: 07/Aug/20 Resolved: 07/Aug/20 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Vikentsi Lapa | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
During attempt to verify auto cache PCC RO step to change project ID to file was used. It completed with the error message lfs project -p 1 /mnt/lustre/test_pcc_ro_auto lfs: failed to set xattr for '/mnt/lustre/test_pcc_ro_auto': Operation not supported This is not directly related to PCC RO feature itself, but Project ID attribute is mentioned in all instructions and examples. From kernel messages [Mon Aug 3 15:48:17 2020] LustreError: 5582:0:(osd_handler.c:3034:osd_quota_transfer()) dm-0: quota transfer failed: rc = -95. Is project enforcement enabled on the ldiskfs filesystem? Additional example, for some reason when Project ID is 0 command completed without error. lfs project -p 0 /mnt/lustre/test_pcc_ro_auto Build version used for test rpm -qa | grep lustre |
| Comments |
| Comment by Vikentsi Lapa [ 05/Aug/20 ] |
|
To specify file Project ID it is necessary to enable quota feature. According to the Lustre manual. The project quota feature is disabled by default, and tune2fs needs to be run to enable every target manually." To turn on user, group, and project quotas for block only on file system testfs1, on the MGS run: mgs# lctl conf_param testfs1.quota.ost=ugp |