NFS Help!

Soldato
Joined
8 Oct 2003
Posts
2,884
Location
Glasgow
Hi guy's,

Need a little help moving to NFS shares from Samba, I am basically trying to share /home/kevin/Podcasts

Both hosts.deny & .allow are empty.

Code:
[SERVER]

>sudo nano /etc/exports

/home/kevin/Podcasts 192.168.1.1/24(rw,sync,no_subtree_check)

?sudo /etc/init.d/nfs-kernel-server restart 
 * Stopping NFS kernel daemon                                            [ OK ] 
 * Unexporting directories for NFS kernel daemon...                      [ OK ] 
 * Exporting directories for NFS kernel daemon...                               exportfs: scandir /etc/exports.d: No such file or directory

                                                                         [ OK ]
 * Starting NFS kernel daemon                                            [ OK ] 

[CLIENT]

sudo mount 192.168.1.2:/Podcasts /Podcasts

mount.nfs: access denied by server while mounting 192.168.1.2:/Podcasts

showmount -e 192.168.1.2
Export list for 192.168.1.2:
/home/kevin/Podcasts 192.168.1.1/24

Sorry for block of text ^^any ideas?

Thanks Kevin :)
 
Server syslog states

"Nov 21 20:13:20 ubuntu rpc.mountd[5172]: refused mount request from 192.168.1.6 for /Podcasts (/): no export entry"

?
 
Didn't work :(

The server's ip is set to 192.168.1.2, the client is currently dchp and at 6 so I tried 192.168.1.6 on the servers export file too.
 
Client

ls
Desktop Documents Downloads Music Pictures Podcasts Public Templates Videos
kevin@kevin-Aspire-R3600:~$ sudo mount 192.168.1.2:/Podcasts /Podcasts
mount.nfs: mount point /Podcasts does not exist
 
"Podcasts" exists in the home directory on both machines, do I need to create it else where on the client?
 
Yay! :D

Thanks tntcoder, I assumed that "192.168.1.2:/Podcasts" would have been the share as seen by the client, not "192.168.1.2:/home/kevin/Podcasts"
 
Back
Top Bottom