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

'Text file busy' error when creating executable on NFS share and then running it on Lustre node.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Lustre 1.8.7
    • None

    Description

      We have exported Lustre file system via NFS (let's say from n1).

      The attached script 'repr.sh' creates the executable 'test.sh' on the Lustre folder, then connects to n1 by ssh and executes the created script 'test.sh' on n1.

      The script 'repr.sh' always results with the error "bash: /folder_on_lustre/test.sh: Text file busy"

      Reproducing script:
      cd /folder_on_lustre
      rm -rf test.sh
      echo "ls -l" >> test.sh
      chmod +x test.sh
      echo "ls" >> test.sh
      ssh -o 'StrictHostKeyChecking no' n1 '/folder_on_lustre/test.sh'

      Attachments

        1. repr.sh
          0.2 kB
          Evgeny Repekto

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              evg1 Evgeny Repekto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: