Description of problem: We have had a few instances where we have filled up a PV and wanted to grow it instead of creating a new larger PV and copying data off of the existing smaller one. To do this, I resized the underlying EBS volume to a larger size, and then I "oc rsh" into the pod where the PV is mounted and run "resize2fs <mountpoint of the PV>" . This works fine and the pod can now access the additional storage. However, OpenShift is unaware that the volume has changed size and an "oc get pvc <name of PVC>" returns the size of the PV when it was first created, not its current size. It would be helpful for the reported PV size to be updated when the underlying volume changes size, especially since those values can have an impact on any clusterresourcequotas limiting requests.storage that may be in place on a cluster. Version-Release number of selected component (if applicable): oc v3.4.1.18 kubernetes v1.4.0+776c994 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Master Log: Node Log (of failed PODs): PV Dump: PVC Dump: StorageClass Dump (if StorageClass used by PV/PVC): Additional info:
The behavior reported is expected. We have an RFE to change this here: https://trello.com/c/WC1urO9c/138-5-create-design-proposal-in-order-to-provide-a-means-to-increase-the-storage-capacity-of-a-pv-openshift-onlineops-rfe-resize And we would LOVE more specific use cases for the RFE. Do you have access to trello such that you could leave comments on the card directly? If so i'll close out the bug, if not i'll leave it open (but low priority so it doesn't block)..
Bradley, Thanks for your response. I do have access to that trello card. I will add our use case there. Thanks!