Solaris 9 comes with an NFS server. The first step is to edit the /etc/dfs/dfstab file. We just added this entry:
share -F nfs -o rw=srv-1 -d "share" /share |
Start the server:
# /etc/init.d/nfs.server start |
On the client side:
root@srv-1 u-1 # mount -t nfs srv-50:/share /share2 root@srv-1 u-1 # ls /share2 lost+found tmp root@srv-1 u-1 # cp xfig.3.2.5-alpha3.full.tar.gz /share2/ root@srv-1 u-1 # ls /share2 lost+found tmp xfig.3.2.5-alpha3.full.tar.gz root@srv-1 u-1 # |
If you wish, add the following line to fstab on the client:
srv-50:/share /share2 nfs defaults 0 0 |
Agatha is using this server to back up her workstation:
/usr/bin/rsync -rlptvz --delete --exclude "/share/" --exclude "/mnt" --exclude "/share2/" --exclude "/proc/" --exclude "/dev/" / /share2/srv-1/ |
For more info on this, see this article.