Use SimpleFSLockFactory.  The default, NativeFSLockFactory, doesn't
play well with NFS.

And a warning: lucene does work on NFS but you may run into problems
if your index has a lot of modifications and/or is accessed from
different servers.


--
Ian.



On Tue, May 18, 2010 at 6:56 AM, Saurabh Agarwal <srbh.g...@gmail.com> wrote:
> Hi,
>
> I am using Lucene 3.0.0 to index (with the demo application IndexFiles) a 6
> GB corpus which is on NFS, more over I am storing my index on NFS too. But
> when I run the program
> I get following exception
>
>
>
> caught a class org.apache.lucene.store.LockObtainFailedException
>  with message: Lock obtain timed out:
> NativeFSLock@/usr/home/saurabh/index/write.lock:
> java.io.IOException: Operation not supported
>
> Please Help out
>
>
> Regards
> Saurabh Agarwal
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to