> root@melon:~# fdisk -l
> Disk /dev/sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
[...]
> GPT PMBR size mismatch (234441647 != 468862127) will be corrected by write.
> The backup GPT table is corrupt, but the primary appears OK, so that will
> be used.
> The backup GPT table is not on the end of the device.
[...]
> Disk /dev/sdg: 223.57 GiB, 240057409536 bytes, 468862128 sectors
[...]
> I always thought the GPT error message was about the small OS drive but
> I disconnected the 3TB drive and commented out its fstab entry and rebooted

The GPT partitioning format keeps 2 copies of the table of partitions: one
at the beginning of the drive and one at the end, and also the info it
keeps includes the size of the drive.  So when you clone to
a differently-sized drive, the 2nd (aka "backup") is inevitably
lost/misplaced.  This is normal.

Notice how the "size mismatch (234441647 != 468862127)" mentions exactly
(well, off-by-one) the sizes of your two drives.


=== Stefan

Reply via email to