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.

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

        Issue Links

          Activity

            [LU-872] 'Text file busy' error when creating executable on NFS share and then running it on Lustre node.
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            laisiyao Lai Siyao made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            pjones Peter Jones made changes -
            Assignee Original: Robert Read [ rread ] New: Lai Siyao [ laisiyao ]
            evg1 Evgeny Repekto created issue -

            People

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

              Dates

                Created:
                Updated:
                Resolved: