NFS2 first implementation

Project:JNode Core
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi

I've attached the first read only implementation of the nfs2.It is not optimized , no cache and it is very slow with big directory .So be patient when you make a dir command in directory . It is not a state of the art implementation it is only a starting point for final implementation. I will continue to improving the code and the performance .

It works only with insecure mount point
Example
in /etc/export
/home/andrei/temp (rw,insecure,sync)

I've added a nfsmount command to mount nfs directory
Example:

nfsmount /nfs 192.168.2.100 /home/andrei/temp
It will mount in folder /nfs the /home/andrei/temp from server 192.168.2.100

In this moment works only on UDP. I will add the tcp later after everything in utp works well

I've also added a new command in net project . It is rpcinfo . This command it is similar with rpcinfo command from Linux ( in this moment has one syntax only )

I've also want to create a page where write more details about nfs in jnode ( status , to do , performance , test scenario )

It is one problem with current implementation . It doesn't work the autocomplete ( a socket permission error ) and i don't understand why.

AttachmentSize
issues_7273.41 KB

#1

Status:active» closed

I've forgot to add the rpc library . This must be put in lib from net project.

#2

The code looked OK for a beginning and I tested it with success.
So I commited it. Keep up the good work!

Regards, Levente

#3