Problem mounting directory between servers
Hi All,
I am having problem mounting a directory between two servers. I have two servers both running rhel4 on the same subnet 192.168.1.10 and 192.168.1.2 and I am trying (and failing) to mount a directory from one to another. I have tried the following: >mount 192.168.1.10/var/www/html /root/www/ mount: special device 192.168.1.10/var/www/html does not exist >mount 192.168.1.10:/var/www/html /root/www/ ount: mount to NFS server '192.168.1.10' failed: RPC Error: Program not registered. >mount //192.168.1.10/var/www/html /root/www/ Password: <correct password inserted> mount error 13 = Permission denied >mount -o root //192.168.1.10/var/www/html /root/www/ Password: <correct password inserted> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) >mount //192.168.1.10:/var/www/html /root/www/ mount: can't get address for //192.168.1.10 I have set full access on both directories. I can ping each machine from the other. I know I have missed something. Can anyone let me know what it is? Thanks T |
Hi,
You will need to setup your systems for a 'NFS' Network Filesystem. Look at 'Linux NFS' and 'Linux Networking HOWTO' to get some good online reference. You should setup the following; Code:
/etc/hosts /etc/hosts.deny Code:
excerpt from 'man hosts' Code:
excerpt from 'man nfs'; Code:
excerpt from 'man exports'; Code:
excerpt from 'man exportfs'; Good luck! |
Thanks for the info.
I will go through it and let everyone know how i get on. Cheers! |
Hi,
Don't forget to make sure you have the daemons started and running . You will need the 'rpc' (RPC 'NFS' daemons). |
All times are GMT -5. The time now is 01:38 PM. |