-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Having thought about it over lunch, I think I see what is going on here now. gpt-header-munge is broken and writes the backup to an offset of 2gb rather than 20mb, extending the "disk". But LastUsableLba still says it's 20mb. This caused parted to complain that the backup was in the wrong place.
Parted is correct here: the backup *is* in the wrong place, since it is at the end of where *we* think the disk is rather than where the header thinks it is. I changed the code to be this way in the first place so that this complaint would not be triggered by growing a disk, leaving both the LastUableLba and backup locations unchanged. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTNFgDAAoJEI5FoCIzSKrwFmwH/1cXVkFUlJzQTEYnKKraaq90 9x8uhUpvfTRHwBVoOBTqBxawNZ0WrzDaMqUwE6k1S25JltpuVLarAOYSNXWj1WCd tHDpzgo6XwYmpTF+TqHbiBxnFCIBOC+ncUEMa9isFKgx2SsGdnoBbNxSN9bmZebB l00bK7vHKI8NaPt7mWcOR4KcgVo4dNMpbSRXtCwCZMyzonh//d6Qs1kR8wTWMHYd uM12baAUkMizKskmA2ucLe0jvwCgRnUqI3elEEUumTICG57EP17vNElka8MfF3RC JNcT9YzI/OE8oBZa3KwJzaO2VPSxDR9m5cmjaAL95oOtCkqaQoCARj2INdjvROo= =BPT4 -----END PGP SIGNATURE-----