GPT PMBR size mismatch

GPT PMBR size mismatch (41943039 != 262143999) will be corrected by write.
The backup GPT table is not on the end of the device. This problem will be corrected by write

While doing fdisk on server was getting the error mentioned above

The solution to this issue was to use command parted -l

[root@db ~]# parted -l
Warning: Not all of the space available to /dev/vda appears to be used, you can
fix the GPT to use all of the space (an extra 220200960 blocks) or continue with
the current setting?
Fix/Ignore? fix
Model: Virtio Block Device (virtblk)
Disk /dev/vda: 134GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 13.1GB 13.1GB ext4 Linux filesystem
2 13.1GB 21.5GB 8388MB linux-swap(v1) Linux swap swap

Rebooting the VM after this fixed the issue