[LU-2526] Interop 2.1.3<->2.4 Failure on test suite sanity-quota test_9: write 4.5G file failure, expect success Created: 26/Dec/12  Updated: 17/Feb/13  Resolved: 17/Feb/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.3.0, Lustre 2.4.0, Lustre 2.1.4
Fix Version/s: Lustre 2.4.0, Lustre 2.1.5

Type: Bug Priority: Blocker
Reporter: Maloo Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: MB

Severity: 3
Rank (Obsolete): 5944

 Description   

This issue was created by maloo for sarah <sarah@whamcloud.com>

This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/20598646-4f86-11e2-982d-52540035b04c.

The sub-test test_9 failed with the following error:

write 4.5G file failure, expect success

The interop testing is between 2.1.3 client and 2.4 server, it used 2.4 sanity-quota.sh and test-framework.sh on the client side.

Create test file
Write the big file of 4.5G ...
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d0.sanity-quota/d9/f.sanity-quota.9-0] [count=4831838208]
dd: writing `/mnt/lustre/d0.sanity-quota/d9/f.sanity-quota.9-0': No space left on device
8718+0 records in
8717+0 records out
9140572160 bytes (9.1 GB) copied, 366.152 s, 25.0 MB/s
Disk quotas for user quota_usr (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre 8926344       0 104857600       -       1       0 1000000       -
lustre-MDT0000_UUID
                      0       -       0       -       1       -  262144       -
lustre-OST0000_UUID
                8926344       - 16777216       -       -       -       -       -
lustre-OST0001_UUID
                      0       -       0       -       -       -       -       -
Files for user (quota_usr):
  File: `/mnt/lustre/d0.sanity-quota/d9/f.sanity-quota.9-0'
  Size: 9140572160	Blocks: 17852688   IO Block: 2097152 regular file
Device: 2c54f966h/743766374d	Inode: 144115205255752159  Links: 1
Access: (0644/-rw-r--r--)  Uid: (60000/quota_usr)   Gid: (60000/quota_usr)
Access: 2012-12-21 22:04:05.000000000 -0800
Modify: 2012-12-21 22:10:11.000000000 -0800
Change: 2012-12-21 22:10:11.000000000 -0800
Disk quotas for user quota_usr (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre 8926344       0 104857600       -       1       0 1000000       -
lustre-MDT0000_UUID
                      0       -       0       -       1       -  262144       -
lustre-OST0000_UUID
                8926344       - 16777216       -       -       -       -       -
lustre-OST0001_UUID
                      0       -       0       -       -       -       -       -
Files for group (quota_usr):
  File: `/mnt/lustre/d0.sanity-quota/d9/f.sanity-quota.9-0'
  Size: 9140572160	Blocks: 17852688   IO Block: 2097152 regular file
Device: 2c54f966h/743766374d	Inode: 144115205255752159  Links: 1
Access: (0644/-rw-r--r--)  Uid: (60000/quota_usr)   Gid: (60000/quota_usr)
Access: 2012-12-21 22:04:05.000000000 -0800
Modify: 2012-12-21 22:10:11.000000000 -0800
Change: 2012-12-21 22:10:11.000000000 -0800
 sanity-quota test_9: @@@@@@ FAIL: write 4.5G file failure, expect success 


 Comments   
Comment by Niu Yawei (Inactive) [ 26/Dec/12 ]

The test wrote much larger than 4.5G, and got -ENOSPC finally, will post a patch soon.

Comment by Niu Yawei (Inactive) [ 26/Dec/12 ]

patch for master: http://review.whamcloud.com/4892

Comment by Sarah Liu [ 15/Jan/13 ]

Also seen in 2.3 client vs 2.4 server:
https://maloo.whamcloud.com/test_sets/9ef87542-5ec8-11e2-ba27-52540035b04c

Comment by Niu Yawei (Inactive) [ 15/Jan/13 ]

Sarah, the new sanity-quota.sh wasn't ported to 2.3, where did you get the new sanity-quota.sh from? (2.4 with the patch or 2.1?)

The patch has been landed to master, and pending for cherry-pick to 2.1.

Comment by Sarah Liu [ 17/Jan/13 ]

Niu, I simply copied sanity-quota.sh and test-framework.sh from 2.4 to 2.3/2.1

Comment by Niu Yawei (Inactive) [ 17/Jan/13 ]

I guess the copied sanity-quota.sh doesn't contain the fix 4892?

Comment by Sarah Liu [ 21/Jan/13 ]

Niu, let me double check that and will get back to you ASAP

Comment by Sarah Liu [ 24/Jan/13 ]

I verified this issue on tag-2.3.59 which includes the fix.

Comment by Niu Yawei (Inactive) [ 27/Jan/13 ]

patch for b2_1: http://review.whamcloud.com/5185

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