Lets have a practical scenario. A disk box, with iSCSI LUN, which is used by a linux box.
LUN fills up, and is resized on that disk box.
On linux side, lets rescan session, to get updated target size visible:
iscsiadm -m session -R
Lets assume, the partition is plain ext4 and available as /dev/sde1
Parted should detect disk size update and notify about it
Warning: Not all of the space available to /dev/sde appears to be used, you can fix the GPT to use all of the space… Read the rest
(an extra 2147483648 blocks) or continue with the current setting?