Description of problem: Allocating a single large file on a PVC fails with ENOSPC eventhough nothing else has been written to it. Version-Release number of selected component (if applicable): How reproducible: Create a PVC of 4GiB and allocate a 4GiB file in it. Steps to Reproduce: ( With CNV setup , for example ) 1. create a PVC of size 4GB 2. Create a VM with the above created PVC 3. Actual results: Allocating a single large file on a PVC fails with ENOSPC eventhough nothing else has been written to it. Expected results: It should be possible to allocate a single large file with the size of the requested PVC. A 4GiB PVC should be able to store a 4GiB file. Additional info: https://github.com/heketi/heketi/issues/1424 This issue is not seen when using local storage. A 4GB disk.img file does get created under the local storage path successfully.
More details in https://bugzilla.redhat.com/show_bug.cgi?id=1642302#c44 when disabling the storage.reserve option. Still 33MB of 4GB has been consumed.
This is affecting a common flow with CNV.
(In reply to Fabian Deutsch from comment #3) > This is affecting a common flow with CNV. Irrelevant now for CNV, do we wish to fix this? I think a slight overhead is OK'ish.
I'm in favor of not doing anything no-one is asking for. :-) Setting to WONTFIX and if it turns out it really is needed we can reopen it.