Hello all,
This is my first time dealing with NFS 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)
servername.domain.com:/mnt/linux_Backups/backup 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.
Check /etc/fstab of there is an option for errors=mount-ro
For ext2 that is an option to remount a failing disk as readonly.
you should be able te remount the disk rw with:
mount -o rw,remount /dev/disk/whatever.