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

mkdir returns -EBADF if default LMV is set in 2.12 client <-> 2.14 MDS system

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Lustre 2.14.0, Lustre 2.12.8
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      From 2.14, if client doesn't specify default LMV hash type, MDS will use the default one (from tunable option lod.*.mdt_hash). But before 2.14, default LMV hash type should be set explicitly, otherwise in real creation time mkdir will returns -EBADF.

      2.12.6 is running on server and 2.14.0 is running on the client.

      # mkdir /testfs/dir0
      # lfs setdirstripe -c -1 -D /testfs/dir0/
      # mkdir /testfs/dir0/testdir
      # mkdir /testfs/dir0/testdir/subdir
      mkdir: cannot create directory ‘/testfs/dir0/testdir/subdir’: Bad file descriptor
      

      Attachments

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: