LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Read only filesystem: (https://www.linuxquestions.org/questions/linux-newbie-8/read-only-filesystem-4175429169/)

linuxandtsm 09-26-2012 02:32 PM

Read only filesystem:
 
Hi all,

mounted an NFS share as read-write and this is used to work fine until now. Suddenly now, whenever i tried to create new files in this share, it throws error saying that it is read-only filesystem. Tried to remount it with read-write, mounted fine but when i try to create files in it then the same error.

Code:

Server1:/docs on /A/Temp type nfs (rw,addr=<IP ADDRESS>)
below is the entry from /etc/fstab
Code:

Server1:/docs /A/Temp nfs  rw,intr,soft,timeo=600,vers=3,rsize=32768,wsize=32768 0 0
below is the error while trying to touch temp file as root
Code:

# touch a
touch: cannot touch `a': Read-only file system

below is the permissions on directory where i am trying to touch the file
Code:

# ls -ld .
drwxr-xr-x 6 root root 2048 Dec 16  2011 .

Any clue on how to troubleshoot this ?

Thanks in adavance!

ccrmsc 09-26-2012 04:20 PM

Looks like only root user has write access to the /docs directory on server 1. Try changing permissions on /docs directory to "chmod 777 /docs" to verify this fixes it and then proceed to re-establish your security to the level you want.


All times are GMT -5. The time now is 05:18 AM.