I was asked this week how easy it would be to expand a 2TB pvc in a 3 replica set mongodb cluster. We have used the OpenEBS local pv storageclass, and I’ve edited our custom storageclass to add allowVolumeExpansion: true in our test setup, and then altered one of the existing pvc’s to increase it’s size,
It would appear however that volume expansion is not included in that storageclass, judging by the error recorded and the lack of expansion messages (I’m using the article about expansion without downtime)
So two questions. First, do you have a preferred OpenEBS local pv storageclass that allows expansion (LVM local PV perhaps, which I’ll be testing later)
Second - is there a way of expanding a local pvc, or is it a replacement only option. The drives in question are 14 TB hdd, so we don’t need NVMe support or anything fancy
Any advice much appreciated.