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

sanity test 1 error: apply rmdir/rm on striped dir failed

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • Lustre 2.10.1
    • None
    • Lustre2.10.1

    Description

      when run lustre with 2 MDS(active/inactive)share one mdt, the test below can pass.

      when run with 2MDS(active/active), the test get error shown below broken image link the corresponding script :

      test_1() {
            test_mkdir -p $DIR/$tdir || error "mkdir $tdir failed"
            test_mkdir -p $DIR/$tdir/d2 || error "mkdir $tdir/d2 failed"
            test_mkdir $DIR/$tdir/d2 && error "we expect EEXIST, but not returned"
            $CHECKSTAT -t dir $DIR/$tdir/d2 || error "$tdir/d2 is not a dir"
            rmdir $DIR/$tdir/d2
            rmdir $DIR/$tdir
            $CHECKSTAT -a $DIR/$tdir || error "$tdir was not removed"
      }
      

      if MDSCOUNT in configuration file >1 ,the function test_mkdir will create a strped dir. 

      Attachments

        Issue Links

          Activity

            [LU-10225] sanity test 1 error: apply rmdir/rm on striped dir failed
            adilger Andreas Dilger made changes -
            Description Original: when run lustre with 2 MDS(active/inactive)share one mdt, the test below can pass.

            when run with 2MDS(active/active), the test get error shown below !http://10.177.96.145:8090/download/attachments/4326964/image2017-11-7%2022%3A20%3A13.png?version=1&modificationDate=1510064406308&api=v2!* the corresponding script :*

            test_1() \{
                  test_mkdir -p $DIR/$tdir || error "mkdir $tdir failed"
                  test_mkdir -p $DIR/$tdir/d2 || error "mkdir $tdir/d2 failed"
                  test_mkdir $DIR/$tdir/d2 && error "we expect EEXIST, but not returned"
                  $CHECKSTAT -t dir $DIR/$tdir/d2 || error "$tdir/d2 is not a dir"
                  rmdir $DIR/$tdir/d2
                  rmdir $DIR/$tdir
                  $CHECKSTAT -a $DIR/$tdir || error "$tdir was not removed"
            }

            if MDSCOUNT in configuration file >1 ,the function test_mkdir will create a strped dir. 
            New: when run lustre with 2 MDS(active/inactive)share one mdt, the test below can pass.

            when run with 2MDS(active/active), the test get error shown below *broken image link* the corresponding script :
            {noformat}
            test_1() {
                  test_mkdir -p $DIR/$tdir || error "mkdir $tdir failed"
                  test_mkdir -p $DIR/$tdir/d2 || error "mkdir $tdir/d2 failed"
                  test_mkdir $DIR/$tdir/d2 && error "we expect EEXIST, but not returned"
                  $CHECKSTAT -t dir $DIR/$tdir/d2 || error "$tdir/d2 is not a dir"
                  rmdir $DIR/$tdir/d2
                  rmdir $DIR/$tdir
                  $CHECKSTAT -a $DIR/$tdir || error "$tdir was not removed"
            }
            {noformat}
            if MDSCOUNT in configuration file >1 ,the function test_mkdir will create a strped dir. 
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-3308 [ LU-3308 ]
            bear fengyubo (Inactive) created issue -

            People

              wc-triage WC Triage
              bear fengyubo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: