NFS shares not working
Hi
I have several Ubuntu 6.10 machines on a small network. I thought It would be really good if I could share my data on one machine and access it from the others. I read about NFS as a means to do this so installed NFS_server on one remote machine, I changed the /etc/fstab file on my local machine to be: remote_hostname:/media/music_safe/ /media/music_safe rw,hard,intr 0 0 on my local machine I run :- mount remote_hostname and I get mount: can't find remote_hostname in /etc/fstab or /etc/mtab What am I doing wrong? |
1. clients and server qlso need nfs-common, it speeds things up ;-)
2. your problem looks like you do not have "users" in the options in fstab, so "users" cannot mount the nfs fs ... 3. try the following: sudo mount -t nfs 192.168.1.7:/some/path /some/path/that/must/exist please replace the ip with the ip of your server ... same goes for the paths ... |
Yes this seems to work for using the mount cmd, how do I add this to my fstab file?
|
Does anyone know the format I have to put in my fstab file? The man page is not clear! or maybe I am just stupid!
Adrian |
Windsurfer
I belive your fstab is not properly set You have stated the remote machine name and the device to be mounted , you have also stated the mount point but , you need to add the type of filesystem you are using , for example ext3 or any other you are using , please see below remote_hostname:/media/music_safe/ /media/music_safe ext3 rw,hard,intr 0 0 Hope this helps Pedro |
Well, the file system is definitely not ext3 as you access it over the network. The file system is nfs. This is a line from my own fstab:
Code:
homeserv.megaline.com:/home /mnt/homeserv/home nfs defaults 0 0 jlinkels |
nfs and fstab
Thanks for the tips, all works ok now.
Adrian |
All times are GMT -5. The time now is 03:42 PM. |