Re: Can't solve problem with NFS-server access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/2010 01:11 PM, Alan Holt wrote:
> Hello all,
>
> I need your help.
> I have installed NFS-server on my Fedora 14.
>
> Server is 192.168.1.101
> Client is 192.168.1.100
>
> I have stoped my iptables like this:
> # su -c 'service iptables stop'
>
> in /etc/exports
> /home/user/temp 192.168.100/255.255.255.0(ro)

Change the IP specified to 192.168.1.0/255.255.255.0.  You've specified
a completely wrong network for the hosts you list.

> I'm not sure, that I have to write in /etc/hosts.allow and /etc/hosts.deny
>> From the client side I do:
> # sudo mount.nfs 192.168.1.101:/home/booch/Temp /home/booch/data/
>
> And I have got thos error:
> mount.nfs: access denied by server while mounting 192.168.1.101:
> /home/booch/Temp

You're also specifying an export that doesn't exist on the server.
The mount command should be:

	mount 192.168.1.101:/home/user/temp /local/mount/point -o ro

The stuff after the ":" must match the server's export.  Also remember
that mounts default to read/write while you specified read only in the
exports file.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-  Time: Nature's way of keeping everything from happening at once.  -
----------------------------------------------------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux