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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...