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

Writing to new files under NFS export from Lustre will result in ENOENT (SLES11SP2)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Lustre 2.4.0
    • Lustre 2.6.0
    • 3
    • 8922

    Description

      After resolving the issues in LU-3484 and LU-3486, the testing of exporting NFS over Lustre on SLES11SP2 continues and we hit yet another issue.

      Creating and reading files works fine, but attempting to write to a new file resulted in an ENOENT coming back.
      It's coming from here:

      00000080:00000001:1.0:1372108818.561839:0:12348:0:(file.c:407:ll_intent_file_open()) Process leaving via out (rc=18446744073709551614 : -2 : 0xfffffffffffffffe)

      Here's the line of code:

              if (it_disposition(itp, DISP_LOOKUP_NEG))
                       GOTO(out, rc = -ENOENT);
      

      Looking through the DK logs, we noticed something strange. This is the intent open log message for the attempted write:

      00800000:00000002:0.0:1372108818.561125:0:12348:0:(lmv_intent.c:198:lmv_intent_open()) OPEN_INTENT with fid1=[0x2000056c1:0x2:0x0], fid2=[0x2000056c1:0x4:0x0], name='/' -> mds #0

      Except this write is to a file named something like 'myfile'. Specifically, "echo 5 > myfile".
      Comparing this to the normal case, not exported over NFS, we see the name of the file here like I'd expect.

      Attachments

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              cheng_shao Cheng Shao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: