Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-15-2016, 11:18 AM   #1
LQ Newbie
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
NFS share on Centos 6.6 become read only on its own

Hello all,

This is my first post here so please bare with me. I am not the person who had originally configured NFS on this server and I have never first hand configured it myself. After this servers storage (DAS) experienced a drive failure we needed to rebuild the array as well as the LVM configurations. After doing this I had mounted the NFS share on all of the clients and everything seemed to be working correctly. when I came in the morning I had noticed that nothing had been written to the NFS shares as it should have. whenever I try to create a file I receive "touch: cannot touch `test.txt': Read-only file system". First thing i did was look at /etc/fstab on the server and the entry for the share is mounted as follows:

/dev/mapper/vg_servername_linuxBackup-lv_linuxBackup /mnt/linux_Backups ext4 defaults 0 0

This is /etc/fstab from the clients (both server and clients cannot write to it) nfs _netdev,intr,nosuid,noexec,noatime,nfsvers=3

I did a little research and found that /etc/mtab has it listed as "rw" but /proc/self/mounts has it as "ro" It is my understanding that /proc/self/mounts is information that is supplied by the kernal, if this is the case how can I Change this so that it is listed as read and write?

Many thanks.
Old 03-16-2016, 03:11 AM   #2
Registered: Dec 2011
Location: Simplicity
Posts: 938

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
mount -o remount /mnt/linux_Backups
If that does not work, try
exportfs -u /mnt/linux_Backups
fsck /mnt/linux_Backups
mount /mnt/linux_Backups
exportfs /mnt/linux_Backups
Old 03-29-2016, 05:40 PM   #3
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 119

Rep: Reputation: 15
You might also look at the output from /var/log/messages. In my experience when a mount suddenly becomes read-only it means the drive was starting to get failures, so the system made it read only.


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
Mounting NFS share on client changes permissions to read-only GATTACA Linux - Server 1 12-03-2008 02:19 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
Mounting NFS share in Ubuntu always creates read-only IMNOboist Linux - Networking 3 09-17-2007 12:55 AM
NFS share not mounting with read/write permissions syphoncode.32 Linux - Software 1 06-15-2007 03:46 AM
NFS share is only mounted read-only? Poetics Linux - Networking 2 05-30-2007 01:58 PM > Forums > Linux Forums > Linux - Server

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

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