Re: [Gptfdisk-general] verify disk should warn if gpt table ends before end of disk
Brought to you by:
srs5694
From: Christoph B. <sou...@ma...> - 2025-02-15 18:49:20
|
Martin Castillo wrote... > I transitioned to a new, bigger storage medium by simply dd(1)ing it. To avoid your situation, I'd rather gdisk's partition replication feature and then either dd the data by partition, or use the applicable tooling. The latter may be done online and can be a lot faster (almost empty LVM physical volume), no difference but more robust (mdadm), or a lot slower (ZFS). This also avoids a lot of trouble if UUIDs exist twice. Still, I consider your report legitimate as this situation may be caused be other means. > When I tried to increase the last partition, it was not possible. No free > space at the end was shown. > > "verify disk" did not mention any problems around that. > I write this mail because I think it would be useful, if this condition > would be mentioned. Indeed. Today, I came across the same situation, using the sfdisk from the coreutils, though. The report is in the Debian bug tracker at https://bugs.debian.org/1096072 > Using the expert command e fixes this. 'v' could recommend that. Thanks for that one, I feared I had to poke the partition table using sfdisk scripts. Christoph |