Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount MFS #618

Open
hacdias opened this issue Mar 17, 2018 · 13 comments
Open

Mount MFS #618

hacdias opened this issue Mar 17, 2018 · 13 comments
Labels
area/linux Linux area/macos MacOS area/windows Windows help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P3 Low: Not priority right now

Comments

@hacdias
Copy link
Member

hacdias commented Mar 17, 2018

Should IPFS Desktop allow the user to mount MFS to the file system or should this feature be incorporated into js-ipfs and go-ipfs?

@alanshaw has taken a step ahead and created a module to let us mount MFS.

I noticed there was another issue referencing something like this from 2015 (#154). I'll close that one and copy its content here to keep our discussion.

@almereyda (jon r) on Dec 23, 2015

As ipfs/go-ipfs:docs/fuse.md@master mentions, we can use the daemons --mount option to hook IPFS into the filesystem. As a station user, I want to be able to use the FUSE options as exposed via the config at http://127.0.0.1:5001/ipfs/QmR9MzChjp1MdFWik7NjEjqKQMzVmBkdK3dz14A6B5Cupm/#/config

Which scenario like this is supported by it? Maybe a checkbox below the "Start Node" button, which is only shown with manually stopping the deamon, may do?

/cc @ipfs-shipyard/ipfs-gui-team

@lidel
Copy link
Member

lidel commented Mar 17, 2018

Not sure about low level implementation, but IPFS Desktop is a natural fit for UI responsible for enabling/disabling this.

It is worth highlighting that @alanshaw started work towards that goal:

@hacdias
Copy link
Member Author

hacdias commented Mar 18, 2018

@lidel yeah, I was thinking about using that package to enable/disable the mounting.

@hacdias hacdias changed the title Allow MFS to be mounted to the File System Mount MFS Mar 20, 2018
@lidel
Copy link
Member

lidel commented Jul 28, 2018

@hacdias
Copy link
Member Author

hacdias commented Jul 29, 2018

Uhhh, that's cool. I'll try and see if it works on Windows with Dokany

@hacdias hacdias added the revamp label Oct 15, 2018
@hacdias hacdias changed the title Mount MFS [Revamp] Mount MFS Oct 15, 2018
This was referenced Oct 16, 2018
@hacdias hacdias added this to the v1.0 milestone Oct 18, 2018
@hacdias hacdias removed the revamp label Oct 18, 2018
@hacdias hacdias changed the title [Revamp] Mount MFS Mount MFS Oct 18, 2018
@lidel
Copy link
Member

lidel commented Oct 18, 2018

Hey, @djdv IIRC last time we talked about this you mentioned mounting MFS will be a part of go-ipfs, is that still the case?
Do you have any ideas on how we could integrate it with ipfs-desktop?
Would it be a plugin, config key, cli parameter or something else?

@djdv
Copy link

djdv commented Oct 19, 2018

@lidel

mounting MFS will be a part of go-ipfs

At this time, yes!

Do you have any ideas on how we could integrate it with ipfs-desktop?

Since we're just exposing it as a writable filesystem, you should be able to interact with it in a standard way.
I haven't nailed everything down yet, but in theory you should be able to parse the config to find the mountpoint, and add some wrapping around it.

You can see the status of the mount implimentation here:
ipfs/kubo#5003
https://www.youtube.com/playlist?list=PLrZxGPqQuwHC_cZF2assuM0Vl3D5s5OSN

@hacdias
Copy link
Member Author

hacdias commented Oct 20, 2018

@djdv just read the whole issue and I have to say that what I read is just amazing and the progress you've made is incredible. I can't wait to be able to easily mount MFS on Windows.

Just as a side note: I was wondering if it would be possible to have an IPFS implementation independent mount that would work with any IPFS implementation - via HTTP API or connecting directly maybe. The drawback I see here is that the connection might be a bit slower. Not sure. Needs thought.

@hacdias hacdias removed this from the v1.0 milestone Nov 3, 2018
@hacdias hacdias added kind/enhancement A net-new feature or improvement to an existing feature P1 High: Likely tackled by core team if no one steps up 🏞 Integrations and removed kind/enhancement A net-new feature or improvement to an existing feature 🏞 Integrations labels Jul 24, 2019
@hacdias
Copy link
Member Author

hacdias commented Aug 7, 2019

@djdv what's the state of MFS mount?

@djdv
Copy link

djdv commented Aug 7, 2019

@hacdias
Current status is being tracked here:
ipfs-inactive/package-managers#74

At the moment I'm making an effort to develop versions of the concepts demoed before, in a way that can be merged into go-ipfs gradually. I'd like to have some kind of read support under an experimental flag ASAP.

I wrote a big summary here but the tl;dr is that above ^

@bam80
Copy link

bam80 commented Mar 28, 2021

Current status is being tracked here:
ipfs-inactive/package-managers#74

That repo has been archived:

I apologize to the community, to which I made promises I could not keep.

So what's next? Were these efforts continued, and where to track the status now?

@pirate
Copy link

pirate commented Mar 29, 2021

I know it's just a drop in the bucket, but I'd be willing to chip in $150 into any kind of gittip/bounty/donation system towards this feature. A mutable FUSE mount for IPFS one of the biggest things I'm waiting for that would allow us to easily integrate IPFS everywhere in our internet archiving stack over at ArchiveBox.io.

@lidel lidel removed the P1 High: Likely tackled by core team if no one steps up label Mar 30, 2021
@lidel lidel added P3 Low: Not priority right now help wanted Seeking public contribution on this issue area/linux Linux area/macos MacOS area/windows Windows labels Mar 30, 2021
@lidel
Copy link
Member

lidel commented Mar 30, 2021

IIUC FUSE turned out to be pretty problematic part of go-ipfs, each platform/filesystem (linux, windows, macos) having own issues, making the entire thing too brittle for production use, and fixing myriad of fuse problems was stealing dev time and burning our devs in the process. It is unlikely to be fixed any time soon upstream.

That being said, if someone is brave enough to tackle this across all three platforms, PRs welcome.
MFS mounting for desktop use does not need to be super performant nor a part of go-ipfs: ipfs-desktop is an electron app, so if someone can make it work in JS (perhaps by reusing prior art from Alan's demo), I'd be happy to help with review.

Personally, I'd like to see someone experiment with exposing MFS over WebDAV instead, which is HTTP-based and seems to be supported on Linux, macOS and Windows out of the box (in form of "mounting external drives").

@pirate
Copy link

pirate commented Mar 30, 2021

I have no particular love for FUSE either, NFS/SMB/WebDAV, any mountable mutable filesystem works for me. As long as it's mountable as a Docker volume or within docker somehow at the end of the day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/linux Linux area/macos MacOS area/windows Windows help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P3 Low: Not priority right now
Projects
No open projects
Status: Needs Grooming
Development

No branches or pull requests

5 participants