Results 1 to 4 of 4
I have tried several different approaches posted on the internet with no luck. My network on both machines is DHCP. At this point the Server side has nfs-common, nfs-kernel-server, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-05-2008 #1
- Join Date
- Jan 2008
Need help with NFS in Ubuntu 7.10
My network on both machines is DHCP.
At this point the Server side has nfs-common, nfs-kernel-server, and portmap installed. Below are the contents of /etc/exports and /etc/fstab
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes gss/krb5i(rw,sync)
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=4bd7c18b-deb4-467c-9a3e-e3bce2c1e0a1 / ext3 defaults,errors=remount-ro 0 1
UUID=6e88e2c2-8a17-4ff1-afcb-a05c9d2bec8c /home ext3 defaults 0 2
UUID=524b7e71-fced-4d89-9ac5-1eb8713b0469 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
/dev/fd1 /media/floppy1 auto rw,user,noauto,exec 0 0
On on the client side I have nfs-common and portmap installed and the line below in /etc/fstab
192.168.1.0/24:/media/download/iso /media/nfs/download/iso nfs rw,sync 0 0
Also made sure directory was exported with exportfs -av What else do I need to do?
- 03-06-2008 #2
Have you try to mount it from client manually?
~:mount -t nfs 192.168.x.x:/media/download/iso /mount/point
If can't, any messages in /var/log/messages?
- 03-06-2008 #3
- Join Date
- Jan 2008
Tried your suggestion and
Set my network to static IP addresses and changed directory to /home/jgz/Music
This along with manual mount works. Still not able to auto mount.
The mount point /home/jgz/Music works but other mount points such as /home/jgz/Public and /home/jgz/download do not as shown below
jgz@zuidema-desktop:~$ sudo mount 192.168.1.2:/home/jgz/Music /home/jgz/Music
[sudo] password for jgz:
jgz@zuidema-desktop:~$ sudo mount -t nfs 192.168.1.2:/home/jgz/download /home/jgz/download
mount.nfs: 192.168.1.2:/home/jgz/download failed, reason given by server: Permission denied
jgz@zuidema-desktop:~$ sudo mount 192.168.1.2:/home/jgz/Public /home/jgz/Publicmount.nfs: 192.168.1.2:/home/jgz/Public failed, reason given by server: Permission denied
- 03-07-2008 #4
Rule of thumb! Only export your parent directory with the right permissions (/home/jgz/)