nfs mount
Greetings,
How do I nfs mount a filesystems exported from FC2. This worked fine in RH 9. Now I get permission denied. It fails whether is solaris or FC2 trying to mount filesystem. root@workhourse# mount 192.168.1.65:/work /mnt nfs mount: 192.168.1.65:/work: Permission denied I have the following filesystem exported: [root@claycourt-65 root]# exportfs exportfs: No host name given with /work (ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping= identity,anonuid=-2,anongid=-2), suggest *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping =identity,anonuid=-2,anongid=-2) to avoid warning exportfs: No host name given with /usr (ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping= identity,anonuid=-2,anongid=-2), suggest *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping =identity,anonuid=-2,anongid=-2) to avoid warning /work <world> /usr <world> |
As the error message says, you need to add a host to the exports. The host specifies which hosts are allowed to mount that export.
Edit the file /etc/exports and add a * to the beginning of each of the exports. That will allow all hosts to connect. If you want to limit to certain hosts, specify them individually with a <space> between each hostname or IP. /tftpboot *(rw,no_root_squash) /usr/local/src server1 server2 10.1.1.5(rw,no_root_squash) |
@darfie
Show the output of #cat /etc/export #cat /etc/hosts.allow #cat /etc/hosts.deny So, that i can try to solve u r query. -Akshat |
All times are GMT -5. The time now is 07:11 AM. |