Bug 1906391
| Summary: | [Cinder CSI driver] Mounted volume using small size when cloning a larger size pvc | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wei Duan <wduan> |
| Component: | Storage | Assignee: | Mike Fedosin <mfedosin> |
| Storage sub component: | OpenStack CSI Drivers | QA Contact: | Wei Duan <wduan> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, m.andre, pprinett |
| Version: | 4.7 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| 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-03-24 16:23:07 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
Wei Duan
2020-12-10 12:19:23 UTC
From bug triage: We need more info to understand the issue. What is the expected behaviour? How is the behaviour different than with the in-tree driver? Can you provide more details on the commands / yaml files you used so that we can reproduce? Thanks! Sorry I missed the "needinfo" When I clone origin volume(2G) with large size(4G), we would like: 1. cloned pvc is 4G mypvc-clone Bound pvc-b02e301c-69c4-4d9c-a71d-1317cad030bc 4Gi RWO standard-csi 41m -> expected 2. attached device size is 4G # lsblk | grep pvc-b02e301c-69c4-4d9c-a71d-1317cad030bc/globalmount vdc 252:32 0 4G 0 disk /var/lib/kubelet/pods/20d1d6bc-251b-4dd2-8b63-41dff74ac79e/volumes/kubernetes.io~csi/pvc-b02e301c-69c4-4d9c-a71d-1317cad030bc/m -> expected 3. Filesystem size should be 4G / # df -h | grep /mnt/local /dev/vdc 1.9G 6.0M 1.9G 0% /mnt/local -> not expexted Finally, the filesystem size is what we care about. *** This bug has been marked as a duplicate of bug 1919291 *** |