Trident Can't re-size PVCs when a manually created clone for the volume exists
Applies to
Trident
Issue
Trident cannot re-size PVCs when a manually created clone for the underlying volume exists.
- Trident will show the correct size of the ONTAP volume:
$ ./tridentctl get volume pvc-68e3ae8d-56c9-4c9c-87eb-ffad5ea0602e -n trident
| NAME | SIZE |
+------------------------------------------+---------+
| pvc-ab77xxxxx-fxxx-4yyy-bxxx-6c1yyyyyyy | 250 GiB |
- The Persistent Volume (PV) and the ONTAP volume size will show the correct re-sized volume.
# kubectl get pv
pvc-ab77xxxxx-fxxx-4yyy-bxxx-6c1yyyyyyyy 250Gi
- The Persistent Volume Claim will show the incorrect volume size.
# kubectl get pvc
pvc_claim_example pvc-ab77xxxxx-fxxx-4yyy-bxxx-6c1yyyyyyy 200Gi
- Viewing the file system from a mount command of the volume, (ie. running 'ls' or 'df' command) will also show the incorrect FileSystem size.