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

Feature Request: NFS storage backend #7123

Open
lewisxy opened this issue Jul 8, 2023 · 3 comments
Open

Feature Request: NFS storage backend #7123

lewisxy opened this issue Jul 8, 2023 · 3 comments

Comments

@lewisxy
Copy link
Contributor

lewisxy commented Jul 8, 2023

What problem are you are trying to solve?

NFS support on Unix are tightly coupled with the OS, making them not so portable. NFS support on Windows is still poor and out of the reach of ordinary users at the time of writing.

Rclone shines due to the wide variety of backends supported and its portability to run on virtually any system. Should NFS backend implemented in rclone, user could read/write files to/from NFS servers without worrying about the cumbersome process of mounting stuff to OS. It would also make NFS more accessible to Windows users.

How do you think rclone should be changed to solve that?

Add a new storage system backend to make rclone act as a NFS client, similar to SMB backend.

Other information

The most well-suited library for this task is libnfs, which is written in C unfortunately.

There are a few pure Go implementation of NFS (see below), but it seems like none of them can be used as is.
https://github.com/Cyberax/go-nfs-client
https://github.com/sile16/go-nfs-client
https://pkg.go.dev/github.com/CS-SI/SafeScale/system/nfs
https://pkg.go.dev/github.com/control-center/serviced/dfs/nfs

P.S. This feature seems to be requested before #6316 , but it's a year ago.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
@darthShadow
Copy link
Member

I have added the appropriate labels but the probably of this ever getting implemented is quite low unless someone steps forward to do it. There are already ~65 existing requests for new backends with some going back 7-8 years.

@ncw
Copy link
Member

ncw commented Jul 10, 2023

I like the idea of this remote. I don't want to use CGO though.

If you'd like to bump it up the priority list then if you are working on behalf of a company you might be interested in taking out a support contract which can help you get stuff done quicker and keeps the rclone project sustainable.

@DocMAX
Copy link

DocMAX commented Nov 2, 2023

Also wondering why rclone doesn't support NFS. NFS one of the most prominent protocols in the Unix world.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants