-
Notifications
You must be signed in to change notification settings - Fork 7
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
NFS Export with xfs filesystem #20
Comments
Hi, thanks for the report! I agree that this is not very intuitive, but this is actually the intended behavior. Because we set the This is why, currently, only ext4 is supported (and I could have sworn that this fact is documented somewhere...) Since linstor-gateway explicitly sets the I'll close this issue, but I'll try to figure out a way to more clearly hint the user towards this fact. Of course, if you have an idea on how to implement the same logic for xfs, we are all ears 🙂 |
Hi, thanks for the technical explanation! I followed the official doc at https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-linstor-gateway-create-nfs Here are the points that I think need improvement:
Moreover, if the linstor API is secured by an ssl certificate, we have not found a way to pass the client certificate in the linstor-gateway configuration... I will report an issue on this point with a hack (haproxy) Instead of closing bug reports, could you classify them as improvements? |
I fully agree with the first two points. Especially the fact that you can only create one NFS export is a big pain point IMO, and we are working with the LINSTOR team to find solutions to improve this. Regarding the systemd version: this is an upstream "issue" in drbd-reactor, but the ExecCondition warning can safely be ignored; it is not required for its operation. The oldest systemd version where I have personally successfully run linstor-gateway is 219. I'm not exactly sure what you mean by the last two points... Could you elaborate? LINSTOR should automatically create these directories. That is an interesting point regarding the SSL certificate; I will play around with that. Not many people use that LINSTOR feature, so it has never come up. Sorry if closing the issue came across as dismissive. We are definitely working on improving these areas; I just don't like having many issues open for things that are not currently planned. Yesterday I actually thought of another route we could take in order to possibly support XFS NFS shares, so I guess we can reopen this issue as a reminder. |
We use the linstor-gateway go binaries and we have to manually create the directories for ocf* service to start |
Do these same limitations apply to zfs? I was really hoping to use the linstor gateway to just export a zfs dataset that is being replicated using drbd. |
Hi,
With this configuration
linstor-gateway generate a drbd-reactor config file for an ext4 filesystem:
with FileSystem/Type ext4 setting all are fine
The text was updated successfully, but these errors were encountered: