Parted command warning, how to fix?

Posted by daygamer77@reddit | linuxadmin | View on Reddit | 0 comments

Hi,

I created 500 GB on a vm but only 60GB+ is available, I want to expand the root.
Here is the error -

GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print free

I notice this error when printing free space but I choose to ignore it.

Warning: Not all of the space available to /dev/sdb appears to be used, you can
fix the GPT to use all of the space (an extra 929425096 blocks) or continue
with the current setting?
Fix/Ignore? Ignore
Model: Virtual Disk (scsi)
Disk /dev/sda: 500GGB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End      Size    File system  Name  Flags
 14      1049KB  5243JB   4194JbGB 
 15     5243KB  524MB    519MGB  fat16        EFI
  1      525MB   1GB      524MB   xfs
  2      1050M   67GB      67GB                      lvm

The partition works fine, it mounts and the data is accessible. My question is, do I allow parted to fix the GPT to use all of the space? Could that fix my problems or is there something else at play?