Giter Site home page Giter Site logo

Comments (5)

hanwen avatar hanwen commented on August 25, 2024

what happens if you do:

ls 192.168.1.7:/home

?

from go-fuse.

imnaveed avatar imnaveed commented on August 25, 2024

$ ls 192.168.1.102:/home
ls: cannot access 192.168.1.102:/home: No such file or directory

from go-fuse.

imnaveed avatar imnaveed commented on August 25, 2024

I've exported NFS directories from Server following article below:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04

I can mount in a standard way; like on client machine I can mount it like this:
sudo mount 192.168.1.102:/home /mnt/nfs/home
and I can do listing and all other stuff... More-over I can run go-fuse loopback on already mounted directory like:

bfs := pathfs.NewLoopbackFileSystem("/mnt/nfs/home")
and it also does work well.

But I can't mount remote NFS directory directly; I'm trying to do it like:
bfs := pathfs.NewLoopbackFileSystem("192.168.1.102:/home") - which of course is not a good way to do it.

So what can be I missing above; or is it possible to mount it directly using go-fuse; or I first have to mount in explicitly and then loopback over already mounted directory though this doesn't makes sense to me; please guide...

  • Thanks

from go-fuse.

hanwen avatar hanwen commented on August 25, 2024

you have to mount explicitly first, or write your own NFS client in Go (which is a lot of work).

from go-fuse.

imnaveed avatar imnaveed commented on August 25, 2024

alright,

Thanks for your help!

from go-fuse.

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.