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

Document specifics of NAS gateway #6009

Closed
straight-shoota opened this issue Jun 3, 2018 · 9 comments
Closed

Document specifics of NAS gateway #6009

straight-shoota opened this issue Jun 3, 2018 · 9 comments

Comments

@straight-shoota
Copy link

From the available documentation it is not clear what is the difference between minio server /path and minio gateway Nas /path.

I would appreciate if someone could explain this and enhance the docs accordingly.

@harshavardhana
Copy link
Member

@straight-shoota
Copy link
Author

straight-shoota commented Jun 3, 2018

Thanks, but I am aware of these documentation sites. However, I can't find any information there (or in any issues here on Github) how exactly minio server and minio gateway nas differ. It is my understanding that they behave pretty similar, but not exactly the same. #5569 suggests that for example, but doesn't state specifics.

@harshavardhana
Copy link
Member

Thanks, but I am aware of these documentation sites. However, I can't find any information there (or in any issues here on Github) how exactly minio server and minio gateway nas differ. It is my understanding that they behave pretty similar, but not exactly the same. #5569 suggests that for example, but doesn't state specifics.

minio server /path 

and

minio gateway nas /path

Currently, they share the same code base so also behave the same. But NAS gateway if necessary would diverge eventually from minio server /path. The reason we are not explaining is also that there is no difference from an application point of view. Both speak S3 APIs and both behave the same for S3 API operations.

@deekoder
Copy link
Contributor

deekoder commented Jun 4, 2018

@straight-shoota if you want high-level details, architecture etc, you could also go here https://minio.io/nas.html @straight-shoota when you run minio in the server mode, minio is your object storage, which is a full blown server and speaks S3 protocol.

When you use minio in the gateway mode, you can speak S3 and park your objects on any nas backend. You can also use regular POSIX to access your data apart from S3. It depends on your usecase which path you want to take. Let us know if we can help in any other way.

@deekoder deekoder added this to the Next Release milestone Jun 4, 2018
@straight-shoota
Copy link
Author

Thanks for clarifying that 👍

If I understand you both correctly, server and gateway nas are similar and only differ in the semantics of data ownership: server expects that the data path is governed by minio exclusively while gateway nas is aware that the data is on a remote storage and may be accessed and changed by different means. However, this semantic difference doesn't matter practically, because both commands are doing exactly the same thing (but might change in the future?).

For my specific use case I'm considering to make selected buckets (or the entire data path of a tenant) available via FTP as legacy support (allowing read and write access).

@deekoder
Copy link
Contributor

deekoder commented Jun 5, 2018

@straight-shoota correct. Great. I will close this issue as working as intended. Please feel free to come over to our slack channel https://slack.minio.io/ and come chat with us there. We hang there a lot and can answer questions instantly.

@zhangyoufu
Copy link

zhangyoufu commented Dec 11, 2018

minio gateway nas requires MINIO_ACCESS_KEY & MINIO_SECRET_KEY being specified via environment variable. And minio gateway nas does not support multiple user.

@harshavardhana
Copy link
Member

Minio gateway nas supports multi user with etcd configured.

@lock
Copy link

lock bot commented Apr 19, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants