![]() |
Can't mount NFS as writeable
This is my first time working with NFS but I fail to see what the issue is since everything works properly.
On the server (CentOS 5.5, virtualized), /etc/exports has Quote:
Quote:
Quote:
Everytime I try "touch t", I get touch: Quote:
BTW, showmount -e 192.168.2.105 shows the proper value, namely, Quote:
|
Can you post result of commands
Code:
exportfs -vAnd Code:
mount |
Server:
Quote:
Quote:
|
What is the output of ls -al /mnt ?
|
I mean mounts on client after mounting nfs:
Code:
sudo mount 192.168.2.105:/home/share /mnt/nfs |
@tredegar
Quote:
@eSelix Sorry: Quote:
|
You have
Code:
/home/share 192.168.0.0/16(ro,wdelay,root_squash,no_subtree_check,anonuid=65534,anongid=65534)If yes, you get read only filesystem, I think the second entry <world> is not getted then into account. |
Holy!
I didn't realize that! Yes my client is in the 192.168.0.0/16 subnet. How would I go about solving this? As you can see from the original post, its set to rw. |
Just set your /etc/exports like that:
Code:
/home/share 192.168.0.0/16(rw,sync)Code:
chmod 777 /home/share |
Nope, still no go.
Changed the folder privileges to 777, mounted, unmounted and tried again and still won't write to the share. Checking from the client, ls -al gives me: Quote:
Quote:
|
Can you check "exportfs -v" on the server that there are really "rw" access?
|
Hmm, you're right.
Check this out (all on the server): Quote:
I know that this shouldn't come into play, but just in case, the server is a virtual machine. That has nothing to do with it, right? |
You have space between IP and parenthesis
Code:
/home/share 192.168.0.0/16 (rw,sync)Code:
/home/share 192.168.0.0/16(rw,sync) |
Yay!
Many many thank yous! Shukran! Mucho Gracias! It works like a charm now :) I'm surprised that that space was the cause of all of this! Now to mark this as solved. |
| All times are GMT -5. The time now is 06:09 AM. |