Parted

From DWIKI

Partition manager

Docs

FAQ

Grow last partition to max

parted /dev/sdd resizepart 2 100%

parted /dev/sda resizepart 3 100% Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 41943040 blocks) or continue with the current setting? Fix/Ignore

Ignore wil just mean "give up"? Fix is what you want