Bug 1997384
| Summary: | [RBD] Thin to thick and thick to thin snapshot restore is not supported | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Jilju Joy <jijoy> |
| Component: | csi-driver | Assignee: | Niels de Vos <ndevos> |
| Status: | CLOSED WONTFIX | QA Contact: | Elad <ebenahar> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9 | CC: | asriram, etamir, gshanmug, madam, muagarwa, ndevos, nthomas, ocs-bugs, odf-bz-bot |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | Flags: | etamir:
needinfo?
(asriram) |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-15 05:47:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jilju Joy
2021-08-25 06:24:11 UTC
There are two issues reported in this BZ: 1. restoring thin provisioned volume to a thick provisioned volume 2. restoring thick provisioned volume to a thin provisioned volume Both are currently not supported by Ceph-CSI, and that is intentional. thick-provisioning is only available as Technology Preview, with limited functionality. The main (only?) advantage for thick-provisioning is that accounting of consumed storage is easier than with thin-provisioning. Technically it is possible to implement both features: 1. do not use efficient rbd cloning functionality, but read/write data from snapshot to the new volume 2. run `rbd sparsify` after restoring the snapshot Both solutions are inefficient and will take additional time when restoring snapshots. However, if there is a strong business case for these, we can look into this. At the moment, I am considering to close this as WONTFIX. thick-provisioning will not move out of TechPreview. Performance while creating volumes is not deemed usable. Cluster-wide quotas can protect users from over-allocating better than thick-provisioning can do (as it only can work for RBD volumes). |