This is a Remote Tea based java implementation of an NFS/MOUNT server with an Oracle backend.
This means that you can create mount points inside an Oracle database and mount it from any NFS compatible client (on any OS that has an NFS client). It is possible to mount the same mount point at the same time from more than one node. You can create soft and hard links, files, directories ... use it as a normal NFS v2 server.
Features
Store files inside Oracle database easly
Enables you to use Oracle Text for full text searches, or Oracle Multimedia
HA deployment with RAC
NFS v2 compatible
User feedback will drive development, submit your requests:
http://sourceforge.net/tracker/?group_id=239139
Source/Doc or Binary package (initial release):
http://sourceforge.net/project/showfiles.php?group_id=239139
or CVS (updated frequently):
http://sourceforge.net/cvs/?group_id=239139
check createuser.sql for your env and lunch it:
sqlplus / as sysdba @sql/createuser.sql
Run the schema creation script:
sqlplus oranfs/oranfs@<connstr> @sql/schema.sql
Configure the database connection: open the entity-config/db.xml
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://eforceconfig.sourceforge.net/XML/entity-config" name="db">
<parameters>
<parameter name="user" value="oranfs" />
<parameter name="password" value="oranfs" />
<parameter name="port" value="1521" />
<parameter name="host" value="localhost" />
<parameter name="sid" value="xe" />
<parameter name="implicit-caching" value="true" />
<parameter name="explicit-caching" value="true" />
<parameter name="connection-properties" type="table">
<value name="defaultRowPrefetch" value="10" />
</parameter>
</parameters>
</entity>
Run the server: sh runnfs.sh
Check portmapper registration:
# rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 52392 mountd
100005 1 tcp 57854 mountd
100003 2 udp 33309 nfs
100003 2 tcp 40104 nfs
Create a mountpoint:
sqlplus oranfs/oranfs@<connstr>
SQL> exec path_util.create_mountpoint('mymnt');
Mount it:
# mount -t nfs -onfsvers=2 <nfs server host>:/mymnt <a directory>
If you get any other problem please submit a support request:
http://sourceforge.net/tracker/?group_id=239139
oranfs is developed by Andrea A.A. Gariboldi
Oracle Database 10g Administrator Certified Professional
Oracle Application Server 10g Administrator Certified Professional