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

Compatibility with TrueNas Core v12 #46

Open
freenetbrasil opened this issue Aug 22, 2020 · 2 comments
Open

Compatibility with TrueNas Core v12 #46

freenetbrasil opened this issue Aug 22, 2020 · 2 comments

Comments

@freenetbrasil
Copy link

Great work! Are there any plans on supporting the v2 api of TrueNas?

@travisghansen
Copy link
Collaborator

The project over here supports it: https://github.com/democratic-csi/democratic-csi

But there are differences between the projects. The above is more generic and is a full blown csi driver vs the older non-csi stuff (what this project is). And also to avoid the crazy incompatibilities of the freenas api (and to gain far more control over operations generally) the zfs operations are actually performed over ssh instead of using the freenas api. However, the calls that do use the api can leverage both v1 or v2 per a configuration option.

Also, eu falo portugues :)

@travisghansen
Copy link
Collaborator

As an FYI, it you started out using this project and wanted to update your NAS (to a version that only supports the v2 api) but had already created some volumes, I've now implemented a migration script for volumes created with the non-csi drivers (ie: this project, and the iscsi project) to democratic-csi.

It takes a bit of time but I've successfully migrated ~100 volumes in several clusters.

https://github.com/democratic-csi/democratic-csi/blob/master/contrib/freenas-provisioner-to-democratic-csi.sh

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

No branches or pull requests

2 participants