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

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

      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'

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

              Created:
              Updated:
              Resolved: