+++ This bug was initially created as a clone of Bug #2079781 +++ Description of problem: When using storage api with filesystem volume mode the size increased for the fs overhead. when trying to clone to block the clone fails because the target is smaller than source. How reproducible: 100% Steps to Reproduce: 1. Create a DV using storage api on filesystem volume mode. 2. Clone the DV with the same size to block. Actual results: clone fails: message: 'Error encountered while creating DataVolumes: Failed to create DataVolume: admission webhook "datavolume-validate.cdi.kubevirt.io" denied the request: target resources requests storage size is smaller than the source' Expected results: Clone should succeed. --- Additional comment from Jenia Peimer on 2022-04-28 12:03:22 UTC --- We have this also in 4.11 --- Additional comment from Bartosz Rybacki on 2022-05-25 12:11:46 UTC --- I am on it. Trying to reproduce. --- Additional comment from Yan Du on 2022-06-22 12:09:03 UTC --- Bartosz, were you able to reproduce? --- Additional comment from Bartosz Rybacki on 2022-06-27 11:45:49 UTC --- Yes, and the test is already automated. This is the first commit in the PR https://github.com/kubevirt/containerized-data-importer/pull/2299. Of course it needs to be backported to correct branch so it targets 4.10
*** This bug has been marked as a duplicate of bug 2084122 ***