LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-26-2012, 03:32 PM   #1
linuxandtsm
Member
 
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.

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!

Last edited by linuxandtsm; 09-26-2012 at 03:34 PM.
 
Old 09-26-2012, 05:20 PM   #2
ccrmsc
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.
 
  


Reply


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


All times are GMT -5. The time now is 08:17 PM.

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