ubuntu to ubuntu file sharing

Alan McKay alan.mckay at gmail.com
Tue Dec 1 21:48:51 UTC 2009


You want NFS

man exports
man mount

/etc/exports (server)
/etc/fstab (client)

It is quite easy.

Server side :
[root at fileserver ~]# cat /etc/exports
/data/shared	(rw)

Client side :
[amckay at alan ~]$ cat /etc/fstab
[...]
fileserver:/data/shared /mnt/shared		nfs	rsize=32768,wsize=32768,timeo=14,intr

This assumes /mnt/shared exists on the client an has perms 0777

I'm not sure of the exact way to ensure this starts at boot up - I
have the above configured on CentOS and am new to Ubuntu.  But this is
all simple UNIX NFS stuff.

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"




More information about the ubuntu-users mailing list