Giter Site home page Giter Site logo

Comments (4)

sahlberg avatar sahlberg commented on July 24, 2024

This command works for me:
PYTHONPATH=libnfs-python/build/lib.linux-x86_64-2.7 python
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import libnfs
nfs = libnfs.NFS('nfs://127.0.0.1/data/tmp')
a = nfs.open('/foo-test', mode='w+')

Looks like you are getting EIO from the server. That could be a configuration issue for your NFS server.
I assume you have set up to export /data/tmp in your /etc/exports file and you have started the nfs server ?

Try to collect a wireshark trace of the traffic. It might tell why you can not access the share.

from libnfs-python.

Abondened avatar Abondened commented on July 24, 2024

Still I'm getting same error.

from libnfs-python.

sahlberg avatar sahlberg commented on July 24, 2024

Ok, you need to provide some data then.

1, Run this command and make sure it works :
nfs-ls nfs://127.0.0.1/data/tmp

That should successfully list the content of the directory.

2,
Collect a network trace on loopback, for example using wireshark, and I can
take a look at it to see what is happening.
Collect the network trace while you are issuing the python commands.

On Wed, Jan 13, 2016 at 10:15 PM, Abondened [email protected]
wrote:

Still I'm getting same error.


Reply to this email directly or view it on GitHub
#8 (comment)
.

from libnfs-python.

sahlberg avatar sahlberg commented on July 24, 2024

No further data to debug with.

from libnfs-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.