NFS掛上去的資料無法執行 - Linux

Table of Contents

※ 引述《achen0504 (因為了解產生感動)》之銘言:
: server.cluster:/home /home nfs rw,exec 0 0
: 執行的情況:
: [achen@node5 examples]$ ./pi3f90.out
: -bash: ./pi3f90.out: cannot execute binary file
: [achen@node5 examples]$ pgf90 pi3f90.f90 -o 2_pi3f90.out
: -bash: /cluster/server/program/pgi/linux86-64/8.0/bin/pgf90: cannot execute
: binary file
: 主機端的export
: [achen@server examples]$ cat /etc/exports
: /home 192.168.1.0/24(rw,async,no_root_squash)
: /disk1 192.168.1.0/24(rw,async,no_root_squash)
: google了很久好像沒人遇到這個問題
: 請問能給點線索要去檢查哪裡嗎?
會不會你的server和node一個是32-bit,一個是64-bit?

你試著把檔案copy過去看能不能執行

如果可以執行才來看看是不是NFS的問題

NFS不能執行可能是有設noexec的參數。

--

All Comments