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

Workaround to restore legacy fs mode #15633

Closed
funkypenguin opened this issue Aug 31, 2022 · 4 comments
Closed

Workaround to restore legacy fs mode #15633

funkypenguin opened this issue Aug 31, 2022 · 4 comments

Comments

@funkypenguin
Copy link
Contributor

This is not so much a bug as a workaround so that others like us can find a solution to restore the "old" fs behaviour..

It's clear that FS / legacy backend is deprecated and not coming back. HOWEVER, it was super-useful in a client's use-case (allowing users to rclone / batch-transfer large files to be consumed by hosted Plex / Jellyfin / Emby apps, which don't necessarily support S3 API). There's really no alternative to Minio in this case.

Note that the docs re pre-existing data indicate that in the case of:

Existing filesystem folders, files, and MinIO backend data

.. then:

MinIO resumes in the legacy filesystem (“Standalone”) mode with no erasure-coding features

So our workaround was simply to create the following format.json in /path-to-existing-data/.minio.sys/:

{"version":"1","format":"fs","id":"avoid-going-into-snsd-mode-legacy-is-fine-with-me","fs":{"version":"2"}}

When Minio starts, it recognizes this as "existing" (above), and happily starts in legacy mode! 👍🏻

Related issues:
#15352
#15455
#14331

@funkypenguin
Copy link
Contributor Author

@lachesis this may solve the issue you raised in #15455

@harshavardhana
Copy link
Member

There is no workaround @funkypenguin if you have an existing setup it continues to work. Fresh setups are not allowed - if you manually wish to create your own format.json you are free to do so.

@naisanzaa
Copy link

I wasn't able to find the change log why the filesystem mode was removed. Why was it removed?

@harshavardhana
Copy link
Member

I wasn't able to find the change log why the filesystem mode was removed. Why was it removed?

Architecture decision @naisanzaa we are moving on.

@minio minio locked as resolved and limited conversation to collaborators Jan 30, 2023
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

3 participants