You are not logged in.

#1 2015-05-03 13:47:52

gecici90
Member
Registered: 2007-10-19
Posts: 17

NFS unable to write

I looked through available threads and couldn't find anything that helped, I have 2 desktop machines running arch.I followed the steps on wiki, then i access the files on server without any problem, but when i tried to write/change/create any file/folder on server, it says read only file system.Here is the conf for server

Server

/etc/exports :
/exports 192.168.1.0/24 (rw,sync,fsid=0)
/exports/share 192.168.1.0/24 (rw,sync,fsid=0)

ls -l /exports

drwxrwxr-x 12 jack  nas   280 May  3 16:08 ./
drwxrwxr-x 12 jack  nas   280 May  3 16:08 share

ls -l /exports/share

drwxrwxr-x 12 jack  nas   280 May  3 16:08 ./
-rwxrwxr-x 12 jack  nas   280 May  3 16:08 testfile

Either jack id's or  nas group id's   are the same on both side

When i try to change the others permissions as they dont see the share directory like that

chmod 774 share

ls -l /exports

drwxrwxr-x 12 jack  nas   280 May  3 16:08 ./
drwxrwxr-- 12 jack  nas   280 May  3 16:08 share

it works that other users dont see the share directory

Offline

#2 2015-05-03 19:06:41

gecici90
Member
Registered: 2007-10-19
Posts: 17

Re: NFS unable to write

I figured it out with whole white space wink shame on me

this is the correct export file which i've fixed

/etc/exports :
/exports 192.168.1.0/24(rw,sync,fsid=0)
/exports/share 192.168.1.0/24(rw,sync,fsid=0)

As you can see second string of the each line (after the ip's) must be without space

Thanks for your concern

Please mark as SOLVED

Last edited by gecici90 (2015-05-03 20:18:29)

Offline

Board footer

Powered by FluxBB