Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-592

1.8<->2.1 interop: sanity-quota test_25: FAIL: quota_usr inode quota usage transfer from quota_usr to quota_2usr failed: [|]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.1.0
    • Lustre 2.1.0, Lustre 1.8.6
    • None
    • 3
    • 4910

    Description

      After the upgrading, sanity-quota test 25 failed on Lustre 2.0.66.0 as follows:

      == sanity-quota test 25: test whether quota usage is transfered when chown/chgrp (18081) ============= 19:25:57 (1313375157)
      run for chown case
      setquota for quota_usr
      Disk quotas for user quota_usr (uid 60000):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre       0    7168    7168       -       0      10      10       -
      lustre-OST0000_UUID  
                            0       -    1024       -       -       -       -       -
      lustre-OST0001_UUID  
                            0       -    1024       -       -       -       -       -
      setquota for quota_2usr
      Disk quotas for user quota_2usr (uid 60001):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre       0    7168    7168       -       0      10      10       -
      lustre-OST0000_UUID  
                            0       -    1024       -       -       -       -       -
      lustre-OST0001_UUID  
                            0       -    1024       -       -       -       -       -
      setstripe for /mnt/lustre/d0.sanity-quota/d25 to 0
      quota_usr write 4M to /mnt/lustre/d0.sanity-quota/d25/f25-0
      running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
       [dd] [if=/dev/zero] [of=/mnt/lustre/d0.sanity-quota/d25/f25-0] [bs=4K] [count=1K]
      1024+0 records in
      1024+0 records out
      4194304 bytes (4.2 MB) copied, 0.63437 s, 6.6 MB/s
      Disk quotas for user quota_usr (uid 60000):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre    4096    7168    7168       -       1      10      10       -
      lustre-OST0000_UUID
                         4096       -    5120       -       -       -       -       -
      lustre-OST0001_UUID  
                            0       -    1024       -       -       -       -       -
      Disk quotas for user quota_2usr (uid 60001):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre       0    7168    7168       -       0      10      10       -
      lustre-OST0000_UUID  
                            0       -    1024       -       -       -       -       -
      lustre-OST0001_UUID  
                            0       -    1024       -       -       -       -       -
      /usr/lib64/lustre/tests/sanity-quota.sh: line 1840: [: -ne: unary operator expected
      chown from quota_usr to quota_2usr
      Disk quotas for user quota_usr (uid 60000):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre       0    7168    7168       -       0      10      10       -
      lustre-OST0000_UUID
                            0       -    1024       -       -       -       -       -
      lustre-OST0001_UUID
                            0       -    1024       -       -       -       -       -
      Disk quotas for user quota_2usr (uid 60001):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre    4096    7168    7168       -       1      10      10       -
      lustre-OST0000_UUID
                         4096       -    5120       -       -       -       -       -
      lustre-OST0001_UUID
                            0       -    1024       -       -       -       -       -
      /usr/lib64/lustre/tests/sanity-quota.sh: line 1859: [: -ne: unary operator expected
      Files for user (quota_usr):
      Files for group (quota_usr):
        File: `/mnt/lustre/d0.sanity-quota/d25/f25-0'
        Size: 4194304         Blocks: 8192       IO Block: 2097152 regular file
      Device: 2c54f966h/743766374d    Inode: 144115205356388353  Links: 1
      Access: (0644/-rw-r--r--)  Uid: (60001/quota_2usr)   Gid: (60000/quota_usr)
      Access: 2011-08-14 19:26:06.000000000 -0700
      Modify: 2011-08-14 19:26:06.000000000 -0700
      Change: 2011-08-14 19:26:07.000000000 -0700
       sanity-quota test_25: @@@@@@ FAIL: quota_usr inode quota usage transfer from quota_usr to quota_2usr failed: [|]
      Dumping lctl log to /home/yujian/test_logs/1313375126/sanity-quota.test_25.*.1313375167.log
      

      From the test output, we can see that running "lfs quota -v -u $TSTUSR /mnt/lustre" did not display the disk usage and limits for "lustre-MDT0000_UUID".

      Please look into the attached sanity-quota.test_25.1313375167.log.tar.bz2 for more logs.

      Attachments

        Issue Links

          Activity

            People

              niu Niu Yawei (Inactive)
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: