Tiny Core Extensions > TCE Tips & Tricks

NFS Client

<< < (2/3) > >>

ananix:
Not being sure on how you run it off your ubuntu server, maybe you need to define it in hosts.allow, i do.

But you also say in between the lines that you did not need to do that with the other machine. Its only for inet or tcp wrapped services.

gerald_clark:
Your exports file is incorrect.
    192.168.1.247/24 and 192.168.1.247/24
are neither machine addresses nor network addresses.

Rich:
Hi arcturus
If these are your exports:

--- Quote ---/export         192.168.1.247/24(rw,fsid=0,insecure,no_subtree_check,async)
/export/media   192.168.1.247/24(rw,nohide,insecure,no_subtree_check,async)
--- End quote ---
Shouldn't your mount command look more like:

--- Code: ---sudo mount -t nfs 192.168.1.193:/export/media /mnt/nfs
--- End code ---
instead of:

--- Quote ---sudo mount -t nfs 192.168.1.193:/media /mnt/nfs
--- End quote ---


--- Quote ---192.168.1.247/24
--- End quote ---
I'm not sure what that does, it might resolve to sub addresses 247-255.
I think this is legal:

--- Code: ---192.168.1.0/24
--- End code ---

arcturus:
Thanks! I'm in a hurry now. Will reply later. You have given me several relevant ideas that I'll have to try...

arcturus:
Thank you all! I finally got it working tonight. I had made several mistakes:

1.) The nfs-client had to be started with "sudo". It reports OK without sudo but it won't start... "./nfs-client status" said "nfs-client not running".
2.) My /etc/exports was indeed incorrect. I had tried a lot of different things here and left an invalid IP.
3.) I edited "hosts.allow" on my server to allow connections by "portmap" and "rpc.mountd" from any
     machine on my network (don't know if this was really needed though).
4.) Kind of forgot the non-persistent nature of tc/mc - my mountpoint /mnt/nfs had vanished since i created it...  :-[

The strangest thing in all this is how my kubuntu destop machine would just mount my share without any errors...

Again many thanks! Yep! I'm a bit of a newbie but with your help I solved this. Now my network music player box is
one step closer to reality  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version