You are not logged in.
Pages: 1
Hi all!
I want to share a directory in my home network over nfs.
The nfs server ist running, on the client 'showmount -e 10.0.0.2' shows me the correct directory
'/media/files 10.0.10.*'
But when I try to mount it, the mount command hangs for ever
'mount -t nfs4 10.0.0.2:/media/files /media/files'
...nothing happens then...no error messages, no mounts...
I tried it from 2 different clients, one an Arch system, the other with Ubuntu...it's the same on both machines.
my /etc/exports:
/media/daten/ 10.0.10.*(rw,sync,no_subtree_check)
Has anyone an idea what I did wrong?
Thanks a lot for your help...
Offline
since it happens in Arch and Ubuntu, are you sure your server is set up correctly with the exports? Are you using the correct IP addresses ?
Check this page and make sure you have set it up correctly. https://wiki.archlinux.org/index.php/Nfs
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I checked it now one more time.
The client IP is 10.0.10.116
In /etc/exports, I have 10.0.10.*
Offline
I am not sure that using a wildcard like that is okay here. I think you need to use something like 10.0.10.1/24, as I have never actually seen a wildcard used like that before, and I am not sure where you got the idea that this was the way to do it.
EDIT:
IP networks
You can also export directories to all hosts on an IP (sub-) network simultaneously. This is done by specifying an IP address and netmask pair as address/netmask where the netmask can be specified in dotted-decimal format, or as a contiguous mask length. For example, either `/255.255.252.0' or `/22' appended to the network base IPv4 address results in identical subnetworks with 10 bits of host. IPv6 addresses must use a contiguous mask length and must not be inside square brackets to avoid confusion with character-class wildcards. Wildcard characters generally do not work on IP addresses, though they may work by accident when reverse DNS lookups fail.
Last edited by WonderWoofy (2013-04-02 18:47:17)
Offline
Ahh, thank's...i changed that and it's working now if im in the same subnet...if client ip is 10.0.0.6
But it's not working if ip is 10.0.10.116
Is it possible to have nfs access from 10.0.10.xx to 10.0.0.xx?
Offline
You can certainly specify more than one, see the man page... it is full of information that will help you here.
Offline
Pages: 1