I have 2 computers at home, both runing Ubuntu (6.10 & Herd 4). I have a 400Gb HDD mounted on the stationary computer with all my media. I also have a laptop (Aspire 1300) with a 20Gb harddrive.
What I have done is that I have mounted the 400Gb harddrive in the root of the Laptop.
This guide will show how to mount a folder/HDD on a computer in your homenetwork.
Start with the following on the computer that has the folder/HDD you want to share.
sudo apt-get install nfs-commons nfs-kernel-server
sudo gedit /etc/exports
you will see something like this
/400Gb is the path to the folder/HDD I want to share. 192.168.1.64 is the ip-number of the computer on my network that will have the /400Gb folder mounted (My laptop).
If you want to allow the client computer to be root in the mounted folder you write rw,no_root_squash,async instead of rw,async
Save and exit gedit.
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-common restart
sudo /etc/init.d/nfs-kernel-server restart
Now we are done with the server computer. Now we configure the client computer (my laptop)
Start with creating a directory for the mounted folder/HDD and name it to what ever you want. In my realworld example I did
sudo mkdir /400Gb/
After that, we do
sudo gedit /etc/fstab
Add the following to the document.
192.168.1.65:/400Gb /400Gb nfs _netdev,auto,user 0 0
192.168.1.65 is the IP-number for my stationary computer. :/400Gb is the folder/HDD on my stationary computer that I want to mount. The last /400Gb is the folder on the client computer where the mounted folder/HDD will be located.
Save and exit gedit. Reboot your system and everything should work.
To find out your internal IP number just do
Hopefully it works out just as easy as it did for me.