Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-26-2012, 03:32 PM   #1
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
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.

Server1:/docs on /A/Temp type nfs (rw,addr=<IP ADDRESS>)
below is the entry from /etc/fstab
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
# touch a
touch: cannot touch `a': Read-only file system
below is the permissions on directory where i am trying to touch the file
# ls -ld .
drwxr-xr-x 6 root root 2048 Dec 16  2011 .
Any clue on how to troubleshoot this ?

Thanks in adavance!

Last edited by linuxandtsm; 09-26-2012 at 03:34 PM.
Old 09-26-2012, 05:20 PM   #2
LQ Newbie
Registered: Sep 2012
Location: San Jose, CA
Distribution: Centos / Linux RHEL6
Posts: 4

Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir TheIndependentAquarius Linux - Newbie 10 12-29-2011 08:11 AM
Attempt to read block from filesystem resulted in short read while trying to the_ultimate_samurai Linux - Hardware 6 06-02-2010 09:09 PM
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 05:31 AM
Raid disk problem : Attempt to read block from filesystem resulted in short read ElmPie Linux - General 5 08-26-2008 06:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration