Increasing the size of Persistent Volume connected to Red Hat OpneShift fails with the following error:
volume: ########-####-####-a834-##########28 with existing snapshots [size_bytes:53687091200 snapshot_id:"########-####-####-a834-##########28+########-####-####-ab52-##########2f" source_volume_id:"########-####-####-a834-##########28" creation_time:<seconds:1717251963 nanos:384999000 > ready_to_use:true size_bytes:53687091200 snapshot_id:"########-####-####-a834-##########28+########-####-####-b4f8-##########30" source_volume_id:"########-####-####-a834-##########28" creation_time:<seconds:1717337094 nanos:899999000 > ready_to_use:true size_bytes:53687091200 snapshot_id:"########-####-####-a834-##########28+########-####-####-bc91-##########25" source_volume_id:"########-####-####-a834-##########28" creation_time:<seconds:1717509560 nanos:32000000 > ready_to_use:true ] cannot be expanded. Please delete snapshots before expanding the volume
VMware vCenter Server 7.x
VMware vCenter Server 8.x
vSphere ESXi 7.x
vSphere ESXi 8.x
# /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
VCDB=# select * from cns.vpx_storage_snapshot_info where volume_id = '
;########-####-####-a834-##########28'
-[ RECORD 22 ]----+----------------------------------------------------------------------------------
snapshot_id |
########-####-####-bc91-##########25
volume_id |
########-####-####-a834-##########28
disk_path |
backing_object_id |
create_time | 2024-06-04 13:59:20.032
description | snapshot-
8a4b-########-####-####-
a8-##########
########-####-####-a834-##########28
------------------------+-----------------------------------------------------------------------------
-[ RECORD 24 ]----+-----------------------------------------------------------------------------------
snapshot_id |
########-####-####-b4f8-##########30
volume_id |
########-####-####-a834-##########28
disk_path |
backing_object_id |
create_time | 2024-06-02 14:04:54.9
description | snapshot-
9be8-########-####-####-
9a-##########
########-####-####-a834-##########28
------------------------+-----------------------------------------------------------------------------
-[ RECORD 25 ]----+-----------------------------------------------------------------------------------
snapshot_id |
########-####-####-ab52-##########2f
volume_id |
########-####-####-a834-##########28
disk_path |
backing_object_id |
create_time | 2024-06-01 14:26:03.385
description | snapshot-
810d-########-####-####-
7e-##########
########-####-####-a834-##########28
------------------------+------------------------------------------------------------------------------
########-####-####-a834-##########28
VCDB=# delete from cns.vpx_storage_snapshot_info where
snapshot_id
= '########-####-####-ab52-##########2f
;'
VCDB=# select * from cns.vpx_storage_snapshot_info where volume_id = '
;########-####-####-a834-##########28'