Error after increasing the XFS file system Disk.
[root@linuxraja ~]# fdisk -l
GPT PMBR size mismatch (52428799 != 104857599) will be corrected by w(rite).
Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
……………………………
[root@linuxraja ~]# fdisk /dev/sda
Welcome to fdisk (util-linux 2.30.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
GPT PMBR size mismatch (52428799 != 104857599) will be corrected by w(rite).
GPT PMBR size mismatch (52428799 != 104857599) will be corrected by w(rite).
…………………..
You need to fix by re-creating gpt disklabel:
- start
fdisk
p
to display current partitionsg
to create a new gpt disklabeln
to add each partition that was previously on this disk. ForFirst sector
andLast sector
, enter the values outputted by the earlierp
command. Do not remove partition signatures.w