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

Text file busy error -- lustre 2.6.0 client

XMLWordPrintable

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

      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
      ------------

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

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

              Created:
              Updated:
              Resolved: