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

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

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated: