-
Notifications
You must be signed in to change notification settings - Fork 123
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
Unable to create SMB PVs - "Already existing volume name with different capacity" #52
Comments
@bogd I have run into this same issue. There are two things happening that I can tell:
To set expectations, I am just a end user of this driver myself, but I am going to see if I can fix both of these issues... |
@xphyr - thank you for your reply!
To be honest, this was a... disappointing experience for me. At first I was happy to see that Synology (unlike other vendors, such as QNAP) has a native CSI provider. But after trying it, this seems half-baked as best:
So in the end, I just gave up on it. I am still using the Synology unit, but simply as an NFS server, with the NFS CSI provisioner on top. It works fine for my purposes (homelab), even with the lack of a quota on the volume. Thank you once again! |
@bogd Thanks for the feedback. I agree there are some big limitations here, and support for this project is spotty at best. There is another CSI driver that supports the synology (https://github.com/democratic-csi/democratic-csi). The democratic-csi driver appears to only support iSCSI at this time, but there may be other things in the works. (I believe the developer of that driver watches this project as well ...) I spent some time looking at this last night, and am working through a bunch of different issues, including upgrading the build chain to a modern version of Go, and merging in some of the other pull requests that are pending here to my fork to see if I can pull together a more stable version of the app. I like to simulate larger arrays for my home lab, and that is why I am trying to get this to work. The SMB is especially interesting to me as I am also working with Windows Containers in K8s, and this driver should be able to supply persistent storage across both Linux and Windows Platforms. Ultimately, I think you may have the right idea just using NFS and the NFS CSI provisioner. Wish me luck. |
…of) which should address SynologyOpenSource#52 * Applied diff from SynologyOpenSource#49 to address SynologyOpenSource#25 * Updated all sidecar containers from the kubernetes-csi project still to do * figure out why having webapi debug on makes the driver work faster than having it off
On a Synology array, the shared folder created on an ext4 volume does not support :
Currently, the synology-csi does not prevent these limitations, leading to unclear error messages. |
this can be fixed using format options in For ext4 fs:
For btrfs fs:
|
I am entirely unable to create SMB PVs . After creating the secret, storage class, and PVC, the PV is never created, and the error below is logged:
However, something does actually get created on the Synology device - if I go to ControlPanel / Shared Folders, I see the k8s-csi-pvc-.... folders. But no corresponding PV shows up on K8s.
The manifests I am using are below:
The text was updated successfully, but these errors were encountered: