SynologyOpenSource / synology-csi

Apache License 2.0
466 stars 96 forks source link

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

Closed vaskozl closed 8 months ago

vaskozl commented 8 months 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.