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

Text file busy error -- lustre 2.6.0 client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Lustre 2.6.0, Lustre 2.4.2, Lustre 2.7.0
    • None
    • 3
    • 17443

    Description

      When executing the following simple script, the in-kernel client fails with error "Text file busy", while the out-of-kernel 2.4.2 client compiled against 2.6.32 vanilla works.

      -----------
      #!/bin/bash

      rm -f ./test.sh
      touch ./test.sh && chmod a+x ./test.sh
      echo "echo foo" > ./test.sh
      ./test.sh
      echo "echo foo" > ./test.sh
      ------------

      The following script works in all cases:

      -----------
      #!/bin/bash

      rm -f ./test.sh
      touch ./test.sh && chmod a+x ./test.sh
      echo "echo foo" > ./test.sh
      bash ./test.sh
      echo "echo foo" > ./test.sh
      ------------

      Attachments

        1. LU-4398.tar.bz2
          118 kB
          Yan Burman
        2. LU4429+4520.patch
          3 kB
          Yan Burman
        3. LU-4520.ETXTBSY.lctl-dk.txt
          436 kB
          Yan Burman
        4. LU-4520.ETXTBSY.strace.txt
          20 kB
          Yan Burman
        5. LU-4520.ok-vanilla.pcap.txt
          5 kB
          Yan Burman
        6. LU-4520.pcap.txt
          4 kB
          Yan Burman

        Issue Links

          Activity

            People

              wc-triage WC Triage
              yanb Yan Burman
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: