Jump to content

Writable NFS


{BBI}Nexus{BBI}
 Share

Recommended Posts

Some assistance please. I've created a rw nfs export, but when I mount it locally I can't write to the directory. I've googled around and searched this forum to no avail. Can anyone tell me what is missing from this fstab entry to facilitate local writing?

 

/home/xxx/radio nfs rsize=8192,wsize=8192,nosuid,soft 0 0

 

Thanks.

Link to comment
Share on other sites

cat /etc/exports 
# /etc/exports: the access control list for filesystems which may be exported
#			   to NFS clients.  See exports(5).
/vm-machines/sources 131.203.126.145(rw,sync,no_root_squash)

 

cat /etc/fstab | grep sources
131.203.126.140:/vm-machines/sources /usr/portage/distfiles nfs defaults 0 2

 

works for me.

Link to comment
Share on other sites

Thanks for the reply paul, I have changed my /etc/exports & /etc/fstab to the same settings as yours but I still get a permission denied when trying to write to the mounted nfs. A couple of questions: Does it matter that the nfs drive is vfat? and when I ls -ls the mounted nfs, it has, owner: 500 and group: 500, I have no such user on my system.

Link to comment
Share on other sites

from the host

ls -lad /vm-machines/sources/
drwxrwsr-t  3 root virtual 16384 2007-08-19 12:47 /vm-machines/sources/

 

 

from the guest

ls -lad /usr/portage/distfiles/
drwxrwsr-t 3 root portage 16384 Aug 19 12:47 /usr/portage/distfiles/

 

vfat might not work with permissions .. not sure :huh:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...