Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
How to reproduce:
we have a executable file on a read only mounted client:
[root@client mnt]# ls -l /mnt/ total 8 -rwxr-xr-x 1 root root 6439 Feb 1 14:51 test [root@client mnt]# ./test Hello World!
Then we try to write to the file, which will fail with EROFS:
[root@client mnt]# echo foo >> ./test -bash: ./test: Read-only file system
Then run the file again:
[root@client mnt]# ./test -bash: ./test: Text file busy
Note the executable fails to run across the whole cluster from this point, even on the clients without read only mount option.
Attachments
Issue Links
- duplicates
-
LU-8441 Text file busy error after overwriting file
-
- Resolved
-
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/18242/
Subject:
LU-7727mdt: fail FMODE_WRITE open if the client is read onlyProject: fs/lustre-release
Branch: master
Current Patch Set:
Commit: eb37bd1269b0c4ac182398ea7017a758cc60e30f