Nfs
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
Sharing folders with NFS! | Sharing folders with NFS! | ||
+ | |||
+ | [[Nfs_root|Mounting an NFS share as the root filesystem]] | ||
<h2>Server</h2> | <h2>Server</h2> |
Revision as of 21:08, 8 December 2011
Sharing folders with NFS!
Mounting an NFS share as the root filesystem
Server
$ nano /etc/exports
and add the following line (with changes):
/home/attie 192.168.0.2(rw)
Note: multiple hosts can be specified with the 192.168.0.0/24 notation or with a space between hosts
and restart NFS:
$ /etc/init.d/nfs restart
Client
$ nano /etc/fstab
add the following line (again with changes):
server:/home/attie /home/attie/remotepc nfs noauto,user 0 0
and then mount the share:
$ mount /home/attie/remotepc