-
Notifications
You must be signed in to change notification settings - Fork 10
[SOLVED]nfs server on rtd1295 #22
Comments
update:
It's like nfs isn't start correctly, in fact from "netstat -a" I can see a process running only on port tcp 32778 |
Can you check is PS: I recommend you to install my new firmware |
yes I have just your last firmware |
portmap isn't install by default, I tried to install it but without any results, I re-try to install it. Could you suggest me if I need to configure something manually after installing portmap? |
Oh, which version are you using? We don't need portmap in new firmware. I thought you are using old firmware, because this issue is in my old project. |
portmap was replaced by rpcbind in new firmware |
|
Ah ok, but the problem remain:
|
Wich command do you use to connect to Z9S on linux client? |
I never test NFS in linux client, but Mac OS client works fine. I checked these commands on my Z9S:
|
following the guide on official openwrt site I obtain error when I start nfs daemon, could this help you to check what my problem is?
|
From client linux:
|
I didnt' mean you have to help me. What you have done it's yet amazing. Sorry for my little english anyway... :) |
In meantime I also tried to mount different path: /tmp with same result |
can you run |
|
could be a firewall issue? |
In Z9S:
It has a module named nfsd. run |
so it's a damned missing module |
what can I do? or maybe is there nothing I can do :) :) ? |
try |
|
Is |
|
|
Is your device Z10? What android version it running? |
no mine is x10 rtd1295 android 6 |
oh, maybe x10 doesn't have nfsd. try to run |
nfsd there's |
That it should support nfsd. |
ok I did modify you recommended, do I have reboot first to remount on linux? |
don't need reboot. just umount and mount |
same problem, it seems that unfs3 just ignores export file and it's configuration
|
maybe I can try to create on linux a group 1023 media_rw and add to it root user, it should be safe? |
can you check if |
|
maybe we have to create user 1000 on openwrt? |
I really don't understand, I'll post you a correct configuration of another nfs share on another server... |
I don't think it will work. I saw you image, you have wrong usage with umount. umount just take directory as parameter, so just run |
after mount, run |
here is working configuration of nfs server from linux client
from latest server
|
o.t. transfer copy folder 42gb speed --> 79.6444MB/s |
When I restart openwrt and nfs is not mounted in client it's so:
|
I enabled unfs -s (single mode) now the two processes are under root both
But from client problem remains |
SOLVED! the credit is all yours and the great job you did with this build. You have made x9s / X10 totally versatile devices! I warmly invite you to propose your work to zidoo! And let me know how I can repay! thanks for all your support and effort jim |
should be notice that, single user mode will always use root to access files |
hi jim, no it's working default mode
|
did you change command in /etc/init.d/nfsd? It should be |
no i didn't, i I try a reboot to see if it still works |
After reboot it's still working Unmounted:
Mounted:
|
can write file on client side? |
yes, now I'm setting correct permission to 755 and see if is it works: it should be accept write only by opening the mount as superuser, sorry again for my bad english |
so it's working without single user mode? |
yes it's working flawlessy |
yes, before when I mounted on, with single user mode, the first process remained owned by root, now is uid 1000
|
maybe you can post NFS option and mount command here, let others know how to do that. |
yes for sure |
Before mounting Luci NFS export configuration:
Before mounting, server-side/openwrt has to show:
Before mounting, client-side has to show:
Mounting: After mounting, server-side/OpenWrt has to show:
Permissions: basing myself on a normal nfs share already working I set on openwrt WITH UNMOUNTED THE NFS SHARE ON CLIENT:
in this way you could mount normally NFS share but you couldn't write as if you aren't in superuser mode forgive poor English in advance all credits goes to @jjm2473 jim2473 |
as previously said privately, in my opinion you did a great job: but I can't get NFS server working, any help should be really appreciated:
Ip of my nfs server "X10 rtd1295" is 192.168.1.125
i set my export on Luci:
/mnt/sda1 192.168.1.28/24(rw,sync,root_squash,all_squash,insecure,no_subtree_check)
then I try to mount it from my linux host 192.168.1.28
As you suggested me, I put exportfs -a on cli on openwrt but I get nothing return
The text was updated successfully, but these errors were encountered: