SynologyOpenSource / synology-csi

Apache License 2.0
529 stars 115 forks source link

Enable volume stats and use statfs to report more accurate LUN usage #68

Closed vaskozl closed 1 year ago

vaskozl commented 1 year ago

Addresses https://github.com/SynologyOpenSource/synology-csi/issues/51

Enables reporting the volume stats capability.

In the case iscsi LUNs use statfs to report accurate disk usage from the perspective of the client. Otherwise LUNs provisioned with discard appear immediately full and storage is never reclaimed.