SynologyOpenSource / synology-csi

Apache License 2.0
527 stars 114 forks source link

How could I set the enable_recycle_bin and enable_share_cow parameter values when using SMB Storage #87

Open LouisGuo opened 3 months ago

LouisGuo commented 3 months ago

"enable_recycle_bin":false, "enable_share_cow":true,

without the file checksum feature, my database deployment report CorruptIndexException[checksum failed (hardware problem?) : expected=7a1cdc6d actual=fb7d4e0f

chihyuwu commented 3 months ago

Hi @LouisGuo, Currently, these parameters cannot be customized through the StorageClass. Their default values are:

If you want to set "enable_share_cow" (Enable data checksum), you can build your own synology-csi, or manually create a new shared folder in DSM and mount it as a PV in your Kubernetes environment.

LouisGuo commented 3 months ago

Hi @LouisGuo, Currently, these parameters cannot be customized through the StorageClass. Their default values are:

  • "enable_recycle_bin": true -- This can be disabled in DSM > Control Panel > Shared Folder.
  • "enable_share_cow": false -- This can only be enabled during the shared folder creation process and cannot be modified once the shared folder has been created.

If you want to set "enable_share_cow" (Enable data checksum), you can build your own synology-csi, or manually create a new shared folder in DSM and mount it as a PV in your Kubernetes environment.

Thank you, way two solved my problem