[LU-2587] Quota error after upgrade from 2.1.4 to 2.4 Created: 08/Jan/13 Updated: 29/Jan/13 Resolved: 23/Jan/13 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sarah Liu | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | HB | ||
| Environment: |
before upgrade server and client: 2.1.4 |
||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 6030 |
| Description |
|
The test steps is: Lustre: DEBUG MARKER: upgrade-downgrade : @@@@@@ FAIL: iozone did not fail with EDQUOT Quota info on lustre-2.1.4 filesystem before running IOZONE: Listing quotas for user "quota_2usr" and group "quota_2usr" on client-5,client-6... client-5: Disk quotas for user quota_2usr (uid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 0 0 1048576 - 0 0 5120 - client-5: lustre-MDT0000_UUID client-5: 0 - 131072 - 0 - 1280 - client-5: lustre-OST0000_UUID client-5: 0 - 65536 - - - - - client-5: Disk quotas for group quota_2usr (gid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 0 0 1048576 - 0 0 5120 - client-5: lustre-MDT0000_UUID client-5: 0 - 131072 - 0 - 1280 - client-5: lustre-OST0000_UUID client-5: 0 - 65536 - - - - - Quota info on lustre-2.1.4 filesystem after running IOZONE : Listing quotas for user "quota_2usr" and group "quota_2usr" on client-5,client-6... client-5: Disk quotas for user quota_2usr (uid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 1049108* 0 1048576 - 3 0 5120 - client-5: lustre-MDT0000_UUID client-5: 4 - 1024 - 3 - 640 - client-5: lustre-OST0000_UUID client-5: 1049104* - 1047552 - - - - - client-5: Disk quotas for group quota_2usr (gid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 1049108* 0 1048576 - 3 0 5120 - client-5: lustre-MDT0000_UUID client-5: 4 - 1024 - 3 - 640 - client-5: lustre-OST0000_UUID client-5: 1049104* - 1047552 - - - - - Quota info after upgrade from 2.1.4 to 2.4, before running IOZONE: Listing quotas for user "quota_2usr" and group "quota_2usr" on client-5,client-6... client-5: Disk quotas for user quota_2usr (uid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 1049108* 0 1048576 - 3 0 5120 - client-5: lustre-MDT0000_UUID client-5: 4 - 0 - 3 - 0 - client-5: lustre-OST0000_UUID client-5: 1049104 - 0 - - - - - client-5: Disk quotas for group quota_2usr (gid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 1049108* 0 1048576 - 3 0 5120 - client-5: lustre-MDT0000_UUID client-5: 4 - 0 - 3* - 3 - client-5: lustre-OST0000_UUID client-5: 1049104 - 0 - - - - - Quota info on lustre-2.4 filesystem after running IOZONE: Listing quotas for user "quota_2usr" and group "quota_2usr" on client-5,client-6... client-5: Disk quotas for user quota_2usr (uid 60001): client-5: Filesystem kbytes quota limit grace files quota limit grace client-5: /mnt/lustre 3146264* 0 1048576 - 0 0 5120 - client-5: lustre-MDT0000_UUID client-5: 0 - 0 - 0 - 1024 - client-5: lustre-OST0000_UUID client-5: 3146264 - 0 - - - - - |
| Comments |
| Comment by Johann Lombardi (Inactive) [ 08/Jan/13 ] |
|
Sarah, did you enable quota on the MGS via lctl conf_param? If not, enforcement won't be enabled and this behavior is expected. |
| Comment by Niu Yawei (Inactive) [ 08/Jan/13 ] |
|
Seems there is a defect: after the global index & global index copy were created, they both set the initial version as 1, so even if the global index migration happened, slave will not reintegrate the global index... |
| Comment by Niu Yawei (Inactive) [ 08/Jan/13 ] |
| Comment by Sarah Liu [ 08/Jan/13 ] |
I did lctl conf_param lustre.quota.mdt/ost=ug |
| Comment by Niu Yawei (Inactive) [ 23/Jan/13 ] |
|
landed for 2.4 |
| Comment by Sarah Liu [ 29/Jan/13 ] |
|
verified, close. |